09-10-2008 1:15 PM
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.
09-10-2008 1:20 PM
hi deepak,
use sy-pagno: it will give u current page number
hope it will help ypu
rahul sharma
09-10-2008 1:18 PM
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
09-10-2008 1:19 PM
09-10-2008 1:20 PM
hi deepak,
use sy-pagno: it will give u current page number
hope it will help ypu
rahul sharma
04-29-2010 6:02 AM
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.