11-20-2007 6:55 AM
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
01-29-2009 3:49 PM
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
01-29-2009 3:55 PM
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
01-29-2009 5:35 PM
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