Skip to Content

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

How to reset the page number?

Hi,

I am printing a list report. I am using the sy-pagno variable in the top-of-page for printing. After certain pages, the page number needs to get reset and start printing as '0' from that page again.

How do I achieve this?

Thanks.

Tags:
replied

Instead of using sy-pagno call the subroutine from event top-of-page and within this routine define a static variable and increment it by 1 to display the page no. and also write the condition based on what u need to reset it to 0.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question