Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

cancle/exit

Former Member
0 Likes
1,233

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.

9 REPLIES 9
Read only

Former Member
0 Likes
1,214

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.

Read only

Former Member
0 Likes
1,214

Hi ,

it is written in event

At exit command

Reward if useful

Regards,

Talwinder

Read only

0 Likes
1,214

i am asking abt .cancle(shift+f3) and exit (f12) buttons....which r predefined by sap.

Read only

0 Likes
1,214

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....

Read only

0 Likes
1,214

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..

Read only

Former Member
0 Likes
1,214

GUI Status 'SCREEN_100' has 3 functions: BACK, EXIT and CANCEL of Type 'E' (Exit command), assigned to standard buttons

Read only

Former Member
0 Likes
1,214

yes ,

these predefined buttons are dealt with

at exit command

Regards,

Talwinder

Read only

Former Member
0 Likes
1,214

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

Read only

Former Member
0 Likes
1,214

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 ......