openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_INFOPROV_READ_RFC:
    post:
      tags:
      - RSSEM2
      operationId: /rfc/RSSEM_INFOPROV_READ_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_AUTHORITY_CHECK:
                  type: string
                  maxLength: 1
                I_CALLER:
                  type: string
                  default: RSDRS_C_CALLER-RSDRI
                  maxLength: 1
                I_INFOPROV:
                  type: string
                  maxLength: 30
                I_KEYDATE:
                  type: string
                  format: date
                  default: SY-DATUM
                I_PACKAGESIZE:
                  type: integer
                  format: int32
                  default: -1
                I_USE_AGGREGATES:
                  type: string
                  maxLength: 1
                C_FIRST_CALL:
                  type: string
                  maxLength: 1
                E_T_HIENODE:
                  type: array
                  items:
                    type: object
                    properties:
                      CHANM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      HID:
                        type: integer
                        format: int32
                        description: SID for Hierarchy ID
                      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
                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_INFOPROV
              - C_FIRST_CALL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_END_OF_DATA:
                    type: string
                    maxLength: 1
                  E_RFCDATA_UC:
                    type: string
                    format: byte
                  C_FIRST_CALL:
                    type: string
                    maxLength: 1
                  E_T_HIENODE:
                    type: array
                    items:
                      type: object
                      properties:
                        CHANM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        HID:
                          type: integer
                          format: int32
                          description: SID for Hierarchy ID
                        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
                  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:
                - C_FIRST_CALL
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
