Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Number of pages with ALV output

Hi all ABAP developers

We want to print the total number of pages on each page of the report. For example Page 1 of 5, Page 2 of 5 etc.

Here is an extract of the SAP Library documentation:

Both in the TOP_OF_PAGE and in the END_OF_PAGE events, you are able to determine the actual number of pages using the PAGE parameter.

Do I understand this correctly? When printing, the value of PAGE = 1, 2, 3 etc. How does one then accurately determine the number of pages?

We are on ECC6, NetWeaver version 7, and we are using class cl_salv_table for ALV output.

Former Member
Not what you were looking for? View more on this topic or Ask a question