openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ECATT_REMOTE_MODULE_EXECUTE:
    post:
      tags:
      - SETRM
      operationId: /rfc/ECATT_REMOTE_MODULE_EXECUTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FUNC_NAME:
                  type: string
                  maxLength: 30
                  description: Function Module Name
                GENERATE_NEW_TEST_FRAME:
                  type: string
                  maxLength: 1
                IM_GEN_NAME:
                  type: string
                  maxLength: 8
                  description: Character Field, 8 Characters Long
                OPERATE_MODE:
                  type: string
                  maxLength: 1
                USE_REAL_REPORT:
                  type: string
                  maxLength: 1
                ECATT_TRANSFER_DATA_CONTAINER:
                  type: array
                  items:
                    type: object
                    properties:
                      FLAG:
                        type: string
                        maxLength: 1
                        description: Data Type Indicator for ETRM_DAT
                      VALUE:
                        type: string
                        maxLength: 30
                        description: Pass Path and Content to Remote Systems
                ECATT_TRANSFER_LDAT_CONTAINER:
                  type: array
                  items:
                    type: object
                    properties:
                      GID:
                        type: integer
                        format: int64
                        description: Unique ID of Node as Index
                      LINE_NO:
                        type: integer
                        format: int64
                        description: Sequential Line Number of Value
                      LVALUE:
                        type: string
                        maxLength: 255
                        description: Parameter Value
                EX_SYNTAX_ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      STMT_CNT:
                        type: integer
                        format: int32
                        description: Natural number
                      INCNAME:
                        type: string
                        maxLength: 40
                        description: 'ABAP Program: Current Main Program'
                      LINE:
                        type: integer
                        format: int32
                        description: Natural number
                      COL:
                        type: integer
                        format: int32
                        description: Natural number
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      KEYWORD:
                        type: string
                        maxLength: 20
                        description: ABAP key word in syntax error message
                      MSGNUMBER:
                        type: string
                        maxLength: 4
                        description: Syntax error message number
                      MESSAGE:
                        type: string
                        maxLength: 240
                        description: Text field of length 240
                      KIND:
                        type: string
                        maxLength: 4
                        description: Error Interpretation for SLIN
                PROGRAM:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 72
                        description: Program Line in ABAP Format
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EX_GEN_NAME:
                    type: string
                    maxLength: 8
                    description: Character Field, 8 Characters Long
                  EX_NUMBER_OF_GEN_REPORTS:
                    type: integer
                    format: int32
                  FUN_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: ''
                  SY_SUBRC:
                    type: integer
                    format: int32
                  ECATT_TRANSFER_DATA_CONTAINER:
                    type: array
                    items:
                      type: object
                      properties:
                        FLAG:
                          type: string
                          maxLength: 1
                          description: Data Type Indicator for ETRM_DAT
                        VALUE:
                          type: string
                          maxLength: 30
                          description: Pass Path and Content to Remote Systems
                  ECATT_TRANSFER_LDAT_CONTAINER:
                    type: array
                    items:
                      type: object
                      properties:
                        GID:
                          type: integer
                          format: int64
                          description: Unique ID of Node as Index
                        LINE_NO:
                          type: integer
                          format: int64
                          description: Sequential Line Number of Value
                        LVALUE:
                          type: string
                          maxLength: 255
                          description: Parameter Value
                  EX_SYNTAX_ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        STMT_CNT:
                          type: integer
                          format: int32
                          description: Natural number
                        INCNAME:
                          type: string
                          maxLength: 40
                          description: 'ABAP Program: Current Main Program'
                        LINE:
                          type: integer
                          format: int32
                          description: Natural number
                        COL:
                          type: integer
                          format: int32
                          description: Natural number
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
                        KEYWORD:
                          type: string
                          maxLength: 20
                          description: ABAP key word in syntax error message
                        MSGNUMBER:
                          type: string
                          maxLength: 4
                          description: Syntax error message number
                        MESSAGE:
                          type: string
                          maxLength: 240
                          description: Text field of length 240
                        KIND:
                          type: string
                          maxLength: 4
                          description: Error Interpretation for SLIN
                  PROGRAM:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 72
                          description: Program Line in ABAP Format
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
