Hi All,
I am getting a dump while creating tree. I have written the following code (the root node has already been created) :-
REFRESH lit_node_table.
CLEAR : lwa_node, lfd_nodekey.
lwa_node-node_key = 'Level2'."Child node - Second level
lwa_node-relatkey = 'Level1'.
lwa_node-relatship = cl_gui_simple_tree=>relat_last_child.
lwa_node-text = 'Assembly group'.
lwa_node-n_image = c_icon_l2.
lwa_node-exp_image = c_icon_l2.
APPEND lwa_node TO lit_node_table.
lwa_node-node_key = 'Level3'."Child node - Third level
lwa_node-relatkey = 'Level2'.
lwa_node-relatship = cl_gui_simple_tree=>relat_last_child.
lwa_node-text = 'Reference Operation Set'.
lwa_node-n_image = c_icon_l3.
lwa_node-exp_image = c_icon_l3.
APPEND lwa_node TO lit_node_table.
CALL METHOD grc_tree->add_nodes
EXPORTING
table_structure_name = 'ABDEMONODE'
node_table = lit_node_table.
Where am I going wrong ?
Regards,
Ashish