openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_RFC_IPROV_HRY_READPACK_2:
    post:
      tags:
      - RSSEM_RFC_INFOPROV
      operationId: /rfc/RSSEM_RFC_IPROV_HRY_READPACK_2
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IX_ADD_INFO:
                  type: string
                  format: byte
                IX_SELDR:
                  type: string
                  format: byte
                I_AUTHORITY_CHECK:
                  type: string
                  default: RSDRC_C_AUTHCHK-READ
                  maxLength: 1
                I_ID:
                  type: string
                  maxLength: 22
                I_INFOPROV:
                  type: string
                  maxLength: 30
                I_KEYDATE:
                  type: string
                  format: date
                  default: SY-DATUM
                I_PACKAGESIZE:
                  type: integer
                  format: int32
                I_T_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_T_SFC_MOD:
                  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
                I_T_SFK:
                  type: array
                  items:
                    type: object
                    properties:
                      KYFNM:
                        type: string
                        maxLength: 30
                        description: Key figure
                      KYFALIAS:
                        type: string
                        maxLength: 18
                        description: BW-DM field alias (cannot be longer than 18)
                      AGGR:
                        type: string
                        maxLength: 3
                        description: Usual aggregation
              required:
              - IX_ADD_INFO
              - IX_SELDR
              - I_ID
              - I_INFOPROV
              - I_PACKAGESIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_PACKAGES:
                    type: integer
                    format: int64
                  I_T_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_T_SFC_MOD:
                    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
                  I_T_SFK:
                    type: array
                    items:
                      type: object
                      properties:
                        KYFNM:
                          type: string
                          maxLength: 30
                          description: Key figure
                        KYFALIAS:
                          type: string
                          maxLength: 18
                          description: BW-DM field alias (cannot be longer than 18)
                        AGGR:
                          type: string
                          maxLength: 3
                          description: Usual aggregation
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
