2008 Aug 25 3:41 PM
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
2008 Aug 25 4:12 PM
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
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
2008 Aug 25 4:12 PM
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
2008 Aug 26 9:05 AM
Hi Uwe,
Thanks a lot for your solution.
Do you think it works also with REUSE_ALV_GRID_DISPLAY_LVC?
yimin
2008 Aug 26 9:16 AM
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.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |