on 2016 Nov 18 9:21 PM
Hello Guru's,
We used REUSE_ALV_BLOCK_LIST_APPEND to display multiple ALV Lists on a single screen. This report output is generated as PDF through Spool. Each ALV List has a separate header text associated with the help of 'it_events' table like code displayed below.
But the issue is, when the PDF is generated, each list table starts and displays from a separate page inside PDF. Even if the first table contains just 2 records, the next table is displayed in the next page of the PDF file. Whereas, the output while executing the report through SE38 is displaying without gap. Only PDF output is different. Any idea, how to come over it ?
*ls_events-name = 'TOP_OF_PAGE'.
ls_events-name = 'TOP_OF_LIST'.
ls_events-form = 'TOP_OF_PAGE'.
APPEND ls_events TO lt_events.
CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
EXPORTING
it_fieldcat = lt_fcat
is_layout = ls_layout
i_tabname = 'LT_TABLE'
it_events = lt_events
TABLES
t_outtab = lt_table.
FORM top_of_page.
WRITE "List Header Text".
ENDFORM.
Thanks and Regards.
Request clarification before answering.
Print-no_new_page = 'X'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Did you not try to include line breaks in between ?
Regards
Vinita
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.