Hi Experts,
Iam using function modules REUSE_ALV_BLOCK_LIST_APPEND
REUSE_ALV_BLOCK_LIST_DISPLAY to display multiple list on single page.
But I cant see the list headers though i passed the i_text parameter in REUSE_ALV_BLOCK_LIST_APPEND.
My sample code is:
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fcat_active[]
is_layout = gs_layout2
i_tabname = 'P_I_ACTIVE'
it_events = gt_events2
it_sort = gt_sort
i_text = text-l02
TABLES
t_outtab = P_I_ACTIVE[]
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = i_fcat_active1[]
is_layout = gs_layout1
i_tabname = 'P_I_VALID'
it_events = gt_events2
it_sort = gt_sort
i_text = text-l01
TABLES
t_outtab = P_I_VALID[]
EXCEPTIONS
PROGRAM_ERROR = 1
MAXIMUM_OF_APPENDS_REACHED = 2
OTHERS = 3
.
DATA: gt_print TYPE SLIS_PRINT_ALV.
*GT_PRINT-no_new_page = 'X'.
gt_print-reserve_lines = 2.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
EXPORTING
is_print = gt_print.
Thanks,
Subhash