Make any cell to color mode




data : wa_cellcolor       TYPE lvc_s_scol,
and put field in final table 
cellcolor TYPE lvc_t_scol"Cell Color
base on condition you can Change the field 
if wa_final-lbankn is NOT INITIAL.

                     wa_cellcolor-fname 'LBANKN'.

                     wa_cellcolor-color-col 6.

                     wa_cellcolor-color-int '1'.

                     wa_cellcolor-color-inv '0'.

                     APPEND wa_cellcolor TO wa_final-cellcolor.

                     CLEARwa_cellcolor.

                     endif.
Change the code 
append wa_final to gt_Final.


Comments

Popular posts from this blog

all user exit mv45afzz (implicit user exit )

How to Give Dropdown in alv report in sap abap programming Language

Long Text in input and output field in module pool