04-29-2008 1:51 AM
Hi
As the question above, anyone know what is the okcode for TAB ( the tab on the keyboard ).
Like ENTER is /00 and ENTR.
so what is the code for TAB
Thanks
Guanwei
04-29-2008 2:43 AM
Put /H in the command prompt and click the TAB.
Now in the debug check what is there in SY-UCOMM.
TAB OK-Code is not unique like ENTER OK-Code, so check it the above way.
Regards
Gopi
04-29-2008 2:43 AM
Put /H in the command prompt and click the TAB.
Now in the debug check what is there in SY-UCOMM.
TAB OK-Code is not unique like ENTER OK-Code, so check it the above way.
Regards
Gopi
04-29-2008 3:24 AM
hi thanks for reply,
i have enter /h and he debugging check is on , but when i click on the TAB. it didnt appear anything the TAB just move to the next textfield, and i cant see any SY-UCOMM. pls guide me more
thanks
guanwei
04-29-2008 3:30 AM
I jst tried it that way, i could find the SY-UCOMM
Ok, another way to find out is..
Go to the Screen Painter of the screen..
Now go to the Layout and now in this layout editor you can see the OK-Code of the tab .
By double clicking the TAB, you will get the TAB properties where in the OK-Code is given.
Regards
Gopi
04-29-2008 3:30 AM
hi,
I am not sure if TAB invokes a function code. I think Enter is just a special case.
04-29-2008 4:03 AM
hi
i need to confirm 1 thing, hmm the TAB i talk about is the one on the keyboard not the one in the FB60(payment tab, tax tab).
Thanks
guanwei
04-29-2008 4:12 AM
Oooh i am sorry, i over looked into it.
TAB(keyboard) does not have any function code.
Regards
Gopi
04-29-2008 4:47 AM
04-29-2008 4:09 AM
HI,
pressing tab will not trigger any okcode.if u press the tab it will simply go to the next field of button. that means cursor position is getting changed. u can handle it by using the code like this
perform bdc_field using 'BDC_CURSOR'
'MR21HEAD-XBLNR'."this is the next field
FORM BDC_FIELD USING FNAM FVAL.
CLEAR bdctab.
bdctab-FNAM = FNAM.
bdctab-FVAL = FVAL.
APPEND bdctab.
ENDFORM.
rgds,
bharat.
04-29-2008 4:56 AM
hi,
i know about this but it cannot put cursor on a button right?
for my problem because there are too many button with the same function code. so i have to use tab to select the next button.
thanks
guanwei