on 11-10-2009 7:06 AM
Hello,
I am new to web dynpro.
can anyone provide me a simple alv tree example in web dynpro.
Thanks,
Gunjan
hi Gunjan ,
refer this article "ALV and Standard Table as Hierarchy in Web Dynpro ABAP" :
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.