Skip to Content

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

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

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

    Add comment
    10|10000 characters needed characters exceeded

    • 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.