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: 

ALV User defined toolbar button

Former Member
0 Kudos

I have defined a checkbox button i.e button type is 5 , in the alv toolbar.

I have handled the toolbar button with an event handler also.

But how do i check in the handle_user_command event handler whether the button is checked or unchecked i.e selected or unselected.

if anyone has a sample code for this pls attach the link.

Thanks,

Rohit.

3 REPLIES 3

Former Member
0 Kudos

Hi,

You trigger out a message when it is checked or unchecked.

IF CHK1 = 'X'.

MESSAGE I001. " CHECKBOX IS SELECTED.

ELSE.

MESSAGE I002. " CHECKBOX IS NOT SELECTED.

ENDIF.

Hope this helps.

Cheers!!

former_member188685
Active Contributor
0 Kudos

Did you check this Program BCALV_GRID_05

0 Kudos

thanks vijay .......... i had some other question ...... but ur suggestion solved some other queries too.