Skip to Content
0

ALV Tree Hierarchy Issues in Webdynpro ABAP

May 09 at 06:32 AM

16

avatar image
Former Member

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member May 09 at 08:30 AM
0

Can anyone help?

Share
10 |10000 characters needed characters left characters exceeded