‎2008 Apr 02 8:47 AM
Hello,
Please help me, i have made one screen there i have given one exit button when i am clicking exit button that programme have to leave programme.
I have wirrten the below mentioned codes. here i am not getting any error of my codes and when i am clicking exit it is not leaving the programme.
&----
*& Report ZSUJU
*&
&----
*&
*&
&----
REPORT ZSUJU.
Tables : zemp.
Data : it like zemp occurs 0 with header line.
&----
*& Module STATUS_2000 OUTPUT
&----
text
----
MODULE STATUS_2000 OUTPUT.
SET PF-STATUS 'ZUOM'.
SET TITLEBAR 'xxx'.
ENDMODULE. " STATUS_2000 OUTPUT
&----
*& Module USER_COMMAND_2000 INPUT
&----
text
----
MODULE USER_COMMAND_2000 INPUT.
CASE SY-UCOMM.
WHEN 'EXIT'.
LEAVE program.
ENDCASE.
ENDMODULE. " USER_COMMAND_2000 INPUT
Please let me know what i have to do more at your earliest and oblige.
Please do the needful urgently.
thanks,
sujatha
‎2008 Apr 02 8:59 AM
Hi,
Give the type E where you create the layout of table control .
Rewards if helpfull.
Vijay
‎2008 Apr 02 9:03 AM
Hi,
Give the function code EXIT to button in the properties.
GOTO ur screen > double click on the button > In FctCode
type exit > Save & Activate > then try
Reward points if useful....
Regards
AK
‎2008 Apr 02 9:25 AM
hi,
i think ak give you the right ans..................
GOTO ur screen > double click on the exit button >then a window apper see FctCode in fctcode write exit
Save & Activate > then try
ok try this
if useful give reward points
pankaj