Skip to Content

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

ALV Tree in WebDynpro ABAP

Hi,

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,

Alleiah

Former Member
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:

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

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