cancel
Showing results for 
Search instead for 
Did you mean: 

Webdynpro :: Hierarchical ALV display

haribabu_gajula3
Explorer
0 Kudos

Hello All,

I am new to Webdynpro ABAP. I am having a problem in ALV Hierarchical List display.

As per my requirement, I need to display an ALV Hierarchical List with first column as Hierarchical column.

Hierarchical level shpuld be up to 6 levels.

I have made the table as Hierarchical table , set the column as hierarchy.

I am able to display only one node and one leaf.

Sample Code:

data : alv_config_table type ref to CL_SALV_WD_CONFIG_TABLE.

wd_this->alv_config_table->if_salv_wd_table_settings~set_display_type(

if_salv_wd_c_table_settings=>display_type_hierarchy ).

DATA : lr_column_hier TYPE REF TO cl_salv_wd_column.

lr_column_hier = wd_this->alv_config_table->if_salv_wd_column_settings~get_column( 'NODE_CONTENT' ).

lr_column_hier->if_salv_wd_column_hierarchy~set_hierarchy_column( abap_true ).

Anyone can suggest, how I can display multi level hierarchy for the same column.

Thanks in advance for yours inputs.

Hari Gajula

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Check my reply in this thread []

arjun_thakur
Active Contributor
0 Kudos

Hi,

You can refer this article: [ALV and Standard Table as Hierarchy in Web Dynpro ABAP|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c060fcb4-2c62-2b10-d2b2-f32407a5cc6f].

I hope it helps.

Regards

Arjun

Former Member
0 Kudos

Hi,

Can you be more clear..

Please provide some example...

Please refer this link -

http://help.sap.com/saphelp_nw2004s/helpdata/en/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm

Regards,

Lekha.