jueves, 30 de junio de 2011

SALV Set Light or Exception field

The table to be mapped must have a light field, the name does not matter, the possible colors are:
1.-Rojo,2.-Verde,3.-Amarillo

Example:
SalvTable-Light = 1."ROJO.

After constructing the ALV with factory method of cl_salv_table

cl_salv_table=>factory(
IMPORTING r_salv_table = alv
CHANGING t_table = SALVTable ).

g_columns = ALV->get_columns( ).
g_columns->set_exception_column( value = 'LIGHT' ).

No hay comentarios:

Publicar un comentario