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: 

ALV Key Fields Backgroundcolor in Edit Mode

uwe_isenmann2
Participant
0 Kudos
2,091

Hello Together,

In display mode the background color of the key fields are different from the other collums.

Is there a possibility to color the key fields columns also in edit mode (without creating a seprate column for background color)?

I tried:

ls_fcat-EMPHASIZE = 'X'.
ls_fcat-fix_column = 'X'.

Best Regards

Uwe

1 ACCEPTED SOLUTION

Chintu6august
Contributor
0 Kudos
502

Hi,

You can use the Emphazise option in field catalog to display the cell in different colors.

ls_fcat-edit = 'X'.

ls_fcat-EMPHASIZE = 'C112'.


Colour code :

0 = background color

1 = blue

2 = gray

3 = yellow

4 = blue/gray

5 = green

6 = red

7 = orange

Colour is a 4-char field where :

- 1st char =   C (color property)

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

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

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


thank you!!


2 REPLIES 2

Chintu6august
Contributor
0 Kudos
503

Hi,

You can use the Emphazise option in field catalog to display the cell in different colors.

ls_fcat-edit = 'X'.

ls_fcat-EMPHASIZE = 'C112'.


Colour code :

0 = background color

1 = blue

2 = gray

3 = yellow

4 = blue/gray

5 = green

6 = red

7 = orange

Colour is a 4-char field where :

- 1st char =   C (color property)

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

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

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


thank you!!


502

I think you also need to set ls_fcat-key = space.