‎2008 Apr 02 8:46 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.
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 9:38 AM
Hi,
In the PAI of the screen you must handle the 'EXIT' button and so you do :
LEAVE SCREEN or LEAVE PROGRAM.
‎2008 Apr 02 9:42 AM
hi sujata
why r you asking this question many times.................
check your screen
GOTO ur screen > double click on the exit button >then a window apper see FctCode in fctcode write exit
Save & Activate > then try
pankaj
‎2008 Apr 02 9:44 AM
Hi Sujatha,
Why r u asking same question again & again, just check ur
previous thread.
Regards
AK
‎2008 Apr 02 10:30 AM
Hi Sujatha,
1.
Double click on the button set Function type = E (Exit Command).
2.
Write Module Exit at Exit-command under Process After Input event.
3.
Then write module Exit like this.
PROCESS BEFORE OUTPUT.
* MODULE STATUS_1001.
PROCESS AFTER INPUT.
MODULE exit AT EXIT-COMMAND.
* MODULE USER_COMMAND_1001.
I hope that it helps u.
Regards,
Venkat.O
*&---------------------------------------------------------------------*
*& Module exit INPUT
*&---------------------------------------------------------------------*
MODULE exit INPUT.
IF sy-ucomm = 'EXIT' OR
sy-ucomm = 'BACK'.
LEAVE PROGRAM.
ENDIF.
ENDMODULE. " exit INPUT