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

Regarding bdcdata structure

Former Member
0 Likes
637

my query:

I declared

data : jtab type bdcdata occurs 0 with header line.

when in debugging i am unable to see the field fval.

why it happens.

- Also tell me the functionality of bdc_okcode.

thanks...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
603

Hi....

The structure of the bdcdata is tooo large to show the complete line in debugging.

For this ... In the line ( in which all the field names are given in debugger) u just delete some empty space and write the field name FVAL there and press enter ...

it will show the values of fval also..

i hope u understood..

Placing a function code with '=' before it in bdc_okcode (like '=back' ) is equivalent to triggering the functionality of that code.. i.e try doing this in SE38 screen...

write one of ur program name and press Change .

come back and place '=CHAP' in the ok_code.. i,e the input field where u generally enter SE38 to start that transaction.. see what happens..

both the actions give the same results...

Hope this helps u...

reward if it helps u...

sai ramesh

4 REPLIES 4
Read only

Former Member
0 Likes
603

unable to see fval at all or just the value of fval?

ok_code is what is used for user-interaction. On every screen the user has to press, save, enter , next page etc.

OK_code represents this in bdc.

So if yuo have a transaction where you hit enter then hit save, thats what your ok_codes will have.

Read only

Former Member
0 Likes
604

Hi....

The structure of the bdcdata is tooo large to show the complete line in debugging.

For this ... In the line ( in which all the field names are given in debugger) u just delete some empty space and write the field name FVAL there and press enter ...

it will show the values of fval also..

i hope u understood..

Placing a function code with '=' before it in bdc_okcode (like '=back' ) is equivalent to triggering the functionality of that code.. i.e try doing this in SE38 screen...

write one of ur program name and press Change .

come back and place '=CHAP' in the ok_code.. i,e the input field where u generally enter SE38 to start that transaction.. see what happens..

both the actions give the same results...

Hope this helps u...

reward if it helps u...

sai ramesh

Read only

0 Likes
603

Hi thanks for reply.

one more thing i want to ask , in which table bdc_okcode reside.

bye..

Read only

0 Likes
603

Hi,

bdc_okcode depends on the transaction that u r using