2007 Mar 08 3:38 PM
Hi,
Pls let me know me how to use EMPHASIZE component in Field catalog LVC_S_FCAT in abap oops?
this component.
Thanks,
Raj
2007 Mar 08 3:54 PM
wa_fieldcat-emphasize = 'C410'.
C-- constant
4 - color code (can be from 1- 7) " see SHOWCOLO program to get all color codes
1 - Intensify (0 or 1)
0 - Inverse (0 or 1)
2007 Mar 08 3:49 PM
You can set the color attributes of the column when passing the values like this.
move 'C610' to wa_fieldcat-emphasize.
Here is the chart which tells the meaning of the code.
* Colour 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) *
Regards,
Rich Heilman
2007 Mar 09 3:35 AM
2007 Mar 08 3:54 PM
wa_fieldcat-emphasize = 'C410'.
C-- constant
4 - color code (can be from 1- 7) " see SHOWCOLO program to get all color codes
1 - Intensify (0 or 1)
0 - Inverse (0 or 1)
2007 Mar 09 3:44 AM