openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_DYN_FUN_EXECUTE:
    post:
      tags:
      - ECATT_REMOTE_EXECUTE
      operationId: /rfc/ECATT_DYN_FUN_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXTRAID:
                  type: string
                  description: Table for Argument Assignment with Strings
                FUN_NAME:
                  type: string
                IM_BREAK:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Sequential No. of Data/Object Instances in eCATT Target Sys.
                IM_LAST_USED_INST_KEY:
                  type: integer
                  format: int64
                  description: Sequential No. of Data/Object Instances in eCATT Target Sys.
                INTERFACE_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ARG_LNR:
                        type: integer
                        format: int64
                        description: Sequence Number
                      ARGUMENT:
                        type: string
                        description: Argument Separated by '-'
                      CONTENT:
                        type: string
                        description: Assignment Separated by '-'
              required:
              - EXTRAID
              - FUN_NAME
              - IM_LAST_USED_INST_KEY
              - INTERFACE_TAB
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FUNC_MESSAGE:
                    type: object
                    properties:
                      MSGTEXT:
                        type: string
                        maxLength: 255
                        description: ''
                      MSGSPRA:
                        type: string
                        maxLength: 1
                        description: ''
                      MSGTYP:
                        type: string
                        maxLength: 1
                        description: ''
                      MSGID:
                        type: string
                        maxLength: 20
                        description: ''
                      MSGNR:
                        type: integer
                        format: int64
                        description: ''
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: ''
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: ''
                  FUNC_SY_SUBRC:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
