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

ALV User defined toolbar button

Former Member
0 Likes
546

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
Read only

Former Member
0 Likes
504

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!!

Read only

Former Member
0 Likes
504

Did you check this Program BCALV_GRID_05

Read only

0 Likes
504

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