‎2006 Nov 13 12:29 PM
Hi ,
What does BDC_OKCODE means. What we should put in that field while filling the screen fields? Where that value willbe available?
Thanks.
‎2006 Nov 13 1:41 PM
Hi,
Execute the transaction SHDB and give the transaction for which you want to do A BDC. Enter all the details and then save it.
Now, when you see the saved data, you can see that in many places, BDC_OKCODE would have some values like /00 and such things..
These indicate, what is the action that you have done ,
For example, /00 indicates ENTER.
‎2006 Nov 13 12:35 PM
Hi Shri,
OK_CODE is the key which gets filled when u click on user-commands(like buttons).
you need not to fill any thing. System will take care of the values.
so that in your PAI you can write code for that user-command.
-Anu.
‎2006 Nov 13 12:37 PM
BDC_OKCODE is one which is normally used in BDC programming...When U want to navigate from one screen to other screen or u want to press enter or save buttons...U need to fill the BDC_OKCODE with revelant values so that while running the BDC u can navigate according to the values specified.
‎2006 Nov 13 12:38 PM
If you are doing a BDC, the vlaue that has to be passed to the BDCDATA internal table is the Function code of the User's action.To know what it shold be, you can place the cursor on a button and press f1 or, do a SHDB recording for the transaction for which you want to do the BDC.
Regards,
Ravi
‎2006 Nov 13 1:41 PM
Hi,
Execute the transaction SHDB and give the transaction for which you want to do A BDC. Enter all the details and then save it.
Now, when you see the saved data, you can see that in many places, BDC_OKCODE would have some values like /00 and such things..
These indicate, what is the action that you have done ,
For example, /00 indicates ENTER.