‎2008 Jan 08 11:49 AM
hi,
i have certain mandatory fields in my screen with automatic customer id creation and have a ' EXIT' pushbutton.My problem is, once the details are entered and saved, it clears the screen and the next customer id is generated. so i am unable to exit out of the screen since some fields are mandatory.
please help me out.
thanks in avance.
‎2008 Jan 09 10:19 AM
in..PAI
module EXIT at exit-command.
&----
*& Module EXIT INPUT
&----
text
----
module EXIT input.
case sy-ucomm.
WHEN 'EXIT'.
Leave screen. set screen 0.
endcase.
endmodule. " EXIT INPUT
hi...i used this but this is not working..
‎2008 Jan 08 11:59 AM
Hi,
If it is dialog program u have to write code for EXIT command.
MODULE cancel AT EXIT-COMMAND.
MODULE cancel INPUT.
LEAVE PROGRAM.
ENDMODULE. " cancel INPUT
Regards,
Srinivas Ch
‎2008 Jan 08 12:11 PM
Hi,
It is module pool program for that u have to write code for EXIT command.
Process before input.
module back at exit-command.
double click on back. & code
case sy-ucomm.
WHEN 'BACK'.
Leave screen. set screen 0.
endcase.
If it is helpfull pls reward
Regards
Srimanta
‎2008 Jan 09 10:19 AM
in..PAI
module EXIT at exit-command.
&----
*& Module EXIT INPUT
&----
text
----
module EXIT input.
case sy-ucomm.
WHEN 'EXIT'.
Leave screen. set screen 0.
endcase.
endmodule. " EXIT INPUT
hi...i used this but this is not working..
‎2008 Jan 09 10:25 AM
Hi Arunsri
Please check whether you have set the Function type as 'E' for the EXIT push button in screen painter. Else AT EXIT-COMMAND won't trigger. And instead of LEAVE SCREEN use LEAVE TO SCREEN 0.
~ Ranganath
‎2008 Jan 09 10:37 AM
‎2008 Jan 09 10:38 AM
Hi Ranganath,
Thanks for the reply...i got the output..and rewarded 10.