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

find out the numbers for all colours

hi all,

I have a requirement to make one field as a coloured one in the ALV Report output.

From where i can get the number for each colours

i.e To make the field in greencolour we hav to use the number color='5'(i got this from previous prgs).

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 11:40 AM

    Hi,

    Syntax of color value in col color

    0 GUI-specific

    { 1 | COL_HEADING } 1 Gray-blue

    { 2 | COL_NORMAL } 2 Light gray

    { 3 | COL_TOTAL } 3 Yellow

    { 4 | COL_KEY } 4 Blue-green

    { 5 | COL_POSITIVE } 5 Green

    { 6 | COL_NEGATIVE } 6 Red

    { 7 | COL_GROUP } 7 Violet

    Thanks & Regards,

    Navneeth K.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 22, 2008 at 11:41 AM

    hi,

    use program SHOWCOLO.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 22, 2008 at 11:41 AM

    Goto "abapdocu" Tcode, give color as keyword, there you can find all color codes.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 22, 2008 at 11:42 AM

    first of all its not necessary to write in bold characters. Seems like screaming which is unpolite. Goto the wiki and search for "coloring alv" you will fiund enough material to answer your question yourself.

    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.