Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

method call node_set_exp_image for a CL_GUI_LIST_TREE

Former Member
0 Likes
425

Hi all,

I'm using a CL_GUI_LIST_TREE with standard folder icons. Depending on a certain status the icon of the root node should be changed with method <b>node_set_exp_image</b>and <b>node_set_n_image</b>. These methods are inherited from class CL_TREE_CONTROL_BASE. The call of the methods seems to work (sy-subrc = 0). But when the program runs

futher on a short dump "MESSAGE_TYPE_X" appears.

Thank you for your support.

Thomas

Hi all,

I'm using a CL_GUI_LIST_TREE with standard folder icons. Depending on a certain status the icon of the root node should be changed with method <b>node_set_exp_image</b>and <b>node_set_n_image</b>. These methods are inherited from class CL_TREE_CONTROL_BASE. The call of the methods seems to work (sy-subrc = 0). But when the program runs

futher on a short dump "MESSAGE_TYPE_X" appears.

Thank you for your support.

Thomas

2 REPLIES 2
Read only

Former Member
0 Likes
393

Hi,

See the below linkm that will have 3 programs for ALV tree, that might help you

http://www.sapdevelopment.co.uk/reporting/alv/alvtree.htm

Regards

Sudheer

Read only

0 Likes
393

Hello Sudheer,

the link works for the overview. But the links showing the details don't work.

I'm using the List Tree. I don't know whether ALV Tree uses changable icons or not.

Thomas