‎2007 Sep 12 12:16 PM
Hi!
is there any way to remove the default toolbar of an ALV tree??
Thanks.
‎2007 Sep 12 3:22 PM
‎2007 Sep 12 3:37 PM
Hi,
If you are using CL_GUI then
call method tree1->set_table_for_first_display
exporting
it_list_commentary = gt_header[]
is_layout = gs_layout_tree
it_toolbar_excluding = gt_exclude "<<<<< Include here all FCODE values
changing
it_sort = gt_sort[]
it_outtab = i_ynetitmdes[]
it_fieldcatalog = gt_fieldcat[].
or if you are usiing Object Model (CL_SALV_TREE) then
grt_functions = gr_tree->get_functions( ).
grt_functions->set_all( abap_false ).
a®
‎2007 Sep 12 3:49 PM