cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in displaying SAP SCRIPT Page numbers

Former Member
0 Kudos

Hi,

I have a problem in printing the total form pages in my SAP Script output.

There are actually 13 pages in my output. And i'm using

Page &PAGE&/&SAPSCRIPT-FORMPAGES(C)&

to print the page numbers and the total page numbers.

But in the output it is displaying as Page 1/1 in page 1,

                                                   Page 2/1 in page 2,........... for the first 10 pages.

There after it is printing as Page 11/13 in page 11,

                                      Page 12/13 in page 12,

                                      Page 13/13 in page 13.

Can some one help me in resolving the issue....

Accepted Solutions (1)

Accepted Solutions (1)

former_member585060
Active Contributor
0 Kudos

Hi,

   Try removing (C) or giving (3) to display only 3 characters.

&PAGE&/&SAPSCRIPT-FORMPAGES(3)&

or

&PAGE&/&SAPSCRIPT-FORMPAGES&

Thanks & Regards

Bala Krishna

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Every one,

The problem has been resolved.

I used &PAGE&/&SAPSCRIPT-FORMPAGES(2)& to print the page number. And it is printing fine now..

Regards,

Narayana Reddy A V L.

former_member585060
Active Contributor
0 Kudos

Hi,

    Try below way

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

Thanks & Regards

Bala Krishna

Former Member
0 Kudos

HI Bala Krishna,

Thanks for the reply.

I changed it, but still it is printing in the same way.

Regards,

Narayana Reddy A V L.

nabheetscn
Active Contributor
0 Kudos

How many pages have y9ou defined in your script. Please make sure its not the space problem in printing being the issue. Please attach a screen shot plus details like how many pages are there.

former_member189779
Active Contributor
0 Kudos

Hi

Instead using compress form write only &SAPSCRIPT-FORMPAGES&

Seems for first 10 pages '3' getting supressed.