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: 

find out the numbers for all colours

Former Member
0 Kudos

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).

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

4 REPLIES 4

Former Member
0 Kudos

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.

GauthamV
Active Contributor
0 Kudos

hi,

use program SHOWCOLO.

Former Member
0 Kudos

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

rainer_hbenthal
Active Contributor
0 Kudos

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.