on 10-18-2011 2:14 PM
Hi experts,
I'd like to create an alve table with a tree in it. I read the forum And my table with tree is up and running, but I don't know what to put into the hierarchy columns, to have more than one levels:
Example:
AAA
|-----AAB
| |-----ABB
| |-----ABC
|-----AAC
BBB
|----BBB
|----BBC
I don't have the SALV_WD_DEMO_TABLE_TREE component in my system, so I can't check the example.
Please help.
Thanks.
N.
Hi,
check below standard applications.
DEMO_TABLE_WITH_TREE Example: Table with Tree
DemoTree Example of Tree Control
DPR_TREE cProjects: Tree
WDR_TEST_TREE
WDT_TREE Sample solution for tutorial Constructing a W
WDT_TREE_TABLE_BY_KEY Hierarchy Table via Key/Parentkey
WDT_TREE_TABLE_BY_NST Hierarchy Table via Nesting
This will give you an idea to develop hierarchical tree.
Thanks,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found the solution fin another thread:
The main things are:
http://www.flickr.com/photos/tjung/2802287945/
For instanace, taking the same flat SFLIGHT structure I can just define certain columns and create two different hierarchies:
http://www.flickr.com/photos/tjung/2802287971/
http://www.flickr.com/photos/tjung/2802287989
You can test it with the table sflight -> Settings-> Display->Hierarchy
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.