openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BAPI_SBFADXT_CREATE:
    post:
      tags:
      - SBFADXT
      operationId: /rfc/BAPI_SBFADXT_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DXTHEADER:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    KEYCHAR10:
                      type: string
                      maxLength: 10
                      description: Character Field Length = 10
                    FLDDATE:
                      type: string
                      format: date
                      description: Test DTEL DATS
                    FLDCHAR:
                      type: string
                      maxLength: 255
                      description: Char255
                    FLDINT1:
                      type: integer
                      format: int32
                      description: Test DTEL INT1
                    FLDINT2:
                      type: integer
                      format: int32
                      description: Test DTEL INT2
                    FLDINT4:
                      type: integer
                      format: int32
                      description: Test DTEL INT4
                    FLDQUAN:
                      type: integer
                      format: int64
                      description: Test data element QUAN
                    FLDUNIT:
                      type: string
                      maxLength: 3
                      description: Test data element UNIT
                    FLDALPHA:
                      type: string
                      maxLength: 10
                      description: 'ABAP/4 validation: Field with converiosn ALPHA'
                    FLDCURR:
                      type: integer
                      format: int64
                      description: Test DTEL CURR
                    FLDCUKY:
                      type: string
                      maxLength: 5
                      description: Test DTEL CUKY
                    FLDDECD3S:
                      type: integer
                      format: int64
                      description: 'Packed integer: 8 bytes, 3 decimal places, leading sign'
                    FLDDECMAX:
                      type: integer
                      format: int64
                      description: DecMax
                    FLDFLOAT:
                      type: number
                      description: Test data element FLTP
                    FLDTIME:
                      type: string
                      maxLength: 6
                      description: Test data element TIMS
                    FLDPREC:
                      type: integer
                      format: int32
                      description: Test data element PREC
                    FLDNUMC:
                      type: integer
                      format: int64
                      description: Test data element NUMC
                    FLDHEX:
                      type: string
                      format: byte
                      description: RAW 127
                TESTRUN:
                  type: string
                  maxLength: 1
                  description: Parameters for Test Run
                DXTMSG:
                  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
                      INTORET:
                        type: string
                        maxLength: 1
                        description: 'New Input Values  enumValues: ""=Blank,X=Selection,.=Radio button'
                        enum:
                        - ''
                        - X
                        - .
                DXTPOSITION:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      KEYCHAR10:
                        type: string
                        maxLength: 10
                        description: Character Field Length = 10
                      KEYCHAR20:
                        type: string
                        maxLength: 20
                        description: Char 20
                      NUMC20:
                        type: integer
                        format: int64
                        description: NUMC 20
              required:
              - DXTHEADER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DXTMSG:
                    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
                        INTORET:
                          type: string
                          maxLength: 1
                          description: 'New Input Values  enumValues: ""=Blank,X=Selection,.=Radio button'
                          enum:
                          - ''
                          - X
                          - .
                  DXTPOSITION:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        KEYCHAR10:
                          type: string
                          maxLength: 10
                          description: Character Field Length = 10
                        KEYCHAR20:
                          type: string
                          maxLength: 20
                          description: Char 20
                        NUMC20:
                          type: integer
                          format: int64
                          description: NUMC 20
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
