Application Development and Automation 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: 
Read only

Emphasize in ALV

Former Member
0 Likes
20,823

What is the use of emphasize option in slis_fieldcat_main0 ?

1 ACCEPTED SOLUTION
Read only

Former Member
8,734

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.

What is the use of emphasize option in slis_fieldcat_main0 ?

5 REPLIES 5
Read only

Former Member
0 Likes
8,734

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

Read only

Former Member
0 Likes
8,734

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.

Read only

Former Member
8,735

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.

Read only

Former Member
0 Likes
8,734

Hi,

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

Reward some points.

Regards,

Anomitro

Read only

Former Member
0 Likes
8,734

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