cancel
Showing results for 
Search instead for 
Did you mean: 

&PAGE& Statement displaying page no incorrectly after nine pages

Former Member
0 Kudos

Hi All,

In payment advice form(SAP Script) following command is used &PAGE& / &SAPSCRIPT-FORMPAGES&.

Say if the total no of pages is 15. Then up to Nine pages it is dispalying correctly ie 1 / 15 , 2 / 15...But after 9 / 15 it is displaying only 1 / 15 for all the remaining pages instead of 10 / 15, 11 / 15, to 15 / 15.

Please give your suggestions... Thanks in Advance

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Please check whether the page counter is set as INC or not for the rest of the Pages.

Regards,

Ram

Former Member
0 Kudos

Hi Boss,

check the sap notes for form pages.

With Regards,

Narasimha Rao.N

raymond_giuseppi
Active Contributor
0 Kudos

Look at this OSS [Note 588352 - '*' when you output the total number of pages|https://service.sap.com/sap/support/notes/588352] (and perform some [search at sdn for &SAPSCRIPT-FORMPAGES&|https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=%26sapscript-formpages%26&adv=false&sortby=cm_rnd_rankvalue])

(SAP suggest a syntax like &SAPSCRIPT-FORMPAGES(3ZC)&)

Regards

Former Member
0 Kudos

Hi,

This Note is talking about &SAPSCRIPT-FORMPAGES& but actually my problem is with &PAGE& statement. So kindly ge me a other suggestion.

Former Member
0 Kudos

Hi,

Try &PAGE(3ZC)&. This means PAGE is displayed with length 3 (3), remove leading zeroes (Z), and condense (C).

Regards,

Teddy Kurniawan