Process diagram
The diagram below demonstrates generalized inbound idoc processing (SAP FSM → SAP ECC/S4).
Additional process description
Initial message input handling
When an inbound message comes from the Message Broker, the following web service is executed:
XML to idoc conversion
XML to idoc conversion takes place in the method PROCESS_INPUT of an instance of class /PACG/ECM_CL_S_COM_FACADE.
Based on the inbound class assignment configuration, the conversion class is determined.
Idoc input class
In the function module /PACG/ECM_S_IDOC_INPUT, the idoc input class is determined based on the inbound class assignment configuration. The interface method /PACG/ECM_IF_S_IDOC_INPUT~IDOC_INPUT of the idoc input class is then called. Object-specific logic determines what should be done with the received data (e.g. how idoc field values should be mapped with SAP tables in order to correctly modify/create objects in SAP).