The SAVE button is not active by default in GRID status, you should create an own status.
But if you mean the button to save a layout variant, you have to set the parameter I_SAVE:
SPACE = Display variants cannot be saved
Defined display variants (such as delivered display variants) can be selected for presentation regardless of this indicator. However, changes cannot be saved.
'X' = Standard save mode
Display variants can be saved as standard display variants.
Saving display variants as user-specific is not possible.
'U' = User-specific save mode
Display variants can only be saved as user-specific.
'A' = Standard and user-specific save mode
<<참조>>
call function'REUSE_ALV_GRID_DISPLAY_LVC'
exporting
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
i_save = 'A'
it_fieldcat_lvc = gt_fcat_lvc
is_layout_lvc = gs_layout
it_events = gt_events[]
tables
t_outtab = gt_itab .
'SAP > ABAP 개발' 카테고리의 다른 글
set_table_for_first_display - Variant 저장 아이콘 생성 (0) | 2010.08.27 |
---|---|
자재뒤에서 몇번째 1자리 캐릭터 가져오기 (1) | 2010.08.24 |
cx_root - Division by zero (1) | 2010.07.21 |
Message Class 조회 (1) | 2010.07.21 |
Function - Yes or No POPUP - WFCS_POPUP_YES_NO (2) | 2010.07.21 |