Skip to Content

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

Hi friends

in module pool prg...

I have designed the layout with three mandatory fields.

But at the first run of the screen,when i click EXIT button...the program is not exiting and its reminding me to enter the values in the required fields...

How to solve this?

Tags:
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

vasu

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