Skip to Content
0
Former Member
Oct 31, 2005 at 09:05 PM

Alv Color - LVC_T_SCOL

2453 Views

Hy !

Friends, i have a report alv-grid, this report using a dynamic table, this dynamic table was created using fieldcats, my doubt, how can i can do to put the structure LVC_T_SCOL in fieldcat ? i need this structure to use color in cells.

Example:

OBS: this example is incorrect...

  • COLOR_CELL

i = i + 1.

CLEAR afield2.

afield2-col_pos = i.

afield2-fieldname = 'COLOR_CELL'.

afield2-inttype = 'h'. " Tipo de campo

afield2-ref_table = 'LVC_T_SCOL'.

afield2-ref_field = 'COLOR_CELL'.

APPEND afield2 TO it_fieldcatalog.

Thanks.

Fabrício