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: 

BUILD_COMPLETE_TOOLBAR method of Class CL_GUI_ALV_GRID

Former Member
0 Kudos

Hello Everyone !

I need to have complete set of toolbar in my OO ALV. If I am not wrong "BUILD_COMPLETE_TOOLBAR" is the method by which this task can be accomplished. Can anyone please help me to know how to use this method and implement the same.

Regards,

Vaibhav Singhania

2 REPLIES 2

madhu_vadlamani
Active Contributor
0 Kudos

Hi Vaibhav,

If you standard tool bars check with event handler.

Regards,

Madhu.

SuhaSaha
Advisor
Advisor
0 Kudos

Hello Vaibhav,

BUILD_COMPLETE_TOOLBAR( ) is a private method & you cannot call it.

If you want to hide any function(s) in the ALV Application Toolbar(for e.g., Detail Info, Refresh etc.) you need to pass the relevant UI function codes(attributes MC_FC_*) to the param IT_TOOLBAR_EXCLUDING of the method SET_TABLE_FOR_FIRST_DISPLAY( ). If you don't pass any values to this param, imo all the functions should be available!

Cheers,

Suhas

PS: If you want to add custom buttons to the ALV Appl. Toolbar, check the demo program BCALV_GRID_05.