Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Number of pages with ALV output

Former Member
0 Kudos

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.

1 REPLY 1

Former Member
0 Kudos

HI,

Refer to the link.

Regards

Sumit AGarwal