Application Development and Automation 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: 
Read only

sapscripts

Former Member
0 Likes
464

I am using the following code &PAGE& OF &SAPSCRIPT-formpages(2)& to display the page number on purchase orders. This will work correctly if there only a few pages e.g. 1 of 3, 2 of 3, 3 of 3. However when it goes into multiple pages it will always print the first page as 1 of 1 but the remaining pages will print successfully e.g. 2 of 19, 3 of 19.. .. .19,19

The first page will always display 1 of 1 !??!?!

4 REPLIES 4
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
436

Hi,

Try

&SAPSCRIPT-formpages(<b>3Z</b>)&

Read only

Former Member
0 Likes
436

hi Sudhir,

Give this way ..

&SAPSCRIPT-formpages(4Z)& 

Regards,

Santosh

Read only

Former Member
0 Likes
436

hi sudhir,

Try this: &PAGE& OF&SAPSCRIPT-FORMPAGES&

No space after OF.

or

&PAGE& OF &SAPSCRIPT-FORMPAGES(2)&

Regards

GNK

Read only

Former Member
0 Likes
436

Hi Sudhir ,

Try this below

PAGE NO : &PAGE& OF &SAPSCRIPT-FORMPAGES&

Thanks & Regards

Ravindra