Skip to Content
author's profile photo
Former Member

WD ABAP: Need beginner help on TREE UI ELEMENT

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

4 Answers

  • Best Answer
    author's profile photo
    Former Member
    Posted on Oct 06, 2006 at 04:45 PM

    Joris,

    Inside SAP" target="_blank">https://websmp201.sap-ag.de/support">SAP Support Portal --> 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 'Create" target="_blank">www.sdn.sap.com/irj/sdn/downloaditem?rid=/library/uuid/90dae990-0201-0010-d886-ef4afe418d1e">'Create Trees in Web Dynpro'. 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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Oct 06, 2006 at 01:10 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Oct 06, 2006 at 01:44 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Oct 09, 2006 at 06:01 AM

    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.

    Tree UI Element - free structure with several node types

    All The Best

    Priyanka

    Do Reward Points

    Add comment
    10|10000 characters needed characters exceeded