on 03-21-2012 5:42 AM
Dear ABAPers,
I am using the SAP standard variables to display page numbers in SAP-script.
&PAGE&/&SAPSCRIPT-FORMPAGES(C)&
Statement (C) had been used to condense the spaces coming between page number and total formpages. E.g ( 1/ 1).
This statement is displaying wrong page numbers for the spools of pages more than 10.
It displays page numbers as 1/1, 2/1 till 10/1 and then displays page numbers as 11/15, 12/15 till 15/15 for a spool of 15 pages.
Kindly let me know if anyone has faces this issue and possible solution.
Also please specify the reason why this statement is working in this way.
Thanks in advance for your help.
Regards,
Rajesh Kumar
Hello,
this is a know issue. Please move the variable to a internal variable in SAPScript before or see SAP note https://service.sap.com/sap/support/notes/836270 and implement the output similar to the correction instruction.
BR
Tobias
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rajesh,
Try following option -
&PAGE&/&SAPSCRIPT-FORMPAGES(3ZC)&
Br,
Nikhil Patil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey,
Please use this.
Page &SAPSCRIPT-COUNTER_0(+)& / &SAPSCRIPT-JOBPAGES&
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
try the following option -
&PAGE&/&SAPSCRIPT-FORMPAGES(3ZC)&
and check the pages option :-
under page counter check if Mode is "INC" and output length is "00".
Thanks and regards,
Chirag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use &PAGE&/&SAPSCRIPT-FORMPAGES(3)&
or use JOBPAGES
&PAGE&/&SAPSCRIPT-JOBPAGES(3)&
Thanks & Regards
Bala Krishna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.