11-25-2011 4:31 AM
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
11-25-2011 4:49 AM
Hi Vaibhav,
If you standard tool bars check with event handler.
Regards,
Madhu.
11-25-2011 4:56 AM
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.