Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Best regards,


Former Member

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:

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question