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: 

ICON button with menu option in SALV

Former Member
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

Clemenss
Active Contributor
0 Kudos

Hi Hamsa,

I remember I asked this questions some years ago: Obviously context menu is not provided for SALV object model.

Regards,

Clemens