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

Script - Page Number

Former Member
0 Likes
712

Hi,

I display page number in each page as &PAGE& of &SAPSCRIPT-FORMPAGES&, means current page number of total pages. But there are 25 pages in the script. From 11th page to 25th page, the page number is displayed correctly as 11 of 25, 12 of 25........25 of 25. But from 1st page to 10th page, it is displayed as 1 of 2, 2 of 2 ....10 of 2. What may be the error? How do i correct it?

Regards,

Ezhil.

7 REPLIES 7
Read only

Former Member
0 Likes
670

i think it is not 2 it is 25 due to small size it looks 2 increase size in right side

Read only

gautam_totekar
Active Participant
0 Likes
670

Display the same variables &PAGE& and &SAPSCRIPT-FORMPAGES&, somewhere else just for test peurpose.. It must be the problem with sizes of page , window and text elements .

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
670

Read only

0 Likes
670

Hi Keshu,

Did that work for you? I removed 'C'. But still its showing wrong upto 10th page?

Ezhil.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
670

Hello,

You can try :

&PAGE(CZ)& of &SAPSCRIPT-FORMPAGES(CZ)&

Hope this helps.

BR,

Suhas

Read only

Former Member
0 Likes
670

My problem not yet solved..I tried out all your methods.

Read only

Former Member
0 Likes
670

Solved. Thank you all.