ALV Tree in WebDynpro ABAP
In my present project we have requirement for developing ALV tree output using ALV configuration model in WD4A. Please provide sample code or tutorial related to ALV Tree development in WebDynpro ABAP.
Thomas Jung replied
There is no hierarchy of nodes when building an ALV or Table Tree in WDA. You still provide a flat structure of a single node. What you do is specify certain columns to be hierarchy columns. The framework then builds a sorting/grouping around these columns and turns them into the "pesudo nodes" of the tree.
This can be done via configuration or via coding:
For instanace, taking the same flat SFLIGHT structure I can just define certain columns and create two different hierarchies: