cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Tree in Dynpro

former_member628395
Active Participant
0 Kudos

Hi Guys,

First of all thanx for all the help you have been providing, by answering my questions here.

I need another help from your side. According to a requirement, i need to develop a report in ABAP

Dynpro in tree formal. I want something that is similar to ALV Tree in ABAP.

Please let me know if you have any of the turotials regarding the same.

It will be really great if you could suggest me an alternative to ALV Tree in Dynpro.

Thanks and Regards,

Sagar

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

The ALV Component in Web Dynpro ABAP supports a hierarchy node. This makes it possible to create something similar to the ALV Tree from classic dynpro. Here is the online help link for ALV as a Hierarchy:

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3e/904b2624534e0db707c7314a5e1e9d/frameset.htm

Answers (1)

Answers (1)

arjun_thakur
Active Contributor
0 Kudos

Hi Sagar,

I want something that is similar to ALV Tree in ABAP

You can use Tree UI element.

Refer to this [blog|https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/7755] [original link is broken] [original link is broken] [original link is broken]; for creating a tree in a WDA.

You can also refer to some standard components like:

WDR_TEST_EVENTS

WDR_TEST_TABLE

WDT_TREE_TABLE_BY_KEY

WDT_TREE (in package SWDP_DEMO_TUTORIALS)

I hope it helps.

Regards

Arjun

former_member628395
Active Participant
0 Kudos

Thanks Arjun and Thomas,

The tree provided in Webdynpro is just a hierarchy. I mean to say , can i develop a report in dynpro like a tree report in ABAP. I checked some posts, which say i cant display columns in dynpro tree against the hierarchy. But i want some data against it. I mean if i display PO, i need to display some PO details against it.

Regards,

Sagar

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

>The tree provided in Webdynpro is just a hierarchy.

That is correct of the tree - but not the Tree as Heirarchy (ALV or Table). In this option you have a hierarchy column, but then normal ALV or table columns that follow. It sounds like what you are asking for. Here is an example of what a table as hierarchy in an ALV looks like:

http://www.flickr.com/photos/tjung/2802287971/in/set-72157606418550143/