Skip to Content
author's profile photo Former Member
Former Member

Showing a status icon column on a table control

Can anybody give me an example of how to implement a column with status icons on a table control? is there perhaps a sample program in the sap system???

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on May 19, 2004 at 11:27 AM

    Hallo Tobis,

    It is not really difficult.

    At first insert on top of Your Report following code:

    include: <icon>.

    There You wil find all icons predefined.

    When You want to fill a LED-ICON into Your internal table, which should be shown in the Table-Cntrl, You have to crete a field similar like this:

    Important is the length: CHAR(04)!

    STATS ZSTATS CHAR 4 0 Statusanzeige LED

    Now You can react and fill it with - for example -

    gf_itab-stats = icon_led_yellow.

    If You want to write a LED using the WRITE-Stement You can do it in following way

    write:/ icon_led_yellow as icon.

    Hope i could help You

    BR

    Michael

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.