openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDC_RECORD_TRANSACTION:
    post:
      tags:
      - SBDR
      operationId: /rfc/BDC_RECORD_TRANSACTION
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                MODE:
                  type: string
                  default: A
                  maxLength: 1
                OPTIONS:
                  type: object
                  properties:
                    DISMODE:
                      type: string
                      maxLength: 1
                      description: 'Processing mode for CALL TRANSACTION USING...  enumValues: A=Display all screens,P=Background processing; debugging possible,N=Background processing,E=Display errors'
                      enum:
                      - A
                      - P
                      - N
                      - E
                    UPDMODE:
                      type: string
                      maxLength: 1
                      description: 'Update mode for CALL TRANSACTION USING...  enumValues: S=Synchronous,A=Asynchronous,L=Local'
                      enum:
                      - S
                      - A
                      - L
                    CATTMODE:
                      type: string
                      maxLength: 1
                      description: 'CATT mode for CALL TRANSACTION USING...  enumValues: A=CATT with individual screen control,N=CATT without individual screen control,""=No CATT'
                      enum:
                      - A
                      - N
                      - ''
                    DEFSIZE:
                      type: string
                      maxLength: 1
                      description: 'Default screen size for CALL TRANSACTION USING...  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    RACOMMIT:
                      type: string
                      maxLength: 1
                      description: 'CALL TRANSACTION USING... is not completed by COMMIT  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    NOBINPT:
                      type: string
                      maxLength: 1
                      description: 'SY-BINPT=SPACE for CALL TRANSACTION USING...  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    NOBIEND:
                      type: string
                      maxLength: 1
                      description: 'SY-BINPT=SPACE after data end for CALL TRANSACTION USING...  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                TCODE:
                  type: string
                  maxLength: 20
                  description: Transaction Code
                UPDATE:
                  type: string
                  default: A
                  maxLength: 1
                DYNPROTAB:
                  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
                MESSTAB:
                  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
              required:
              - TCODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DYNPROTAB:
                    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
                  MESSTAB:
                    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.
