Hello,
could anyone help me with matching the node shown in the ALV tree with the object reference that contained the data.
In my program I create a hierarchie of objects of different local classes. Then I show this hierarchie using cl_gui_alv_tree on the UI. When someone clicks on one of the nodes I want to show more attributes of the object that is represented by the node. My problem is that I do have a node_key but no way to find out which object the node represents. Is there any way to match the two?
In a different programming language they solved the problem this way: Every node has an attribute called "data" where I can put in whatever I want, for example a reference to an object. Is there any such thing in ABAP or is there any other best practise on how to match the data source withe the node showing the data?
Thank you in advance.
Best regards,
Fenja