Skip to Content
0
Former Member
Jun 29, 2007 at 10:37 AM

Truncate &PAGE& in SAPCRIPT

12 Views

Hi all,

I have problems for printing the page number in a SAPSCRIPT.

I´m using: AS &PAGE& / &SAPSCRIPT-FORMPAGES&

The forms works ok if I have less than 10 pages. It puts 1/10, 2/20.........9/10

But if it has 10 or more pages it puts 1/10 again instead of 10/10

can be truncated the &PAGE& ????????

Which is the correct way for the sentence: AS &PAGE& / &SAPSCRIPT-FORMPAGES& for printing ok, for example 1/15, 2/15..........14/15, 15/15 instead of 1/15, 2/15, 1/15, 1/15

Thans in advance.

Pilar.