Hi,
Data : it_excl_func TYPE ui_functions.
Suppose You got a method called excluding
Method excluding.
APPEND cl_gui_alv_grid=>mc_fc_subtot TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_sum TO it_excl_func.=
APPEND cl_gui_alv_grid=>mc_fc_graph TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_info TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_print TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_filter TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_views TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_mb_export TO it_excl_func.
APPEND cl_gui_alv_grid=>mc_fc_find TO it_excl_func.
Endmethod
Then call this method
call method obj_c1->excluding.
Then call the set_table_for_first_display method.
CALL METHOD o_grid2->set_table_for_first_display
........
........
it_toolbar_excluding = it_excl_func
This will work fine
Regards.