Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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

Former Member
Not what you were looking for? View more on this topic or Ask a question