Skip to Content
Former Member
Sep 09, 2008 at 09:17 PM

How to Identify a sales order is in Change mode without looking at T-code


Hi Gurus,

I have a requirement we have the code in place to behave differently when it is in VA01 and VA02 in an user exit_save_document.

we are having trouble to trigger the code when the sales order is modified or created by a BAPI.

The check in the user exit is dependent on the T-code but when the BAPI runs it will be either the report T-code or se38 so how we can figure out without looking at T-Code in which mode the Sales order is opened i.,e Create or Change