你要刷新ALV显示,调用ALV类中的刷新方法
call method cl_alv->refresh_table_display
exporting
is_stable = gs_refresh
i_soft_refresh = ''.
data: begin of gs_refresh,"ALV刷新结构
row type char01 value 'X',
col type char01 value 'X',
end of gs_refresh.
SET_USER_COMMAND的代码呢?
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = LC_GRID.
试试这个function.