ALV与内存数据同步更新

REUSE_ALV_GRID_DISPLAY显示ALV,并设置alv某些列可编辑,可是编辑后发现对应的内表数据并没有随之改变。


CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_BACKGROUND_ID = 'SIWB_WALLPAPER'
I_CALLBACK_PROGRAM = I_REPID
I_GRID_SETTINGS = LC_GLAY
I_CALLBACK_HTML_TOP_OF_PAGE = W_HTML_TOP_OF_PAGE
I_BUFFER_ACTIVE = 'X'
* I_STRUCTURE_NAME = ''
* I_DEFAULT = 'X'
* I_SAVE = 'A'
* IS_VARIANT = W_VARIANT
IS_LAYOUT = W_LAYOUT
I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS'
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
IT_FIELDCAT = GD_FIELDCAT
IT_EVENTS = I_EVENTS
IT_EVENT_EXIT = I_EVENT_EXIT
IT_EXCLUDING = I_EXCLUDING
IS_PRINT = W_PRINT
* i_screen_start_column = 1
* i_screen_start_line = 1
* i_screen_end_column = 70
* i_screen_end_line = 30
TABLES
T_OUTTAB = GT_OUT.

其中需要设置:

LC_GLAY-EDT_CLL_CB = 'X'.


你可能感兴趣的:(html,command,user,callback,events,structure)