cancel
Showing results for 
Search instead for 
Did you mean: 

Number of Pages in SAPSCRIPT

Former Member
0 Kudos

Hello Guys

i have a problem with numer of pages in SAPSCRIPT.

In SAPSCRIPT code i have:

&PAGE&/&SAPSCRIPT-FORMPAGES&

any way it doesn't work, for example when i have 3 pages it print always 1 / 3 also on page 2 and 3.

Do you know how it calculate these pages? maybe there is some setting or parameters in open_form or something similar????

please let me know

thanks in advance

Boris

View Entire Topic
Former Member
0 Kudos

Hi,

1.Set the pages>page counter> mode as INC.

All these are script related:

&DATE& Currentdate

&DAY& Day

&MONTH& Month

&YEAR& Year

&TIME& Time of the day

&HOURS& Hours

&MINUTES& Minutes

&SECONDS& Seconds

&PAGE& Page

&NEXTPAGE& Next page number

&SPACE& Blank

&ULINE& Underline

&VLINE& Vertical line

&NAME_OF_MONTH& Name of the Month

&SAPSCRIPT-FORMPAGES& Total number of pages in currently formatted layout set

&SAPSCRIPT-JOBPAGES& Total number of pages in currently formatted print request

Regards,

Shiva.