cancel
Showing results for 
Search instead for 
Did you mean: 

Page number not increasing in Script. Always showing as '1'

Former Member
0 Kudos

Hi,

Iam using following code for page numbers in script.

&PAGE& of &SAPSCRIPT-JOBPAGES&

Page numbers are not increasing. always showing page number as '1'.

For example I have 5 pages.

first page Iam getting as 1 of 5.

and secod page Iam getting as 1 of 5..so on and in last page as 1 of 5.

Could anyone guide me.

Thanks

Krishna

Accepted Solutions (1)

Accepted Solutions (1)

Pawan_Kesari
Active Contributor
0 Kudos

Check Page Counter mode of Page in sapscript.

Goto PAGES tab in sapscript select the page and look for Page Counter mode in bottom. It should be 'INC' .

Former Member
0 Kudos

Thanks ...solved problem..

I have not set the page counter mode as 'INC'.

Regards,

Krishna.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Check if you written the correct syntax.

&page& of &sapscript-jobpages& will work perfectly

sridhar_meesala
Active Contributor
0 Kudos

Hi,

&PAGE& - Gives you current page number.
&SAPSCRIPT-FORMPAGES& - Gives you the total number of pages.

Thanks,

Sri.

Former Member
0 Kudos

Hi,

Check thread:

Regards,

Himanshu