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: 

field catalog

Former Member
0 Kudos
153

Hi,

Pls let me know me how to use EMPHASIZE component in Field catalog LVC_S_FCAT in abap oops?

this component.

Thanks,

Raj

1 ACCEPTED SOLUTION

Former Member
0 Kudos
83
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)
4 REPLIES 4

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
83

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

0 Kudos
83

Hi Rich,

Thanks for your valuable guidance.

Former Member
0 Kudos
84
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)

0 Kudos
83

Hi Chandra,

Thank u very much.