cancel
Showing results for 
Search instead for 
Did you mean: 

WD ABAP: Need beginner help on TREE UI ELEMENT

Former Member
0 Kudos

Hi all,

I'm struggling with the Tree element in Webdynpro (ABAP!).

Can anyone provide me with a help/tutorial/examplecode on how to correctly bind a tree to context, and how to fill the context

I have an IT with a field (int) that descibes on what level the item has to go into the Tree.

i hope i can use this to populate the context

example IT:

-


0 my cars

1 trucks

2 red Dodge

2 blue RangeRover

1 sportscars

2 red ferrai

2 blue porsche

Accepted Solutions (1)

Accepted Solutions (1)

tina_yang
Explorer
0 Kudos

Joris,

Inside <a href="https://websmp201.sap-ag.de/support">SAP Support Portal</a> --> Knowledge Exchange --> Ramp-up Knowledge Transfer --> SAP NetWeaver --> SAP NetWeaver 2004s for Developers --> Web Dynpro for ABAP. You can find under Tutorials --> Tutorial 5: Trees in Web Dynpro, and many other features of WDABAP.

If you don't have access to RKT, you can look at <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/90dae990-0201-0010-d886-ef4afe418d1e">'Create Trees in Web Dynpro'</a>. This tutorial is explained by using WD Java, but the concept of how to map the context of the tree is same regardless if it is WD Java or WD ABAP.

Tina Yang

Former Member
0 Kudos

Tina,

This is indeed what i needed.

Thank you!

point awarded

Joris Bots

PS.

Here a link to the document described by Tina:

<a href="http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf">http://sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webdynpro/constructing%20a%20recursive%20and%20loadable%20web%20dynpro%20tree.pdf</a>

Message was edited by: Joris Bots

tina_yang
Explorer
0 Kudos

I got an email recently notifing me the link provide in this thread is broken. Below is the current link to WB ABAP Tutorials:

Inside <a href="https://websmp201.sap-ag.de/support">SAP Support Portal</a>--> Knowledge Exchange --> Ramp-up Knowledge Transfer --> SAP NetWeaver --> SAP NetWeaver 7.0 for Developers --> Web Dynpro for ABAP.

Enjoy.

Tina Yang

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

when binding Tree with Conetxet you need to check how u r going to bind different nodes of tree.

Plz check the following link which explains how to bind different UI elements with context.

http://help.sap.com/saphelp_webas630/helpdata/en/c6/af11b1423a3c4fb642e357912936e4/content.htm

please check the following Thread too, it will also be usefull to you.

All The Best

Priyanka

Do Reward Points

Former Member
0 Kudos

Hi heidi,

Thanks for your reply!

I allready found this and im working with it;

But i find it rather cumbersome in my case since the examples are so complex and hardly documented.

And none of the examples describe the things i want to do(or goals i have)

Joris

Former Member
0 Kudos

Hi Joris,

have a look at this: http://help.sap.com/saphelp_nw2004s/helpdata/en/21/ad884118aa1709e10000000a155106/frameset.htm and at the examples in the system, like WDR_TEST_EVENTS

Regards, Heidi