‎2006 Oct 02 3:39 PM
Hi everyone
I am modifying an existing program that creates a batch job. Does anybody know what the possible values are for the BDC_OKCODE field eg. /00, BACK, =PDE3 and so on. I see that they tend to relate to function codes from the Gui status - is there an easy way to find out what they do?
Thanks
Andy
‎2006 Oct 02 4:24 PM
Hi Andrew,
BDC_OKCODE identifies the command field.
it can use function key number or function code
/ for function key number and = for function code
'/3' -->Back function key
'/15'-->Quit function key
'/11'--> save
All functions in menus and buttons are identified by function codes.
Regards,
Ferry Lianto
Please reward points if helpful.
‎2006 Oct 02 3:41 PM
hi Andrew,
hi Andrew try doing recording from sm35 or shdb for that particular transaction ... that is the only way to find the okcodes ..
Regards,
santosh
‎2006 Oct 02 3:43 PM
Hi,
To find the all the GUI OK CODES ,from that transaction just goto Menu SYSTEM --> STATUS. Double click on the GUI Satus in the Screen, U will find all the Function codes Used.
‎2006 Oct 02 3:45 PM
Click on any field of the screen and hit F1. Then double click on the Status field. Now you can see all the function keys etc.
‎2006 Oct 02 3:47 PM
Hi Andrew,
Please check table RSMPTEXTS.
Enter program name and language key then check values of field OBJ_CODE for all function code/BDC_OKCODE.
Also you can go to menu painter (SE41) to find BDC_OKCODE value for corresponding program.
Enter program name, select function list option and click on diplay. The list of function codes are the BDC_OKCODE.
Hope this will help.
Regards,
Ferry Lianto
‎2006 Oct 02 4:15 PM
Thanks for your replies, that is a big help - can anyone explain, though, what the '=' and '/' slash notation mean eg:
'/EBACK'
'=PBES'
'/00'
'=/00'
Also, some of these codes do not appear in the methods you have provided eg neither of the '00' options above, why would this be?
Thanks
Andy
‎2006 Oct 02 4:24 PM
Hi Andrew,
BDC_OKCODE identifies the command field.
it can use function key number or function code
/ for function key number and = for function code
'/3' -->Back function key
'/15'-->Quit function key
'/11'--> save
All functions in menus and buttons are identified by function codes.
Regards,
Ferry Lianto
Please reward points if helpful.