openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_RFC_IPROV_HRY_READPACK:
    post:
      tags:
      - RSSEM_RFC_INFOPROV
      operationId: /rfc/RSSEM_RFC_IPROV_HRY_READPACK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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
                E_T_MESSAGE:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                I_T_HIENODE:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      HIENM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      RETURNLEVEL:
                        type: integer
                        format: int32
                        description: Level difference of return level for NODELEVEL
                I_T_HIENODENAME:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      HIENM:
                        type: string
                        maxLength: 30
                        description: Hierarchy name
                      VERSION:
                        type: string
                        maxLength: 3
                        description: Hierarchy version
                      DATETO:
                        type: string
                        format: date
                        description: Valid-to date
                      NODEID:
                        type: integer
                        format: int64
                        description: Internal ID number of a hierarchy node
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: InfoObject
                      CHAVALUE:
                        type: string
                        maxLength: 60
                        description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                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:
                  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
                I_T_SHFC:
                  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_PACKAGESIZE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_PACKAGES:
                    type: integer
                    format: int64
                  E_T_MESSAGE:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  I_T_HIENODE:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        HIENM:
                          type: string
                          maxLength: 30
                          description: Hierarchy name
                        VERSION:
                          type: string
                          maxLength: 3
                          description: Hierarchy version
                        DATETO:
                          type: string
                          format: date
                          description: Valid-to date
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        RETURNLEVEL:
                          type: integer
                          format: int32
                          description: Level difference of return level for NODELEVEL
                  I_T_HIENODENAME:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        HIENM:
                          type: string
                          maxLength: 30
                          description: Hierarchy name
                        VERSION:
                          type: string
                          maxLength: 3
                          description: Hierarchy version
                        DATETO:
                          type: string
                          format: date
                          description: Valid-to date
                        NODEID:
                          type: integer
                          format: int64
                          description: Internal ID number of a hierarchy node
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: InfoObject
                        CHAVALUE:
                          type: string
                          maxLength: 60
                          description: Characteristic Value (Length is 60 for RFC; Do Not Change)
                  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:
                    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
                  I_T_SHFC:
                    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.
