openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSSEM_INFOPROV_READ_RFC_2:
    post:
      tags:
      - RSSEM2
      operationId: /rfc/RSSEM_INFOPROV_READ_RFC_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
                  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
                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_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
                  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:
                - C_FIRST_CALL
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
