‎2008 Mar 08 12:21 PM
hai sir
i went to interview, they conducted written test.
they asked following.
1. we see cancle and exit buttons in menu bar.
in which module, they wrote program for cancle button,,,and exit button.
understand ,,otherwise send me reply......plz send anser for this.
‎2008 Mar 08 12:29 PM
hi,
EVENT :
at user-command.
u check the sy-ucomm. and perform the action of cancel or exit ..... or any button..... depending on the function code returned by the sy-ucomm.
‎2008 Mar 08 12:31 PM
Hi ,
it is written in event
At exit command
Reward if useful
Regards,
Talwinder
‎2008 Mar 08 12:34 PM
i am asking abt .cancle(shift+f3) and exit (f12) buttons....which r predefined by sap.
‎2008 Mar 08 12:43 PM
hi,
yes dear wat u want i got that if u really want to check and confirm to my reply.....
then
enter into any transaction
then
put '/h' (to activate debug mode )in input box where u type the Tcodes
then click on the exit button gven by SAP and see in debugging to which event it takes u .......
It will take u to
AT USER-COMMAND.
Award points if its useful....
‎2008 Mar 08 11:12 PM
Hi ,
whenever user presses CANCEL or EXIT button the very first module written in PAI ( Process After Input ) the AT EXIT COMMAND is called.
the PF status of these two buttons must be set as "E" - Exit Command.
so before processing any code , the AT EXIT COMMAND is called and the user would then be able to come out of the program.
Rewards if it is useful..
‎2008 Mar 08 12:32 PM
GUI Status 'SCREEN_100' has 3 functions: BACK, EXIT and CANCEL of Type 'E' (Exit command), assigned to standard buttons
‎2008 Mar 08 12:36 PM
yes ,
these predefined buttons are dealt with
at exit command
Regards,
Talwinder
‎2008 Mar 08 12:49 PM
hi ,
do like this,
at user-command.
set pr-status 'DATA'.
double click on the data.
it will ask for u to create? then choose yes, give description,
select normal screen radiobutton,open function keys.
write like this...but all should be in the upper case letters.
save save,
back back,
exit exit,
cancel cancel
print %pri
find %sc
find next %sc+
first page p ++
next p+
previous p -
last p- -
use this u can see all the buttons on the tool bar...
regards,
venkat.
Edited by: venkat appikonda on Mar 8, 2008 2:01 PM
‎2008 Mar 08 12:55 PM
hi,
If u want the module name then it could be
PROCESS AFTER INPUT.
this gets trigerred whenever user clicks on the screen elements....
reward points if usful ......