具体代码如下:
data: lr_grid type ref to cl_gui_alv_grid.
data: l_valid type c.
read table gt_excel index rs_selfield-tabindex. " 将变动内容更新到内表
call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
importing
e_grid = lr_grid.
*
call method lr_grid->check_changed_data
importing
e_valid = l_valid.