Skip to Content
0
Former Member
Feb 18, 2009 at 04:44 PM

Change Headerline in Treeview

31 Views

HI,

im using an Tree (like in SE80) and need a way to change the headerline.

Example: Go to SE80 and look at the Treeline under the Toolbar

On the left you see the "Object" caption with "objectname" and right you see the caption "description".

Is it possible to remove one column of this tree ? for example showing only the objectname ?

Im using ...


 call method go_tree->set_table_for_first_display
    exporting
      is_variant           = gs_variant
      i_save               = 'A'
*      i_default            = 'X'
      is_hierarchy_header  = ls_hierarchy_header
*      is_exception_field   =
*      it_special_groups    =
       it_list_commentary   = lt_list_commentary
       i_logo               = l_logo
*      i_background_id      =
*      it_toolbar_excluding =
*      it_except_qinfo      =
    changing
      it_outtab            = gt_outtab
*      it_filter            =
      it_fieldcatalog      = gt_fcat.

gt_outtab is used with 2 fields but my tree headerline(like caption objectname) is showing more and some with empty caption.

any ideas ?

Edited by: Gordon Breuer on Feb 18, 2009 6:03 PM