Ansicht
Dokumentation

IDOC_INBOUND_SINGLE - Inbound processing for transferred IDoc

IDOC_INBOUND_SINGLE - Inbound processing for transferred IDoc

BAL Application Log Documentation   ABAP Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

The function module is a successor to IDOC_INBOUND_SYNCHRONOUS. The interface has been adapted to the new 4.0 record types (control record EDI_DC40, data record EDI_DD40) for IDocs. The function module returns the number of the generated IDoc. If the IDoc does not have a status which can be automatically processed further, the export parameter PE_ERROR_PRIOR_TO_APPLICATION is set to 'X'.

Significance of the parameter PI_DO_COMMIT

The parameter PI_DO_COMMIT controls whether the function module sends a "COMMIT WORK" command. Note that a COMMIT command which is sent during posting leads to a termination.
If no COMMIT command is sent and the application carries out rollback if an error occurs, the IDoc is deleted from the database, i.e. there is no longer an IDoc in which the error could be documented. The user sees the following error message:
IDOC: Error EA613 with FM IDOC_INBOUND_SINGLE

Example

Notes

Further information





Parameters

PE_ERROR_PRIOR_TO_APPLICATION
PE_IDOC_NUMBER
PI_DO_COMMIT
PI_IDOC_CONTROL_REC_40
PT_IDOC_DATA_RECORDS_40

Exceptions

IDOC_NOT_SAVED

Function Group

EDIN

BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 1362 Date: 20240523 Time: 074556     sap01-206 ( 42 ms )