Use
Messages, for example purchase orders, can be found and sent using the Message Control module (MC) in SD and MM.
· found and
· processed. In the case of IDoc processing, that means that the application data is written to IDocs.
Prerequisites
As with every time an IDoc is processed, you must define your partner. In particular, you must assign the application and the MC output type uniquely to an IDoc type in partner profiles. You do this with the Additional Parameters for Outbound Processing under MC.
Activities
· The Message Control module “finds” one or more messages by selecting those that match the relevant business process from a set of predefined messages. The messages are defined in the application in condition tables. The messages found are “proposed” by the MC: That can be several per document. In many applications you can view and modify (“process“) messages before you release the data, post the document and send the messages as IDocs.
In the specified case (message processing through IDoc dispatch) the system additionally checks messages found to determine whether the message partner was processed as a partner in the IDoc Interface. The message is only proposed if this is the case, and can then be further processed. Many applications providedetermination analysis, which helps you to trace message determination and locate possible errors.
· The Message Control module can process the messages immediately (after the application document has been updated). You can also process the messages found, manually or in the background at a predefined time. Since you can also define the time at which IDocs are to be generated by the IDoc Interface, you should combine these two times. These combinations are described in the following section: Procedure .
An order for the vendor 1014 is to be created in Purchasing. This order is to be sent using an EDI subsystem after being updated as an IDoc of type ORDERS01. To do this, define the output type “NEU” (new) for 1014 in purchasing master data and assign the Message Control dispatch time “4” (immediately with application update) and the transmission medium “EDI”. Choose the output mode “Transfer IDoc immediately” and “Start subsystem immediately” for 1014 in the partner profiles of the IDoc Interface and assign the logical message ORDERS to the combination “Application: Purchasing Order", "Output type: NEU".IDoc type ORDERS01 is assigned to this logical message.
For more information, see Technical Implementation.