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: 

Capture alv report check box in BDC

Former Member
0 Kudos

Hi All,

I have an hierarchical alv which has a check box column. When I select a check box to choose a particular entry and click on a button, the control should go to the next screen.

In BDC I am unable to capture the OK CODE for the check box.

Even in the recording its not capturing any value.

Any suggestions/pointers will be helpful.

5 REPLIES 5

Former Member
0 Kudos

hi,

usually the check box filed value will be X when u check in the same screen,it wont be detected as any commnad,,,u check the values and see whether the field is getting captured with values as 'X'

Former Member
0 Kudos

check your final internal table the field call SEL with char1 , after select the checkbox the final internal tbale filed SEL is set to 'X' erliar it is balnk...

Former Member
0 Kudos

Hi,

For example if you display a table named itab in the ALV

it will be having one field of single character for the checkbox say 'check type c'.

So when you check the checkbox and when you click a button check whether itab-check eq 'X', this is the way to find those entries.

Regards,

Manoj Kumar P

Former Member
0 Kudos

Hi,

Please refer the link below of an ALV with checkbox Example:

https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/alv%252bgrid%252bdisplay%252bwith%252bch...

Hope it helps you.

Regards

Mansi

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Haris,

I think you cannot use BDC on ALV :-((

Plz check the link below for details:

[;

Hope this helps.

BR,

Suhas