Skip to Content
avatar image
Former Member

TREE : ICON for NODE

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Jan 29, 2009 at 03: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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 29, 2009 at 03: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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 29, 2009 at 05: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

    Add comment
    10|10000 characters needed characters exceeded