Entering content frameObject documentation ABAP Programming Interface (PI) Locate the document in its SAP Library structure

Definition

The exchange of IDocs between the ABAP function modules.

Use

The SAP System is the "external system" in which further processing can be programmed. Thus, you can for example program your own techniques for transfer to an external system.

Structure

Port Definition

You only have to enter the name of the function module to be called (for IDoc outbound processing) or the calling function module (for IDoc inbound processing). This function module can be programmed to contain the required processing. Only the interface is already defined.

Interface and processing for IDoc outbound processing

SAP supplies the function module OWN_FUNCTION as a template, which reads the IDoc data and writes a status record for each IDoc (status 18 for "no errors", 20 for "error"); If an error occurs, a workflow is started.

Interface and processing for IDoc inbound processing

Your function module must call the SAP function module IDOC_INBOUND_ASYNCHRONOUS, which saves the IDocs in the database and triggers an event. As a result, inbound processing is started asynchronously.

Leaving content frame