alv数据表维护表时错误行需要高亮度显示
gt_index_rows TYPE lvc_t_row,"用以存放要选择行的内表
gs_index_rows TYPE lvc_s_row."用以存放要选择行的工作区
IF gf_error IS NOT INITIAL. "判断修改后是否有不合法数据,有则选中错误行 CALL METHOD gr_alvgrid->set_selected_rows
EXPORTING
it_index_rows = gt_index_rows.
CLEAR gf_error. REFRESH gt_index_rows.
ENDIF.