ALV做出的报表里更改布局里没有保存按钮的解决方法
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
I_CALLBACK_PROGRAM = G_REPID
IS_LAYOUT = GS_LAYOUT
IT_FIELDCAT = GT_FIELDCAT[]
I_SAVE = 'X' <- here
IS_VARIANT = V_STRU_DISVAR
IT_EVENTS = GIT_EVENTS[]
IT_SORT = IT_SORT[]
IS_PRINT = GS_PRINT
tables
T_OUTTAB = I_OUTPUT
exceptions
PROGRAM_ERROR = 1
others = 2.
屏蔽了I_SAVE了,所以没出现保存的哪个小按钮,恢复后正常。