openapi: 3.0.0 info: title: SAP API version: 1.0.0 servers: - url: http://localhost:8080 paths: /rfc/APPLICATION_IDOC_POST_IMMEDIAT: post: tags: - BD12 summary: 'Inbound: Send application IDoc to the application immediately' operationId: /rfc/APPLICATION_IDOC_POST_IMMEDIAT requestBody: content: application/json: schema: properties: DO_COMMIT: type: string default: C_TRUE maxLength: 1 description: 'Flag: Commit Work stopped in program' ERROR_FLAG: type: string default: C_FALSE maxLength: 1 description: 'Flag: called from error handling' INBOUND_PARTNER_PROFILE: type: object properties: MANDT: type: string maxLength: 3 description: Client SNDPRN: type: string maxLength: 10 description: Partner Number of Sender SNDPRT: type: string maxLength: 2 description: Partner Type of Sender SNDPFC: type: string maxLength: 2 description: Partner function of sender MESTYP: type: string maxLength: 30 description: Message type MESCOD: type: string maxLength: 3 description: Message code MESFCT: type: string maxLength: 3 description: Message function TEST: type: string maxLength: 1 description: 'Flag for test mode enumValues: ""=Blank,X=Selection flag' enum: - '' - X EVCODE: type: string maxLength: 30 description: Inbound Process Code SYNCHK: type: string maxLength: 1 description: 'Cancel Processing After Syntax Error enumValues: X=Syntax check on,""=Syntax check off' enum: - X - '' METHOD: type: string maxLength: 1 description: 'Choice: EDI or ALE (no longer used)' USRTYP: type: string maxLength: 10 description: User Type USRKEY: type: string maxLength: 70 description: 'Permitted users: ID' USRLNG: type: string maxLength: 1 description: Language of notification INMOD: type: string maxLength: 1 description: 'IDoc processing immediate or via queue enumValues: 3=Trigger by background program,1=Trigger immediately,2=Obsolete, replaced by 3' enum: - '3' - '1' - '2' DCART: type: string maxLength: 1 description: 'Type of data transfer to the application enumValues: ""=Blank,X=Selection flag' enum: - '' - X IDOC_CONTROL: type: array items: type: object properties: MANDT: type: string maxLength: 3 description: Client DOCNUM: type: integer format: int64 description: IDoc number DOCREL: type: string maxLength: 4 description: SAP Release for IDoc STATUS: type: string maxLength: 2 description: Status of IDoc DOCTYP: type: string maxLength: 8 description: IDoc Type DIRECT: type: string maxLength: 1 description: 'Direction for IDoc enumValues: 1=Outbound,2=Inbound' enum: - '1' - '2' RCVPOR: type: string maxLength: 10 description: Receiver port (SAP System, EDI subsystem) RCVPRT: type: string maxLength: 2 description: Partner Type of Receiver RCVPRN: type: string maxLength: 10 description: Partner Number of Receiver RCVSAD: type: string maxLength: 10 description: Recipient address (SADR) RCVSMN: type: string maxLength: 3 description: SADR client (recipient) RCVSNA: type: string maxLength: 1 description: SADR flag for international recipient address RCVSCA: type: string maxLength: 3 description: Communication type (SADR) of recipient RCVSDF: type: string maxLength: 1 description: SADR default flag for recipient address RCVSLF: type: string maxLength: 3 description: Sequential Number of Recipient Address (SADR) RCVLAD: type: string maxLength: 70 description: Logical address of recipient STD: type: string maxLength: 1 description: EDI Standard STDVRS: type: string maxLength: 6 description: Version of EDI standard STDMES: type: string maxLength: 6 description: EDI message type MESCOD: type: string maxLength: 3 description: Logical Message Variant MESFCT: type: string maxLength: 3 description: Logical message function OUTMOD: type: string maxLength: 1 description: 'Output Mode enumValues: 4=Collect IDocs and transfer,3=Collect IDocs, transfer and start external subsystem,2=Transfer IDoc immediately,1=Transfer IDoc immediately and start external subsystem' enum: - '4' - '3' - '2' - '1' TEST: type: string maxLength: 1 description: 'Test Flag enumValues: ""=IDoc contains a productive message,X=IDoc contains a test message' enum: - '' - X SNDPOR: type: string maxLength: 10 description: Sender port (SAP System, EDI subsystem) SNDPRT: type: string maxLength: 2 description: Partner type of sender SNDPRN: type: string maxLength: 10 description: Partner Number of Sender SNDSAD: type: string maxLength: 10 description: Sender address (SADR) SNDSMN: type: string maxLength: 3 description: SADR client (sender) SNDSNA: type: string maxLength: 1 description: SADR flag for international sender address SNDSCA: type: string maxLength: 3 description: Communication type (SADR) of sender SNDSDF: type: string maxLength: 1 description: SADR default flag for sender address SNDSLF: type: string maxLength: 3 description: Sequential Number of the Sender Address (SADR) SNDLAD: type: string maxLength: 70 description: Logical address of sender REFINT: type: string maxLength: 14 description: Reference to interchange file REFGRP: type: string maxLength: 14 description: Reference to message group REFMES: type: string maxLength: 14 description: Reference to message ARCKEY: type: string maxLength: 70 description: EDI archive key CREDAT: type: string format: date description: IDoc Created On CRETIM: type: string maxLength: 6 description: IDoc Created at MESTYP: type: string maxLength: 30 description: Message Type IDOCTP: type: string maxLength: 30 description: Basic type CIMTYP: type: string maxLength: 30 description: Extension RCVPFC: type: string maxLength: 2 description: Partner Function of Receiver SNDPFC: type: string maxLength: 2 description: Partner Function of Sender SERIAL: type: string maxLength: 20 description: Serialization field EXPRSS: type: string maxLength: 1 description: 'Overriding in inbound processing enumValues: ""=No overriding,X=Overriding' enum: - '' - X UPDDAT: type: string format: date description: Date on which control record was last changed UPDTIM: type: string maxLength: 6 description: Time at which control record was last changed MAXSEGNUM: type: integer format: int64 description: Number of data records IDOC_DATA: type: array items: type: object properties: MANDT: type: string maxLength: 3 description: Client DOCNUM: type: integer format: int64 description: IDoc number SEGNUM: type: integer format: int64 description: Number of SAP segment SEGNAM: type: string maxLength: 27 description: Segment type PSGNUM: type: integer format: int64 description: Number of the hierarchically higher SAP segment HLEVEL: type: integer format: int64 description: Hierarchy level DTINT2: type: integer format: int32 description: Length field for VARC field SDATA: type: string maxLength: 1000 description: Application data responses: '200': description: OK content: application/json: schema: properties: IDOC_CONTROL: type: array items: type: object properties: MANDT: type: string maxLength: 3 description: Client DOCNUM: type: integer format: int64 description: IDoc number DOCREL: type: string maxLength: 4 description: SAP Release for IDoc STATUS: type: string maxLength: 2 description: Status of IDoc DOCTYP: type: string maxLength: 8 description: IDoc Type DIRECT: type: string maxLength: 1 description: 'Direction for IDoc enumValues: 1=Outbound,2=Inbound' enum: - '1' - '2' RCVPOR: type: string maxLength: 10 description: Receiver port (SAP System, EDI subsystem) RCVPRT: type: string maxLength: 2 description: Partner Type of Receiver RCVPRN: type: string maxLength: 10 description: Partner Number of Receiver RCVSAD: type: string maxLength: 10 description: Recipient address (SADR) RCVSMN: type: string maxLength: 3 description: SADR client (recipient) RCVSNA: type: string maxLength: 1 description: SADR flag for international recipient address RCVSCA: type: string maxLength: 3 description: Communication type (SADR) of recipient RCVSDF: type: string maxLength: 1 description: SADR default flag for recipient address RCVSLF: type: string maxLength: 3 description: Sequential Number of Recipient Address (SADR) RCVLAD: type: string maxLength: 70 description: Logical address of recipient STD: type: string maxLength: 1 description: EDI Standard STDVRS: type: string maxLength: 6 description: Version of EDI standard STDMES: type: string maxLength: 6 description: EDI message type MESCOD: type: string maxLength: 3 description: Logical Message Variant MESFCT: type: string maxLength: 3 description: Logical message function OUTMOD: type: string maxLength: 1 description: 'Output Mode enumValues: 4=Collect IDocs and transfer,3=Collect IDocs, transfer and start external subsystem,2=Transfer IDoc immediately,1=Transfer IDoc immediately and start external subsystem' enum: - '4' - '3' - '2' - '1' TEST: type: string maxLength: 1 description: 'Test Flag enumValues: ""=IDoc contains a productive message,X=IDoc contains a test message' enum: - '' - X SNDPOR: type: string maxLength: 10 description: Sender port (SAP System, EDI subsystem) SNDPRT: type: string maxLength: 2 description: Partner type of sender SNDPRN: type: string maxLength: 10 description: Partner Number of Sender SNDSAD: type: string maxLength: 10 description: Sender address (SADR) SNDSMN: type: string maxLength: 3 description: SADR client (sender) SNDSNA: type: string maxLength: 1 description: SADR flag for international sender address SNDSCA: type: string maxLength: 3 description: Communication type (SADR) of sender SNDSDF: type: string maxLength: 1 description: SADR default flag for sender address SNDSLF: type: string maxLength: 3 description: Sequential Number of the Sender Address (SADR) SNDLAD: type: string maxLength: 70 description: Logical address of sender REFINT: type: string maxLength: 14 description: Reference to interchange file REFGRP: type: string maxLength: 14 description: Reference to message group REFMES: type: string maxLength: 14 description: Reference to message ARCKEY: type: string maxLength: 70 description: EDI archive key CREDAT: type: string format: date description: IDoc Created On CRETIM: type: string maxLength: 6 description: IDoc Created at MESTYP: type: string maxLength: 30 description: Message Type IDOCTP: type: string maxLength: 30 description: Basic type CIMTYP: type: string maxLength: 30 description: Extension RCVPFC: type: string maxLength: 2 description: Partner Function of Receiver SNDPFC: type: string maxLength: 2 description: Partner Function of Sender SERIAL: type: string maxLength: 20 description: Serialization field EXPRSS: type: string maxLength: 1 description: 'Overriding in inbound processing enumValues: ""=No overriding,X=Overriding' enum: - '' - X UPDDAT: type: string format: date description: Date on which control record was last changed UPDTIM: type: string maxLength: 6 description: Time at which control record was last changed MAXSEGNUM: type: integer format: int64 description: Number of data records IDOC_DATA: type: array items: type: object properties: MANDT: type: string maxLength: 3 description: Client DOCNUM: type: integer format: int64 description: IDoc number SEGNUM: type: integer format: int64 description: Number of SAP segment SEGNAM: type: string maxLength: 27 description: Segment type PSGNUM: type: integer format: int64 description: Number of the hierarchically higher SAP segment HLEVEL: type: integer format: int64 description: Hierarchy level DTINT2: type: integer format: int32 description: Length field for VARC field SDATA: type: string maxLength: 1000 description: Application data '400': description: Bad request. 5XX: description: Unexpected error.