Skip to Content
0
Former Member
Feb 13, 2007 at 02:22 AM

&PAGE& of &SAPSCRIPT-FORMPAGES&

118 Views

Hi,

I used &PAGE& of &SAPSCRIPT-FORMPAGES(C)& in SAPscript to display the page numbers in every pages. If the total of pages less than 10 pages, then everything is fine. But there is a problem when the total of pages are 10 or more than 10 pages.

For example, I printed a SAPscript document which have 16 pages then it is printed the page number in every page as below:

<b>1/1, 2/1, 3/1 ,4/1 ,5/1, 6/1, 7/1, 8/1, 9/1</b>, 10/16, 11/16, 12/16, 13/16/, 14/16, 15/16, 16/16

What is the problem for the first 9 pages? Why the &SAPSCRIPT-FORMPAGES(C)& of first 9 pages gave me "1" only instead of actual number "16"?

Thank you.