10-09-2007 8:57 AM
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?
10-09-2007 9:03 AM
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
10-09-2007 9:00 AM
have u written this
case 'ok_code'
when'exit'.
leave program.
endcase.
regards.
Nagesh.Paruchuri
10-09-2007 9:00 AM
hI
ENTER SOME VALUES AND PRESS EXIT BUTTON
THEN IT WON'T ASK ANY THING
rEWARD IF USEFULL
10-09-2007 9:00 AM
Hi,
do following
IN PAI,
module user_command <b>at exit-command.</b>
This will solve your problem.
Regards,
Niyaz
Message was edited by:
Niyaz Ahamed
10-09-2007 9:03 AM
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
10-09-2007 9:06 AM
10-09-2007 9:03 AM
u r telling that u created mandatory fields then how ll it allow to exit with out inputting.input something and click exit.