openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_BA_RFC_INFOPROV_READPACK:
    post:
      tags:
      - RS_BA_RFC_INFOPROV
      operationId: /rfc/RS_BA_RFC_INFOPROV_READPACK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_ID:
                  type: string
                  maxLength: 32
                I_INFOPROV:
                  type: string
                  maxLength: 30
                I_PACKAGE_SIZE:
                  type: integer
                  format: int32
                I_REFERENCE_DATE:
                  type: string
                  format: date
                I_TAB_CHAR_RANGE:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      SIGN:
                        type: string
                        maxLength: 1
                        description: SIGN field in creation of SELECT-OPTIONS tables
                      COMPOP:
                        type: string
                        maxLength: 2
                        description: Comparison Operator (Enhancement RSZ_OPERATOR)
                      LOW:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                      HIGH:
                        type: string
                        maxLength: 60
                        description: 'Dim: Field for a User-Defined Characteristic Value'
                I_TAB_CHAR_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      CHAALIAS:
                        type: string
                        maxLength: 18
                        description: BW-DM field alias (cannot be longer than 18)
                      ORDERBY:
                        type: integer
                        format: int32
                        description: Desired Sort Sequence of Data
              required:
              - I_ID
              - I_INFOPROV
              - I_PACKAGE_SIZE
              - I_REFERENCE_DATE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_PACKAGES:
                    type: integer
                    format: int64
                  I_TAB_CHAR_RANGE:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        SIGN:
                          type: string
                          maxLength: 1
                          description: SIGN field in creation of SELECT-OPTIONS tables
                        COMPOP:
                          type: string
                          maxLength: 2
                          description: Comparison Operator (Enhancement RSZ_OPERATOR)
                        LOW:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                        HIGH:
                          type: string
                          maxLength: 60
                          description: 'Dim: Field for a User-Defined Characteristic Value'
                  I_TAB_CHAR_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        CHAALIAS:
                          type: string
                          maxLength: 18
                          description: BW-DM field alias (cannot be longer than 18)
                        ORDERBY:
                          type: integer
                          format: int32
                          description: Desired Sort Sequence of Data
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
