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: 

Emphasize in ALV

Former Member
0 Kudos

What is the use of emphasize option in slis_fieldcat_main0 ?

1 ACCEPTED SOLUTION

Former Member

Hi,

Emphasize is a 4-char field where :

- 1st char = C (color property)

- 2nd char = color code (from 0 to 7)

0 = background color

1 = blue

2 = gray

3 = yellow

4 = blue/gray

5 = green

6 = red

7 = orange

- 3rd char = intensified (0=off, 1=on)

- 4th char = inverse display (0=off, 1=on)

Thanks,

Keerthi.

5 REPLIES 5

Former Member
0 Kudos

U can set colors to the out put for a particular cell.

If the field is set to 'X', the ALV uses a pre-defined color for highlighting the column. If the character field begins with 'C' (color code), the remaining numbers have the following meaning:

x: color number

y: intensified display on/off

y: inverse display on/off

For more information on color coding, see the F1 help on the FORMAT statement.

see the following link for more information about the output settings.

http://help.sap.com/saphelp_erp2004/helpdata/en/17/102896f24311d2b487006094192fe3/content.htm

Regards,

Jagadish

Former Member
0 Kudos

Hi,

Emphasize option is used for coluring a particular cell.

Check out the below link:

http://help.sap.com/saphelp_erp2004/helpdata/en/7f/e477e2fba211d2b48f006094192fe3/content.htm

Thanks.

Former Member

Hi,

Emphasize is a 4-char field where :

- 1st char = C (color property)

- 2nd char = color code (from 0 to 7)

0 = background color

1 = blue

2 = gray

3 = yellow

4 = blue/gray

5 = green

6 = red

7 = orange

- 3rd char = intensified (0=off, 1=on)

- 4th char = inverse display (0=off, 1=on)

Thanks,

Keerthi.

Former Member
0 Kudos

Hi,

If you want to highlight some field we use this field in field catalog.

Reward some points.

Regards,

Anomitro

Former Member
0 Kudos

hi,

it is used to set color to entire column (field). it length is 4 char. so we have to pass as

Cxyz format.

Rgds.,

subash