07-10-2012 9:40 AM
Hi All,
There is a requirement to place a toolbar button with Menu options as shown in the below screenshot. The ALV factory method is used in designing the toolbar.(SALV).
I see an option in the CL_GUI_ALV_GRID class. But in the factory method, there is a method add_function() to add our own buttons. There are no demos in SALV* to add the menu option along with the button. Could someone please help on the issue.
Thanks,
Hamsa Priya
07-25-2012 1:58 PM
Hi Priya,
If you are ok with the code of adding new button to standard ALV tool bar, use button type = 1 which will show menu for a button. I hope you can do the rest. If not please let me know so that i can give you an example.
I have attaced the all button types here.
Thanks & Regards
Sai Kumar V
07-26-2012 4:23 PM
Hi Hamsa,
I remember I asked this questions some years ago: Obviously context menu is not provided for SALV object model.
Regards,
Clemens