openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /idoc/DXTCRE01/DXTCRE:
    post:
      summary: Object SBFADXT
      operationId: /idoc/DXTCRE01/DXTCRE
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                EDI_DC40:
                  properties:
                    TABNAM:
                      type: string
                      maxLength: 10
                      description: Name of Table Structure
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    DOCNUM:
                      type: string
                      maxLength: 16
                      description: IDoc number
                    DOCREL:
                      type: string
                      maxLength: 4
                      description: SAP Release for IDoc
                    STATUS:
                      type: string
                      maxLength: 2
                      description: Status of IDoc
                    DIRECT:
                      type: string
                      maxLength: 1
                      description: 'Direction enumValues: 1=Outbound, 2=Inbound'
                      enum:
                      - '1'
                      - '2'
                    OUTMOD:
                      type: string
                      maxLength: 1
                      description: 'Output mode enumValues: 1=Transfer IDoc immediately and start external subsystem, 2=Transfer IDoc immediately, 3=Collect IDocs, transfer and start external subsystem, 4=Collect IDocs and transfer'
                      enum:
                      - '1'
                      - '2'
                      - '3'
                      - '4'
                    EXPRSS:
                      type: string
                      maxLength: 1
                      description: 'Overriding in inbound processing enumValues: ""=No overriding, X=Overriding'
                      enum:
                      - ''
                      - X
                    TEST:
                      type: string
                      maxLength: 1
                      description: 'Test flag enumValues: ""=IDoc contains a productive message, X=IDoc contains a test message'
                      enum:
                      - ''
                      - X
                    IDOCTYP:
                      type: string
                      maxLength: 30
                      description: Name of basic type
                    CIMTYP:
                      type: string
                      maxLength: 30
                      description: Extension (defined by customer)
                    MESTYP:
                      type: string
                      maxLength: 30
                      description: Message type
                    MESCOD:
                      type: string
                      maxLength: 3
                      description: Message code
                    MESFCT:
                      type: string
                      maxLength: 3
                      description: Message Function
                    STD:
                      type: string
                      maxLength: 1
                      description: EDI standard, flag
                    STDVRS:
                      type: string
                      maxLength: 6
                      description: EDI standard, version and release
                    STDMES:
                      type: string
                      maxLength: 6
                      description: EDI message type
                    SNDPOR:
                      type: string
                      maxLength: 10
                      description: Sender port (SAP System, external subsystem)
                    SNDPRT:
                      type: string
                      maxLength: 2
                      description: Partner type of sender
                    SNDPFC:
                      type: string
                      maxLength: 2
                      description: Partner Function of Sender
                    SNDPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Sender
                    SNDSAD:
                      type: string
                      maxLength: 21
                      description: Sender address (SADR)
                    SNDLAD:
                      type: string
                      maxLength: 70
                      description: Logical address of sender
                    RCVPOR:
                      type: string
                      maxLength: 10
                      description: Receiver port
                    RCVPRT:
                      type: string
                      maxLength: 2
                      description: Partner Type of Receiver
                    RCVPFC:
                      type: string
                      maxLength: 2
                      description: Partner function of recipient
                    RCVPRN:
                      type: string
                      maxLength: 10
                      description: Partner Number of Receiver
                    RCVSAD:
                      type: string
                      maxLength: 21
                      description: Recipient address (SADR)
                    RCVLAD:
                      type: string
                      maxLength: 70
                      description: Logical address of recipient
                    CREDAT:
                      type: string
                      format: date
                      maxLength: 8
                      description: Created on
                    CRETIM:
                      type: string
                      maxLength: 6
                      description: Created at
                    REFINT:
                      type: string
                      maxLength: 14
                      description: Transmission file (EDI Interchange)
                    REFGRP:
                      type: string
                      maxLength: 14
                      description: Message group (EDI Message Group)
                    REFMES:
                      type: string
                      maxLength: 14
                      description: Message (EDI Message)
                    ARCKEY:
                      type: string
                      maxLength: 70
                      description: Key for external message archive
                    SERIAL:
                      type: string
                      maxLength: 20
                      description: Serialization
                E1DXTCRE:
                  type: array
                  items:
                    properties:
                      TESTRUN:
                        type: string
                        maxLength: 1
                        description: 'Switch to Simulation Session for Write BAPIs: ""=Not set,X=Set'
                        enum:
                        - ''
                        - X
                      E1BPSDXTH:
                        type: array
                        items:
                          properties:
                            MANDT:
                              type: string
                              maxLength: 3
                              description: Client
                            KEYCHAR10:
                              type: string
                              maxLength: 10
                              description: Character Field Length = 10
                            FLDDATE:
                              type: string
                              format: date
                              maxLength: 8
                              description: Test DTEL DATS
                            FLDCHAR:
                              type: string
                              maxLength: 255
                              description: Char255
                            FLDINT1:
                              type: integer
                              format: int32
                              maxLength: 3
                              description: Test DTEL INT1
                            FLDINT2:
                              type: integer
                              format: int32
                              maxLength: 6
                              description: Test DTEL INT2
                            FLDINT4:
                              type: integer
                              format: int32
                              maxLength: 11
                              description: Test DTEL INT4
                            FLDQUAN:
                              type: string
                              maxLength: 4
                              description: Test data element QUAN
                            FLDUNIT:
                              type: string
                              maxLength: 3
                              description: Test data element UNIT
                            FLDALPHA:
                              type: string
                              maxLength: 10
                              description: 'ABAP-Validierung: Feld mit Konvertierung ALPHA'
                            FLDCURR:
                              type: string
                              maxLength: 13
                              description: Test DTEL CURR
                            FLDCUKY:
                              type: string
                              maxLength: 5
                              description: Test DTEL CUKY
                            FLDDECD3S:
                              type: number
                              maxLength: 17
                              description: 'Packed integer: 8 bytes, 3 decimal places, leading sign'
                            FLDDECMAX:
                              type: number
                              maxLength: 32
                              description: DecMax
                            FLDFLOAT:
                              type: number
                              maxLength: 24
                              description: Test data element FLTP
                            FLDTIME:
                              type: string
                              maxLength: 6
                              description: Test data element TIMS
                            FLDPREC:
                              type: string
                              maxLength: 6
                              description: Test data element PREC
                            FLDNUMC:
                              type: string
                              maxLength: 4
                              description: Test data element NUMC
                            FLDHEX:
                              type: string
                              format: byte
                              maxLength: 254
                              description: RAW 127
                      E1BPSDXTP:
                        type: array
                        items:
                          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: string
                              maxLength: 20
                              description: NUMC 20
                      E1BPSDXTR2:
                        type: array
                        items:
                          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: string
                              maxLength: 3
                              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: string
                              maxLength: 6
                              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
                              maxLength: 11
                              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: ""=Blank,.=Radio button,X=Selection'
                              enum:
                              - ''
                              - .
                              - X
                    required:
                    - E1DXTCRE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  TID:
                    type: string
                    description: tid
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
