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: 

Print Page numbers in classical report

Former Member
0 Kudos

Hi,

I want to print page numbers as

Page 1 Of Total Pages.

If there are total 4 pages generated in list then i want to print

Page 1 Of 4

Page 2 Of 4

Page 3 Of 4

Page 4 Of 4

How can i achieve this.

Regards,

Deepak.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

hi deepak,

use sy-pagno: it will give u current page number

hope it will help ypu

rahul sharma

4 REPLIES 4

Former Member
0 Kudos

Hi,

Check thess links

[http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba09035c111d1829f0000e829fbfe/content.htm]

and

[http://www.sapfans.com/forums/viewtopic.php?f=13&t=24067&start=0&st=0&sk=t&sd=a]

Regards,

Surinder

former_member705122
Active Contributor
0 Kudos

Similar Question,

link:

Former Member
0 Kudos

hi deepak,

use sy-pagno: it will give u current page number

hope it will help ypu

rahul sharma

0 Kudos

hi,

yes sy-pagno. gives the current page.

if we want to print the page number based on year wise ( i.e for example every year change we want to have page no. to start from again 1, 2 , ... so on..

use :

for every year change.. make sy-pagno = 1.

or

at new GJAHR.

NEW PAGE.

SY-PAGNO = 1.

ENDAT.

regards,

balu.