I am trying without sucess to add an icon to an ALV toolbar menu button. The button appears with text but no icon.
I have seen it work before just wondering what i am missing.
eg.
METHOD on_menu_button.
CALL METHOD e_object->add_function
EXPORTING fcode = 'ZCHANGE'
icon = icon_change
text = 'Contact'.
Cheers
JP
try giving the icon as '0Z' instead of icon_change
Raja
Check this program <b>BCALV_GRID_05</b> and I am not sure whether you are doing it correctly.
All you need to do is :
a) Define a class
b) add a method for event toolbar
c) in the method fill the internal table
e_object->mt_toolbar
Regards,
Subramanian V.
Add a comment