06-29-2007 11:37 AM
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.
06-29-2007 12:18 PM
Hi,
I think the space is not sufficient increase its width and try.
Regards,
sasi
06-29-2007 11:42 AM
Hi
The syntax looks fine
try in this way
/ Page: &PAGE& of &SAPSCRIPT-FORMPAGES&
see that enough space is there to print all the data
first try in the starting of line and then adjust
it should print all the figures correctly
Reward points for useful Answers
Regards
Anji
06-29-2007 12:19 PM
Thanks for the answers.
I yet have solved the problem.
The solution is:
In the definition of the page FIRST there is a field (output length) that allows to fix the lenght of the variable for printing the page number. That field had the value 1, so I never saw the page number 10, :-(.
Thanks anyway for your help.
Pilar.
06-29-2007 12:18 PM
Hi,
I think the space is not sufficient increase its width and try.
Regards,
sasi