Skip to Content

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

reg. module pool....have ur points..

Hi all,

In module pool programming, we see "MODULE CANCEL AT EXIT-COMMAND" in PAI. Pleas let me know the meaning of this in simple language.....

<b>n Have ur points.</b>

Tags:
Former Member
Former Member replied

Hi Pradeep,

Let me explain this clearly to you.

Let us assume,U r using a Screen.

In this screen,U are using a back button i.e., GUI status for BACK,and this is of EXIT type(E).

and U have made a field on the screen as mandatory (using attributes in screen painter).

Now,when u try to go out of this screen using the back button.U will get an error message<b>(Fill in all required fields)</b>

Now,our module <b>ON EXIT COMMAND</b> comes into play.

If this module is prsent in our code.It overtakes control from the mandatory filed and allows U to move out of screen using the BACK button(coz it is of EXIT type)

Reward if useful,

Imran.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question