I am working for SVT online check for sales order. My requirement is I need to block the sales order whenever my all conditions met with the message 'SALES ORDER NUMBER' is blocked. While creating SO I am not getting the number generated in user exit USEREXIT_SAVE_DOCUMENT_PREPARE of include MV45AFZZ. So my message is not getting the sales order number. While changing any sales order number I am getting the sales order number and message is getting printed perfectly. I am reading the xvbap internal table for sales order number. Please suggest.
Regards
Sumit