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

field catalog

Former Member
0 Likes
890

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
Read only

Former Member
0 Likes
820
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)

Hi,

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

this component.

Thanks,

Raj

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
820

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

Read only

0 Likes
820

Hi Rich,

Thanks for your valuable guidance.

Read only

Former Member
0 Likes
821
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)
Read only

0 Likes
820

Hi Chandra,

Thank u very much.