Skip to Content

ALV Tree Hierarchy Issues in Webdynpro ABAP

Hi Experts!

We are facing a few issues with ALV Tree Hierarchy. Here I attach what data we are displaying, what is the current output and what we expect it to be. Can someone please check and explain if this is feasible and if yes, how?

Thanks a lot. Your inputs are highly appreciated.

itab-data.png

current-output.png

expected-output.png

Here is how I did it:

lr_column = lv_value->if_salv_wd_column_settings~get_column( 'JOB' ).
lr_column->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).

lr_column = lv_value->if_salv_wd_column_settings~get_column( 'PERNR' ).
lr_column->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).
lv_value->if_salv_wd_table_hierarchy~set_last_hier_column_as_leaf( abap_true ).

itab-data.png (11.1 kB)
current-output.png (10.9 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • May 09, 2018 at 08:30 AM

    Can anyone help?

    Add comment
    10|10000 characters needed characters exceeded