Skip to Content

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

Nov 10, 2016 at 06:01 PM


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?


you should use better tags to get your answer, the tag you have chosen is to discuss the architecture of a system:

You can find the list of primary tags here:

read also


This has been answered many times before:

Google -> "sales order user exit rejection reason" -> 1020 results.

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

1 Answer

avatar image
Former Member Nov 11, 2016 at 04:53 AM

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,


Former Member
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.