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

Make single selection between two checkboxs in ALV

Former Member
0 Likes
590

hi all,

I need help for checkbox in ALV.

I have two checkboxs (in two columns) in my ALV and I want to make single selection between them (i.e when I checked A , the B shoudl be disabled ).

Can anyone help me?

Thanks a lot!

Yimin

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
571

Hello Yimin

You may have a look at my Wiki posting [ALV Grid List Using Radio Buttons|https://wiki.sdn.sap.com/wiki/display/Snippets/ALVGridListUsingRadio+Buttons] where I simulate radiobuttons within an ALV grid.

Of course you can apply the same logic for your two checkbox columns.

Regards

Uwe

3 REPLIES 3
Read only

uwe_schieferstein
Active Contributor
0 Likes
572

Hello Yimin

You may have a look at my Wiki posting [ALV Grid List Using Radio Buttons|https://wiki.sdn.sap.com/wiki/display/Snippets/ALVGridListUsingRadio+Buttons] where I simulate radiobuttons within an ALV grid.

Of course you can apply the same logic for your two checkbox columns.

Regards

Uwe

Read only

0 Likes
571

Hi Uwe,

Thanks a lot for your solution.

Do you think it works also with REUSE_ALV_GRID_DISPLAY_LVC?

yimin

Read only

0 Likes
571

It will work, Once you check that Checkbox/Radiobutton you need to uncheck the rest of them in the user_commnad handling. it is also possible with the Grid function also.