Application Development 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: 

TREE : ICON for NODE

Former Member
0 Kudos

Hi,

I'm doing a tree node. I need to come out with the icon for the node. I have a sample code below:

NODE-N_IMAGE = '@20@'

Instead of using @@ prefix, is there any other way create the ICON using meaningful name as it hard to know what icon @20@ with display?

Regards,

Rayden

Message was edited by:

Rayden

3 REPLIES 3

Former Member
0 Kudos

you can start report showicon in SE38. There you can see the name of the icon

e.g. ICON_SEARCH.

Instead of using @13@ also you can use ICON_SEARCH.

Hope I could help you.

Robert

uwe_schieferstein
Active Contributor
0 Kudos

Hello Rayden

Report RSTXICON lists all icon including codes and long names.

You may try the following:


TYPE-POOLS: icon.  " add to your report

...
WRITE icon_search TO NODE-N_IMAGE.  " not sure if it will work

Regards

Uwe

MarcinPciak
Active Contributor
0 Kudos

Hi,

For relation idon_id - its name I always use this [link|http://www.sapdevelopment.co.uk/tips/icons_list.htm].

You can also see the table icon for relation icon_name - how it looks , but if you insist on using its name in program, do as Uwe suggested.

Regards

Marcin