on 10-13-2006 10:50 PM
Hi Everyone,
I have been trying to print page numbers on the script in this format.
Page &PAGE& of &SAPSCRIPT-FORMPAGES&
When i debus the script, i realize that the field &SAPSCRIPT-FORMPAGES& is picking only 1 page, so on each page i am getting 1 of 1.
How do i rectify this.
I have 4 pages.
Thank you,
Deepthi
Points will be rewarded
It must automatically incremented after the new page is created... are you sure u have the next
page generated...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Use <b>PAGE &page& OF &SAPSCRIPT_JOBPAGES(3C)&</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the SY-PAGNO system variable for ABAP
and use &PAGE& for SAPScript.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Deepthi,
I'm sure you must have set the page property of
Page Counter:-
Mode START
Change it to
Page Counter:-
Mode INC
Regards
Amit Vaidya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Don't worry!
The system can know the right number of page only at the end, so you should see the result after printing the document
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
No! It seems all is ok, from SAP help:
&SAPSCRIPT-FORMPAGES&:
This field contains a number representing the total number of pages of the currently formatted form (any output between START_FORM and END_FORM). The page counter mode (START, INC, HOLD) of the individual pages is ignored. You can use this symbol to formulate information like
Page x of y for your output.
Max
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.