Skip to Content

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

regarding exit from the module pool screen

h experts,

i have developed a module pool report in which in the selection screen i have four fields which are mandatory ,when i execute the program without entering in the selection screen it do not allow to come out of the module pool screen ...what i want that without entering any input in the selection screen if i press exit button push button it will allow to come out of the screen for this what sud i do plz help me....

Tags:
Former Member
Former Member replied

Hi,

U need to write the AT EXIT-COMMAND command.

In PAI

MODULE EXIT_XXXX AT EXIT-COMMAND.

Now u have write the code as.

IF SY-UCOMM = 'EXIT'.

LEAVE TO SCREEN 0.

ENDIF.

Now go to EXIT button on the toolbar.U have to make As type E.

Regards,

Nagaraj

0 View this answer in context

Helpful Answer

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