Skip to Content
0

Update Reason for rejection while creating sales order(VA01) in USEREXIT_SAVE_DOCUMENT

Nov 10, 2016 at 06:01 PM

110

avatar image

Hello Gurus,

I am working Sales Order user exit. I need to update the Reason for Rejection at the time sales order save not at the time of save document prepare exit.

The requirement is, when ever we create a sales order then GTS system will send the results to ECC with some Statuses called Embargo, Blocked... etc. So based on that status I need to update the reason for rejection. As far I know we can update the reason for rejction from save document prepare exit.

10 |10000 characters needed characters left characters exceeded

Hi Gurus,

Any suggestions?

0

you should use better tags to get your answer, the tag you have chosen is to discuss the architecture of a system: https://help.sap.com/saphelp_nw74/helpdata/de/f9/e2350eca7f4a109eb0a7bc63135e27/frameset.htm

You can find the list of primary tags here: http://sapassets.edgesuite.net/tools/SAP-Community-Tags.xlsx

read also https://blogs.sap.com/2016/11/06/guten-tag-good-day-to-the-world-of-tags/

1

This has been answered many times before:

Google -> "sales order user exit rejection reason site:sap.com" -> 1020 results.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Dilip Jogdand Nov 11, 2016 at 04:53 AM
0

Hi Murali,

You can also use User Exit "USEREXIT_SAVE_DOCUMENT" in MV45AFZZ for assigning reason for Rejection at sales order line item (using loop at xvbap) by using certain conditions. Thanks

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Thank you for response Dilip. I have tried in Userexit save_document but reason for rejection is not getting update. Any workaround please.

Thanks and Regards,

Murali

0
Muralikrishna Peravali

Please search SDN and you will definitely find the answers.

Code your logic in user exit FORM userexit_save_document_prepare in MV45AFZZ.

0