09 Nov: IDocs: A Guide for New Developers – Part 5

If you recall from last month’s blog, the Function Module we are using follows a naming convention “IDOC__NAME OF MESSAGE TYPE”. For our example the delivered Message Type for an Invoice is INVOIC and this is an Outbound scenario, so the function module will be “IDOC_OUTPUT_INVOIC”. The User Exit for the transaction can be found using the transaction SMOD. Here we need to give the package to find the exact enhancement and the respective function module which will serve our purpose. The steps are as follows…


21 Oct: IDocs: A Guide for New Developers – Part 4

The message type determines the technical structure of the message, along with the data contained. Through configuration, it will also determine the process flow involved in a “Distributed environment”. The Message Type controls Process Code, which in turn drives a Function Module to derive the content of the message in an OUTBOUND scenario or execute the desired SAP process in an INBOUND scenario. Finally, it also controls how the IDocs will be processed (batch, immediately etc).