Skip to Content

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

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!!!

Tags:
replied

Hello Yun,

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.

Regards,

Naimesh

0 View this answer in context

Helpful Answer

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