SAP Knowledge Base Article - Preview

3784132 - Last page number is missing in pdf after exported

Symptom

Last page number is missing in pdf after exported.

For one of the custom reports page number is required at the end of each page. To achieve this event end_of_page of class cl_salv_events_table is used. While printing the page number comes for first pages but the last page does not show the page number and the custom footer message end-of-report spills to next page where there is no data to display. This class is also used for output display cl_salv_table with methods set_end_of_list and  set_end_of_list_print. This issue happens when more than 65 rows are for the last page the footer end of report spills to next page and the last page does not show the page number. If th number of rows is divided by spool page size(65) then it works.


Read more...

Environment

SAP S/4HANA

Product

SAP S/4HANA all versions

Keywords

page number, print, missing, cl_salv_events_table, cl_salv_table, set_end_of_list, set_end_of_list_print , KBA , BC-SRV-ALV , SAP List Viewer , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.