Skip to Content
0
Former Member
Apr 09, 2010 at 05:54 AM

display page numbers in alv display

39 Views

Hai all,

I am using fm REUSE_ALV_HIERSEQ_LIST_DISPLAY for the alv display.

I am also passing the 'top_of_page' subroutine to the event table.

The requirement is , I need to display the page number in the top of page.

ex header format is as below:

company name : abcd. date : xx.yy.zzzz.

page number: 1

in the next page that is when user scrolls down,

the output should be,

company name : abcd. date : xx.yy.zzzz.

page number: 2

in the top of page subroutine I am passing sy-pageno.

When I executed this, the page number is always showing '1' when I am usinng page down button.

But when take the printout, it is coming fine.

is it possibel to increment the page number, for every pagedown button hit?

Thanks & Regards,

Bhaskar