Skip to Content
0
Former Member
Dec 05, 2011 at 10:45 PM

WD4A ALV Support of Nested Structure (i.e. dynamic node creation)

206 Views

All,

http://forums.sdn.sap.com/post!reply.jspa?threadID=96241

I realize this is an old thread and was posted in the wrong forum (i.e. WD4J vice WD4A), but none the less it is unanswered as of yet and it does describe the functionality I am seeking; I will copy the original thread text below. I believe it's not possible w/ the existing ALV implementation of WD4A as of today and does not have the full functionality of the ALV Tree in standard ABAP which allows you to build your tree node by node.

An example of what I am trying to implement involves Project Systems data such as Projects, WBS Elements, Networks, NWA's, etc. which can have nested levels of hierarchy. It seems as though the WD4A ALV implementation makes you declare the hierarchy as part of the ALV configuration and then enforces that hierarchy uniformly rather than letting you build your own "custom" or "nested" hiearchy node by node.

Can the experts (i.e. Thomas Jung, etc.) please confirm or dispell my suspicion?

Thanks,

Chad

Original thread text

Hi,

1) I am trying to implement a tree with nested structure and multiple columns. I am using RecursionNode in the context and UI element TreeByNestingTableColumn. I am not able to figure out how to make a distinction between the key and parent key. In TreeByKeyTableColumn, we use key and parent key to differentiate. Is there any link which explains how to implement TreeByNestingTableColumn in Webdynpro for ABAP? (I got a link for webdynpro for java though).

2) Can ALV be used to implement a tree structure instead of using Table with TreeByNestingTableColumn or TreeByKeyTableColumn? Then I would be readily able to use ALV features like sort etc. If it can be used is there any link which explains how to do it in Webdynpro for ABAP?