How to deterine the running mode?
Within the enhancement SAPMF02D (has a function exit), I need to know which mode the current program is running in, such as in Display mode (Display Customer) or in Change mode (Change Customer).
What's the best way to do it?
Thank you very much!!!
Naimesh Patel replied
This user exit should be called whenever user presses save button. The description of the FM is like "Customers: User Exit for Checks prior to Saving". SO, this will be called in only create and change mode. Not in the Dispaly mode.
Try to set the break point and do the debug, you will have better idea.