openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSCRMBW_TARGET_TEMPLATE:
    post:
      tags:
      - RSCRMBW_TOOLS
      operationId: /rfc/RSCRMBW_TARGET_TEMPLATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BATCHID:
                  type: string
                  maxLength: 32
                I_DONE:
                  type: string
                  maxLength: 1
                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
                I_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)
                I_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
              required:
              - I_BATCHID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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
                  I_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)
                  I_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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
