cancel
Showing results for 
Search instead for 
Did you mean: 

Tree Structure?

former_member197475
Active Contributor
0 Kudos

Hi Experts,

I need to create a screen like a Tree Structure like below. If I click on the Reporting Group values folder, it should populate data from one table and by clicking on Reporting Group Levels, it should open the subfolder and need to populate the values based on the selection of folder.

Is this Tree Structure can be done in Web Dynpro?If yes, how can I go ahead for my development.

Please clarify me experts.

BR,

RAM.

Accepted Solutions (0)

Answers (2)

Answers (2)

ramakrishnappa
Active Contributor
0 Kudos

Hi RAM,

Yes, it can be done in WDA.

Your requirement can be achieved as below

  • you can create 2 containers side by side in your view i.e. by using PANEL or transparent containers
  • Tree structure
    • Create tree uielement
    • Create context node for tree with required attributes
    • Populate the data for tree structure with node key
  • Details Display
    • Create a table to display data based on tree structure element
    • if structure of table of each node/leaf element of tree is different, you can create table ui element dynamically based on your data
    • On click of tree element, based on KEY of the selected element, you can populate the details and fill the table in the right side container

Please refer the demo component for Tree example:

WDR_TEST_TREE

Also, check the below links

Web DynPro ABAP Application using Tree and Frame - Web Dynpro ABAP - SCN Wiki

SAP nxt: How to create a three level tree node in Webdynpro ABAP

Hope this helps you.

Regards,

Rama

former_member197475
Active Contributor
0 Kudos

Hi Experts,

Any ideas. please?

With Regards.

RAM.