cancel
Showing results for 
Search instead for 
Did you mean: 

a simple tree - passing data between node and leaf

former_member186444
Participant
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member186444
Participant
0 Kudos

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

arjun_thakur
Active Contributor
0 Kudos

Hi Malcolm,

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

Regards

Arjun