1、如果使用CLASS方式ALV
DATA: filt_table TYPE lvc_t_fidx .
CALL METHOD g_grid->get_filtered_entries
IMPORTING
et_filtered_entries = filt_table.
2、如果使用REUSE_ALV_GRID_DISPLAY
DATA:filtered_entries TYPE slis_t_filtered_entries .
CALL FUNCTION 'REUSE_ALV_GRID_LAYOUT_INFO_GET'
IMPORTING
et_filtered_entries = filtered_entries
EXCEPTIONS
no_infos = 1
program_error = 2
OTHERS = 3.
3、如果使用REUSE_ALV_LIST_DISPLAY
DATA:filtered_entries TYPE slis_t_filtered_entries .
CALL FUNCTION 'REUSE_ALV_LIST_LAYOUT_INFO_GET'
IMPORTING
et_filtered_entries = filtered_entries
EXCEPTIONS
no_infos = 1
program_error = 2
OTHERS = 3.
阅读(828) | 评论(0) | 转发(0) |