Application Development 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: 

BDC question

Former Member
0 Kudos

Hello All,

In a BDC program if we want all the one of the tab strip we can directly assign some code to the BDC_OKCODE field. So that it will directly call the required screen.

For example while recording the VA01 transaction we can call Header-Billing screen by directly giving BDC_OKCODE = 'KDE3'. So it will call directly the Header-Billing screen.

My question is where do we find these codes? I want to call Header-Sales tab directly.

Please help me.

Thanks,

Sarada

4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

I would say the easiest way would be to do your recording of the transaction in SHDB and then get the code from the generated code. Then you will know what the Fcode is.

REgards,

RIch Heilman

Former Member
0 Kudos

Hi Sarada,

When you record the transaction through SHDB then you will get all these codes.

Regards,

Atish

varma_narayana
Active Contributor
0 Kudos

Hi..

When we process a Transaction under the Tool SHDB - Transaction Recorder,

It will give all the details.

For each Screen you can find an entry called BDC_OKCODE which contains the Function code of the Button Selected.

<b>Reward if Helpful</b>

Former Member
0 Kudos

Hi Sarada

For the screen u can get the details in System-->Status, which will help u to get the screen name and screen no for processing the screen.And for Ok code u can use the SHDB transaction or U CAN CLICK ON A BUTTON ON THE SCREEN, HOLDING THE SAME PRESS F1 . U will get the ok code......

Reward if helpful.....