Skip to Content
0
Former Member
Oct 05, 2009 at 06:02 AM

Create "Link To Action" for ALV Tree's hierarchy column

57 Views

Hi Experts,

Is there anyway to create/ assign the "Link To Action" to the hierarchy column of the ALV Tree?

I tried with these codes ... but it's not working.

<--

... ...

l_value->if_salv_wd_table_settings~set_display_type(

if_salv_wd_c_table_settings=>display_type_hierarchy

).

lr_column = l_value->if_salv_wd_column_settings~get_column( 'COL01' ).

CREATE OBJECT lr_lta.

lr_lta->set_text_fieldname( 'COL01' ).

lr_column->set_cell_editor( lr_lta ).

lr_column->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).

-->

Thanks.

Tee