Skip to Content

a simple tree - passing data between node and leaf

Hi,

I'm very new new to Web Dynpro ABAP and I'm trying out a simple tree. I'm struggling to know the best place/way to retrieve the data for my tree. At the moment, I'm retrieving data using the 'Supply Function' for the Node and Leaf, then in 'Supply_treeleaf', I'm calling parent_element->get_attribute to retrieve the value of the node and using this to retrieve data for the leaf.

This is a bit restricting though as all I can pass in is the from treenode to treeleaf is the text for the node. How else can i pass data between the two ?

thanks,

Malcolm.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Dec 23, 2008 at 11:43 AM

    Hi Malcolm,

    Please refer to this sample program: WDR_TEST_EVENTS. This will give you a good idea about tree UI element.

    Regards

    Arjun

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 23, 2008 at 12:11 PM

    Is this one of the uses of an 'assistance class' ?

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.