Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Create an IDOC for the changes in Sales Orders

Former Member
0 Kudos

Hi All,

I have a requirement in which user changes the sales order rejection status and saves the order and when the order is saved an IDOC needs to be created and the data(rejection status) is to be sent to third party using XI.

I am struck up at the creation of IDOC.

I am using change pointers concept to track the changes. Is ther any standard function module which can create IDOC's when ever the sales order is changed.

Please help.

Thanks and Regards,

LRK

1 REPLY 1

Former Member
0 Kudos

Hi,

U hav to search a suitable EXIT or BADI at the time of save of the sales order, there after checking the status use FM MASTER_IDOC_DISTRIBUTE for triggering the Idoc.

Amitava