Skip to Content
Former Member
Aug 02, 2007 at 06:12 AM

Error is hierarchial ALV tree



I am trying to create a hierarchial alv tree using cl_gui_simple_tree. I am able to add nodes upto 2 level ( that is the root node and its childnodes). When i try to add nodes under the child nodes, i get a dump saying that "Cannot use a node of type leaf as parent"..For adding the node at third level, i used the

relatship as cl_gui_list_tree=>relat_last_child. Is it any problem with this ??