Creating an SAP IDoc for sales orders

A SearchSAP.com reader wants to know how to create an SAP IDoc along with sales order details when sales orders are created, changed or cancelled.

I need to send an SAP IDoc with sales order details whenever a sales order is created, changed or cancelled.

What would be the best option to trigger this?

You would trigger this from an output message type from within VA01/VA02, just like you triggered a printout from the same transaction. If output is configured as type "6" for the IDoc, it will be handed over to the IDoc engine and needs configuration in WE20.

Dig Deeper on SAP development and programming languages

ERP
SearchOracle
Data Management
SearchAWS
Business Analytics
Content Management
HRSoftware
Close