09-25-2008 7:48 AM
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.
09-25-2008 7:55 AM
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!!
09-25-2008 9:15 AM
09-25-2008 9:27 AM
thanks vijay .......... i had some other question ...... but ur suggestion solved some other queries too.