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 ?