If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
luego en la parte cuando creas tus filas se inserta el color que se desea
gv_campo = 'RVC'.
ASSIGN COMPONENT gv_campo OF STRUCTURE <dyn_wa> TO <fs_campo>.
<fs_campo> = gv_cob. CLEAR gv_campo.
ASSIGN COMPONENT 'COLOR' OF STRUCTURE <dyn_wa> TO <fs_campo>.
<fs_campo> = 'C310'. >>>> Esta columna será de Color Amarillo (C = significa que es color, 3 = el número del color (1 al 9), 1= Intensidad ('0'=off / '1'=on), 0 = indica si el color es inverso ('0'=off / '1'=on).
APPEND <dyn_wa> TO <dyn_table>.
CLEAR <dyn_wa>.
por ultimo en el layout se le indica la columna que se a creado en el el fieldcat.
data: g_layout TYPE lvc_s_layo.
g_layout-info_fname = 'COLOR'.
Comentario