openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCRMBW_REPORT:
    post:
      tags:
      - RSCRMBW
      operationId: /rfc/RSCRMBW_REPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BATCHID:
                  type: string
                  maxLength: 32
                I_BATCH_DATE:
                  type: string
                  format: date
                I_BATCH_TIME:
                  type: string
                  maxLength: 6
                I_CHECK_MEMBERS:
                  type: string
                  default: X
                  maxLength: 1
                I_CLEAREXTRACT:
                  type: string
                  default: X
                  maxLength: 1
                I_DESTINATION:
                  type: string
                  maxLength: 32
                I_EXECMODE:
                  type: string
                  default: ONLINE
                  maxLength: 8
                I_EXTRACT:
                  type: string
                  maxLength: 30
                I_FUNCNAME:
                  type: string
                  maxLength: 30
                I_GET_CMP_VALUES:
                  type: string
                  default: ' '
                  maxLength: 1
                I_GET_TEXTS:
                  type: string
                  default: ' '
                  maxLength: 1
                I_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                I_MODE:
                  type: string
                  maxLength: 8
                I_NO_BATCH:
                  type: string
                  maxLength: 1
                I_OVERWRITE:
                  type: string
                  default: ' '
                  maxLength: 1
                I_PACKSIZE:
                  type: integer
                  format: int64
                I_PATH:
                  type: string
                  maxLength: 75
                I_REPAIR_VIEW:
                  type: string
                  default: ' '
                  maxLength: 1
                I_REPEAT:
                  type: string
                  default: ' '
                  maxLength: 1
                I_REPNAME:
                  type: string
                  maxLength: 20
                I_REPORTUID:
                  type: string
                  maxLength: 72
                I_REPTXT:
                  type: string
                  maxLength: 60
                I_SAVE_AS:
                  type: string
                  default: ' '
                  maxLength: 1
                I_SEPARATOR:
                  type: string
                  default: ;
                  maxLength: 1
                I_SPLIT:
                  type: string
                  default: ' '
                  maxLength: 30
                I_UNIQUECHECK:
                  type: string
                  maxLength: 1
                I_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                I_USE_OLAP:
                  type: string
                  maxLength: 1
                I_VIEWID:
                  type: string
                  maxLength: 30
                E_T_AXIS:
                  type: array
                  items:
                    type: object
                    properties:
                      AXIS:
                        type: integer
                        format: int64
                        description: Zero-Based Number of Axes in Data Set
                      TUPLE:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis tuple'
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: Characteristic
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Member Name
                      MEM_CAP:
                        type: string
                        maxLength: 60
                        description: Description (caption)
                E_T_AXIS_V2:
                  type: array
                  items:
                    type: object
                    properties:
                      AXIS:
                        type: integer
                        format: int64
                        description: Zero-Based Number of Axes in Data Set
                      TUPLE:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis Tuple'
                      DIM_POSIT:
                        type: integer
                        format: int64
                        description: Position of the Field in the Structure / Table
                      ATTR_POSIT:
                        type: integer
                        format: int64
                        description: Position of the Field in the Structure / Table
                      MEM_KEY:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis Tuple'
                E_T_CELL:
                  type: array
                  items:
                    type: object
                    properties:
                      AXIS0:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis tuple'
                      AXIS1:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis tuple'
                      AXIS2:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis tuple'
                      AXIS3:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis tuple'
                      AXIS4:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis tuple'
                      IOBJNM:
                        type: string
                        maxLength: 30
                        description: Key figure
                      VALUE:
                        type: string
                        maxLength: 22
                        description: String Representation of a Float Number
                      FORMATTED_VALUE:
                        type: string
                        maxLength: 40
                        description: Formatted value of a cell
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      UNIT:
                        type: string
                        maxLength: 3
                        description: Unit key
                      INVALID:
                        type: string
                        maxLength: 1
                        description: 'Invalidity of a Key Figure Value  enumValues: D=Invalid - Division by 0,""=Valid,X=Invalid (Unspecified),E=Invalid - Does not exist,A=Invalid - No Authorization,O=Invalid - Overflow,M=Invalid - Mixed Value (Currencies)'
                        enum:
                        - D
                        - ''
                        - X
                        - E
                        - A
                        - O
                        - M
                E_T_CELL_V2:
                  type: array
                  items:
                    type: object
                    properties:
                      AXIS0:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis Tuple'
                      AXIS1:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis Tuple'
                      VALUE:
                        type: string
                        maxLength: 22
                        description: String Representation of a Float Number
                      VALUEDESCR:
                        type: string
                        maxLength: 40
                        description: Formatted value of a cell
                      CURRENCY:
                        type: string
                        maxLength: 5
                        description: Currency Key
                      UNIT:
                        type: string
                        maxLength: 3
                        description: Unit key
                E_T_COUNT:
                  type: array
                  items:
                    type: object
                    properties:
                      AXIS:
                        type: integer
                        format: int64
                        description: Zero-Based Number of Axes in Data Set
                      DIMS:
                        type: integer
                        format: int64
                        description: Counter for number of dimensions on an axis
                      COORDINATES:
                        type: integer
                        format: int64
                        description: Zero-based counter for number of coordinates on an axis
                E_T_MDX:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 75
                        description: mdx command text
                E_T_MEMVAL_V2:
                  type: array
                  items:
                    type: object
                    properties:
                      MEM_KEY:
                        type: integer
                        format: int64
                        description: 'RSCRM: Axis Tuple'
                      VALUE:
                        type: string
                        maxLength: 64
                        description: Member Name
                      VALUEDESCR:
                        type: string
                        maxLength: 60
                        description: Description (caption)
                E_T_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                      ID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      NUMBER:
                        type: integer
                        format: int64
                        description: Message Number
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
                      LOG_NO:
                        type: string
                        maxLength: 20
                        description: 'Application log: log number'
                      LOG_MSG_NO:
                        type: integer
                        format: int64
                        description: 'Application log: Internal message serial number'
                      MESSAGE_V1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MESSAGE_V4:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      PARAMETER:
                        type: string
                        maxLength: 32
                        description: Parameter Name
                      ROW:
                        type: integer
                        format: int32
                        description: Lines in parameter
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field in parameter
                      SYSTEM:
                        type: string
                        maxLength: 10
                        description: Logical system from which message originates
              required:
              - I_MODE
              - I_REPORTUID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_BATCHID:
                    type: string
                    maxLength: 32
                  E_CUBENAME:
                    type: string
                    maxLength: 70
                  E_DONE:
                    type: string
                    maxLength: 1
                  E_JOBCOUNT:
                    type: string
                    maxLength: 8
                  E_JOBNAME:
                    type: string
                    maxLength: 32
                  E_REPORTUID:
                    type: string
                    maxLength: 72
                  E_T_AXIS:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        TUPLE:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis tuple'
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: Characteristic
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Member Name
                        MEM_CAP:
                          type: string
                          maxLength: 60
                          description: Description (caption)
                  E_T_AXIS_V2:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        TUPLE:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis Tuple'
                        DIM_POSIT:
                          type: integer
                          format: int64
                          description: Position of the Field in the Structure / Table
                        ATTR_POSIT:
                          type: integer
                          format: int64
                          description: Position of the Field in the Structure / Table
                        MEM_KEY:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis Tuple'
                  E_T_CELL:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS0:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis tuple'
                        AXIS1:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis tuple'
                        AXIS2:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis tuple'
                        AXIS3:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis tuple'
                        AXIS4:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis tuple'
                        IOBJNM:
                          type: string
                          maxLength: 30
                          description: Key figure
                        VALUE:
                          type: string
                          maxLength: 22
                          description: String Representation of a Float Number
                        FORMATTED_VALUE:
                          type: string
                          maxLength: 40
                          description: Formatted value of a cell
                        CURRENCY:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        UNIT:
                          type: string
                          maxLength: 3
                          description: Unit key
                        INVALID:
                          type: string
                          maxLength: 1
                          description: 'Invalidity of a Key Figure Value  enumValues: D=Invalid - Division by 0,""=Valid,X=Invalid (Unspecified),E=Invalid - Does not exist,A=Invalid - No Authorization,O=Invalid - Overflow,M=Invalid - Mixed Value (Currencies)'
                          enum:
                          - D
                          - ''
                          - X
                          - E
                          - A
                          - O
                          - M
                  E_T_CELL_V2:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS0:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis Tuple'
                        AXIS1:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis Tuple'
                        VALUE:
                          type: string
                          maxLength: 22
                          description: String Representation of a Float Number
                        VALUEDESCR:
                          type: string
                          maxLength: 40
                          description: Formatted value of a cell
                        CURRENCY:
                          type: string
                          maxLength: 5
                          description: Currency Key
                        UNIT:
                          type: string
                          maxLength: 3
                          description: Unit key
                  E_T_COUNT:
                    type: array
                    items:
                      type: object
                      properties:
                        AXIS:
                          type: integer
                          format: int64
                          description: Zero-Based Number of Axes in Data Set
                        DIMS:
                          type: integer
                          format: int64
                          description: Counter for number of dimensions on an axis
                        COORDINATES:
                          type: integer
                          format: int64
                          description: Zero-based counter for number of coordinates on an axis
                  E_T_MDX:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 75
                          description: mdx command text
                  E_T_MEMVAL_V2:
                    type: array
                    items:
                      type: object
                      properties:
                        MEM_KEY:
                          type: integer
                          format: int64
                          description: 'RSCRM: Axis Tuple'
                        VALUE:
                          type: string
                          maxLength: 64
                          description: Member Name
                        VALUEDESCR:
                          type: string
                          maxLength: 60
                          description: Description (caption)
                  E_T_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
