Hi All,
I have this type declared and I have created a table of this type
TYPES:
BEGIN OF ts_vip_display_sort,
orgeh TYPE orgeh,
org_txt TYPE string,
org_chief_txt TYPE string,
vip_amount TYPE p LENGTH 10 DECIMALS 2,
vip_payout TYPE p LENGTH 10 DECIMALS 2,
vip_diff TYPE p LENGTH 10 DECIMALS 2,
seqnr TYPE sseqnr,
vcount TYPE vcount,
level TYPE slevel_d,
END OF ts_vip_display_sort.
I have specified each of the values I want to display on the screen but they are not showing up
CLEAR et_fieldcatalog[]. "org unit CLEAR ls_fieldcatalog. ls_fieldcatalog-fieldname = 'ORGEH'. ls_fieldcatalog-coltext = text-d01. ls_fieldcatalog-seltext = text-d01. ls_fieldcatalog-scrtext_m = text-d01. ls_fieldcatalog-colddictxt = 'R'. ls_fieldcatalog-col_pos = 1. APPEND ls_fieldcatalog TO et_fieldcatalog.
Function to display:
CALL METHOD gr_alv_tree_control->set_table_for_first_display
EXPORTING
is_variant = gs_variant
i_save = 'A'
i_default = 'X'
is_hierarchy_header = gs_hierarchy_header
it_list_commentary = gt_list_commentary
it_toolbar_excluding = gt_toolbar_excluding
CHANGING
it_outtab = gt_display_tab
it_fieldcatalog = gt_fieldcatalog.