Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

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:

...

The web service’s function /PACG/ECM_S_WSINPUT calls method /PACG/ECM_CL_S_INPUT=>INPUT.

Then within this method, the function /PACG/ECM_S_INPUT is called.

...

XML

...

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.

...

The data is then converted to the idoc stucture.

Post-conversion processes

After successful conversion the idoc is stored.

Relevant confirmations are sent back to SAP FSM.

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 activity idoc input class is then called. In the Idoc input class the idoc data is distributed to internal tables, separate for each segment. 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). For activities the most significant actions take place in method /PACG/ECM_IF_I_ACTIVITY~PROCESS_SALES_ACTIVITY.After the idoc input class processing (back in function /PACG/ECM_S_IDOC_INPUT) the document status is set.