openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RFC_CALL_TRANSACTION_USING:
    post:
      tags:
      - MRFC
      summary: Verification Program for Execution of RFCs via CALL TRANSACTION USING
      operationId: /rfc/RFC_CALL_TRANSACTION_USING
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MODE:
                  type: string
                  default: N
                  maxLength: 1
                  description: '''N'' - no display, ''E'' - display if error, ''A'' - Al'
                TCODE:
                  type: string
                  default: SE38
                  maxLength: 20
                  description: Transaction
                BT_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGRAM:
                        type: string
                        maxLength: 40
                        description: BDC module pool
                      DYNPRO:
                        type: integer
                        format: int64
                        description: BDC Screen number
                      DYNBEGIN:
                        type: string
                        maxLength: 1
                        description: BDC screen start
                      FNAM:
                        type: string
                        maxLength: 132
                        description: Field name
                      FVAL:
                        type: string
                        maxLength: 132
                        description: BDC field value
                L_ERRORS:
                  type: array
                  items:
                    type: object
                    properties:
                      TCODE:
                        type: string
                        maxLength: 20
                        description: BDC Transaction code
                      DYNAME:
                        type: string
                        maxLength: 40
                        description: Batch input module name
                      DYNUMB:
                        type: string
                        maxLength: 4
                        description: Batch input screen number
                      MSGTYP:
                        type: string
                        maxLength: 1
                        description: Batch input message type
                      MSGSPRA:
                        type: string
                        maxLength: 1
                        description: Language ID of a message
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Batch input message ID
                      MSGNR:
                        type: string
                        maxLength: 3
                        description: Batch input message number
                      MSGV1:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      MSGV2:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      MSGV3:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      MSGV4:
                        type: string
                        maxLength: 100
                        description: Variable part of a message
                      ENV:
                        type: string
                        maxLength: 4
                        description: 'Batch input monitoring activity  enumValues: ABTC=Transfer sessions to background processing,AONL=Process sessions online,ANAL=Analyze sessions and logs,LOCK=Lock and release sessions,EXPO=Export Folders,FREE=Release sessions,DELE=Delete sessions,REOG=Reorganize sessions and logs,IMPO=Import Folders'
                        enum:
                        - ABTC
                        - AONL
                        - ANAL
                        - LOCK
                        - EXPO
                        - FREE
                        - DELE
                        - REOG
                        - IMPO
                      FLDNAME:
                        type: string
                        maxLength: 132
                        description: Field name
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SUBRC:
                    type: integer
                    format: int32
                    description: SY-SUBRC of CALL TRANSACTION USING
                  BT_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGRAM:
                          type: string
                          maxLength: 40
                          description: BDC module pool
                        DYNPRO:
                          type: integer
                          format: int64
                          description: BDC Screen number
                        DYNBEGIN:
                          type: string
                          maxLength: 1
                          description: BDC screen start
                        FNAM:
                          type: string
                          maxLength: 132
                          description: Field name
                        FVAL:
                          type: string
                          maxLength: 132
                          description: BDC field value
                  L_ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        TCODE:
                          type: string
                          maxLength: 20
                          description: BDC Transaction code
                        DYNAME:
                          type: string
                          maxLength: 40
                          description: Batch input module name
                        DYNUMB:
                          type: string
                          maxLength: 4
                          description: Batch input screen number
                        MSGTYP:
                          type: string
                          maxLength: 1
                          description: Batch input message type
                        MSGSPRA:
                          type: string
                          maxLength: 1
                          description: Language ID of a message
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Batch input message ID
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: Batch input message number
                        MSGV1:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        MSGV2:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        MSGV3:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        MSGV4:
                          type: string
                          maxLength: 100
                          description: Variable part of a message
                        ENV:
                          type: string
                          maxLength: 4
                          description: 'Batch input monitoring activity  enumValues: ABTC=Transfer sessions to background processing,AONL=Process sessions online,ANAL=Analyze sessions and logs,LOCK=Lock and release sessions,EXPO=Export Folders,FREE=Release sessions,DELE=Delete sessions,REOG=Reorganize sessions and logs,IMPO=Import Folders'
                          enum:
                          - ABTC
                          - AONL
                          - ANAL
                          - LOCK
                          - EXPO
                          - FREE
                          - DELE
                          - REOG
                          - IMPO
                        FLDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
