cancel
Showing results for 
Search instead for 
Did you mean: 

Tree in web dynpro

Former Member
0 Kudos

Hello,

I am new to web dynpro.

can anyone provide me a simple alv tree example in web dynpro.

Thanks,

Gunjan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

hi Gunjan ,

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&override...

also check the standard WD component salv_wd_demo_table_tree

also keep these steps in mind , quoted in SDN thread :

Following 2 things are the most important steps

"A) identify the table as hierarchy table:

wd_this->go_table->if_salv_wd_table_settings~set_display_type( if_salv_wd_c_table_settings=>display_type_hierarchy).

(wd_this->go_table is the reference to wd alv object:)

"B) mark the columns you want to have as nodes with following statement:

ls_col-r_column->if_salv_wd_column_hierarchy~set_hierarchy_column( value = abap_true ).

(ls_col is reference to the column)

regards,

amit

Former Member
0 Kudos

For examples of all type of UI elements of webdynpro, you can go to package SWDP_DEMO and SWDP_DEMO_TUTORIALS and find various expamle webdynpro components.

For Table Tree component name is - DEMO_TABLE_WITH_TREE

Hope this helps

Regards

Manas Dua

Former Member
0 Kudos

Hi,

Tree in ALV is not possible...You can use the ALV hierarchy conecpt in WDA.

Refer these links -

What is your requirement.

Regards,

Lekha.