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

BDC_OKCODE

Former Member
0 Likes
1,131

Hi ,

What does BDC_OKCODE means. What we should put in that field while filling the screen fields? Where that value willbe available?

Thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
630

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.

4 REPLIES 4
Read only

Former Member
0 Likes
630

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.

Read only

Former Member
0 Likes
630

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.

Read only

Former Member
0 Likes
630

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

Read only

Former Member
0 Likes
631

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.