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: 

User exit to trigger Just before saving a Sales order

Former Member
0 Kudos

Hi All,

Is there any User exit or BADI that will trigger just before saving a sales order??..Its urgent please....

Thanks in advance,

David.

7 REPLIES 7

Former Member
0 Kudos

Hi,

In the include MV45AFZZ..These are the userexits that will be triggered before saving..

FORM USEREXIT_SAVE_DOCUMENT_PREPARE.

FORM USEREXIT_SAVE_DOCUMENT..

Thanks,

Naren

Former Member
0 Kudos

Try this

Enhancement Name: PPCO0007 , Exit Name: EXIT_SAPLCOZV_001

Regards

Kathirvel

ferry_lianto
Active Contributor
0 Kudos

Hi David,

Please check USEREXIT_SAVE_DOCUMENT in program MV45AFZZ.

Hope this will help.

Regards,

Ferry Lianto

0 Kudos

Hi All,

Thanks for your replies..One more thing i would like to know is whether this exit will be triggere while running Sales order creation BAPI in test run or simulation mode??..

Thanks,

David.

ferry_lianto
Active Contributor
0 Kudos

Hi David,

The above user exits will be triggered from BAPI sales order creation.

Are you using BAPI_SALESORDER_SIMULATE?

This will also trigger the user exits when simulation = space.

Regards,

Ferry Lianto

Former Member
0 Kudos

Hi,

Both the save_document_prepare save_document will be NOT triggered..WHen you have the TESTRUN flag..

If the TESTRUN flag is not given..Then these USEREXITs will be triggered..

Thanks,

Naren

Former Member
0 Kudos

Thanks you Sir