Skip to Content
Feb 04, 2011 at 09:10 AM

finding total no.of pages in ALV.


Hello All,

I have used the class "CL_SALV_HIERSEQ_TABLE" to display Hierarchical-Sequential ALV.

I have got the event TOP_OF_PAGE from the method GET_EVENT and using this event

I am able to print the current page number(event has exporting parameter page)

on every page while printing.

Now I require the total no.of pages so that I can print in x of YY method.

x - currrent page

YY - total no.of pages.

As this is Hierarchical ALV I dont think it is a good idea to count the total no.of records

in internal table and calculate the no.of pages.

Help me in solving this

With regards,

Sandeep akella

Edited by: sandeep akella on Feb 4, 2011 10:20 AM