1 刷新屏幕
*&---------------------------------------------------------------------
*& Form user_command
*&---------------------------------------------------------------------
form user_command using rf_ucomm like sy-ucomm
rs_selfield type slis_selfield.
rs_selfield-refresh = 'X'. "刷新参数
ENDFORM. "user_command
2 屏幕上的修改字段更新到内表
I_GRID_SETTINGS 这个参数的EDT_CLL_CB 设定为X.
另外也可以:
DATA REF1 TYPE REF TO CL_GUI_ALV_GRID.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
E_GRID = REF1.
CALL METHOD REF1->CHECK_CHANGED_DATA.
阅读(1182) | 评论(0) | 转发(0) |