‎2010 Mar 11 5:47 AM
Hi Experts,
As per my requirement I have two requirements for tree creation:
1) Create a Tree which can display multiple root node.
2) Cretae a Tree which can display data directy without any folder.
I am new in Tree development.
Can any body help me out to get it done.
If it is not possible then also i need a confirmation from experts.
Regards,
Madhu
‎2010 Mar 11 5:50 AM
Hi,
Yes it is possible.
<li>Check these demo programs
Thanks
venkat.O
SAPTLIST_TREE_CONTROL_DEMO
SAPCOLUMN_TREE_CONTROL_DEMO
SAPSIMPLE_TREE_CONTROL_DEMO
‎2010 Mar 11 6:06 AM
Hi Venkat,
Thanks for the reply, but I am creationg application in Webdynpro ABAP. I need a solution for Webdynpro UI element TREE.
Regards,
Madhu
‎2010 Mar 11 10:28 AM
use method add_node of the class Cl_gui_alv_tree to add a node to the tree.
In case of root node the parameter lv_relat_key is passed as blank.In order to create further child nodes pass the node key of the parent as the relat key of the child and use the method again.
Regards,
Abhi