regarding exit from the module pool screen
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....
U need to write the AT EXIT-COMMAND command.
MODULE EXIT_XXXX AT EXIT-COMMAND.
Now u have write the code as.
IF SY-UCOMM = 'EXIT'.
LEAVE TO SCREEN 0.
Now go to EXIT button on the toolbar.U have to make As type E.