openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSDPL_CUBE_DATA_READ:
    post:
      tags:
      - RSDPL
      summary: 'DM-API: Read Transaction Data of a Cube'
      operationId: /rfc/RSDPL_CUBE_DATA_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_INFOCUBE:
                  type: string
                  maxLength: 30
                  description: InfoCube
                I_REFERENCE_DATE:
                  type: string
                  format: date
                  description: Key Date
                I_S_DELTAMODE:
                  type: object
                  properties:
                    SYSID:
                      type: string
                      maxLength: 5
                      description: 'DM API: Logical system ID'
                    DELTAMODE:
                      type: string
                      maxLength: 1
                      description: 'DM API: Transfer mode'
                I_S_RFCMODE:
                  type: object
                  properties:
                    ID:
                      type: string
                      maxLength: 10
                      description: Logical identifier
                    RFC_RECEIVER:
                      type: string
                      maxLength: 30
                      description: Received RFC-capable ABAP function name
                    PACKAGESIZE:
                      type: integer
                      format: int32
                      description: Package Size
                E_T_COLUMN:
                  type: array
                  items:
                    type: object
                    properties:
                      COLNAME:
                        type: string
                        maxLength: 30
                        description: 'DM API: Table column / field name'
                      IOBJNAME:
                        type: string
                        maxLength: 30
                        description: 'DM API: InfoObject name'
                      KEYFLAG:
                        type: string
                        maxLength: 1
                        description: Boolean
                I_T_CHA:
                  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_KYF:
                  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_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: Operator in Select Options and other Expressions
                      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'
              required:
              - I_INFOCUBE
              - I_REFERENCE_DATE
              - I_S_DELTAMODE
              - I_S_RFCMODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_TABLENAME:
                    type: string
                    maxLength: 30
                    description: 'DM API: Table Name'
                  E_T_COLUMN:
                    type: array
                    items:
                      type: object
                      properties:
                        COLNAME:
                          type: string
                          maxLength: 30
                          description: 'DM API: Table column / field name'
                        IOBJNAME:
                          type: string
                          maxLength: 30
                          description: 'DM API: InfoObject name'
                        KEYFLAG:
                          type: string
                          maxLength: 1
                          description: Boolean
                  I_T_CHA:
                    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_KYF:
                    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_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: Operator in Select Options and other Expressions
                        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'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
