openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/AKB_GET_SCRIPT:
    post:
      tags:
      - PA_AKB_PRODUCTS
      operationId: /rfc/AKB_GET_SCRIPT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NAME:
                  type: string
                  maxLength: 40
                RFCDEST:
                  type: string
                  maxLength: 32
              required:
              - NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ATTRIBUTES:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      CHUSER:
                        type: string
                        maxLength: 12
                        description: Last Changed by
                      CHDATE:
                        type: string
                        format: date
                        description: Date of Last Change
                      CHTIME:
                        type: string
                        maxLength: 6
                        description: Last changed at
                      DESCR:
                        type: string
                        maxLength: 80
                        description: Comments
                  SCRIPT:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        STEP:
                          type: integer
                          format: int32
                          description: Natural number
                        INFO_TYPE:
                          type: string
                          maxLength: 1
                          description: Type of Script Entry
                        SELNAME:
                          type: string
                          maxLength: 8
                          description: 'ABAP/4: Name of SELECT-OPTION / PARAMETER'
                        BREAKPOINT:
                          type: string
                          maxLength: 1
                          description: General Flag
                        KIND:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Type of selection'
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        SCR_OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'ABAP/4: Selection value (LOW or HIGH value, external format)'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
