2008 Dec 01 6:20 AM
Hi All,
I am using class CL_GUI_SIMPLE_TREE. How do we retrieve the text that we have set for the node using the node_key ? (I dont want to change it, I just want to retrieve what has already been set)
Which method do we use ?
Regards,
Ashish
2008 Dec 01 10:08 PM
sorry this class is "too much simple". SAP recommends using tree models because they are more recent and have more options (cl_simple_tree_model in your case). See method [node_get_text|http://help.sap.com/saphelp_nw2004s/helpdata/en/28/1cfc5ecf4611d3a7030000e83dd863/frameset.htm] in cl_simple_tree_model.
Otherwise you may still use cl_gui_simple_tree, but you must keep data in memory when you build the tree.
2008 Dec 02 3:44 AM