02-08-2006 7:04 PM
Hi Experts,
Could you tell me how can I know the different values of <b>"BDC_OKCODE"</b>? And what do they mean?
For eg., If BDC_OKCODE = /0 then we have to press "ENTER".
thank you very much.
02-08-2006 7:09 PM
Hi,
You are thinking the other way.Its like when you press ENTER then BDC_OKCODE = /0.
Generally BDC_okcode can be anything,but it usually is /0 or =00 .
You can do the recording of the transaction from tcode SHDB & find out the BDC_okcode for that particular screen for any transaction.
OR
You can write /H ie debugging the screen & press enter,then you find the value of sy-ucomm.
02-08-2006 7:08 PM
The values for BDC_OKCODE depends on the screen for which you are writing the BDC...These can have any value which is defined as function codes in the PF_STATUS attached to a particular screen....
Also as you rightly said /00..simulates and enter being pressed or /04 means clicking F4...
more comments from others....
Thanks,
Renjith
02-08-2006 7:09 PM
Hi,
You are thinking the other way.Its like when you press ENTER then BDC_OKCODE = /0.
Generally BDC_okcode can be anything,but it usually is /0 or =00 .
You can do the recording of the transaction from tcode SHDB & find out the BDC_okcode for that particular screen for any transaction.
OR
You can write /H ie debugging the screen & press enter,then you find the value of sy-ucomm.
02-08-2006 7:51 PM
02-08-2006 7:21 PM
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
<b>pls reward points if helpful</b>
Message was edited by: chandrasekhar jagarlamudi