on 04-23-2008 10:26 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
The system symbol &page& will display the page number on each page.
The table work area SAPSCRIPT contains fields, such as SAPSCRIPT-DRIVE, SAPSCRIPT-FORMPAGES and SAPSCRIPT-JOBPAGES that can be used as program symbols.
To get the number of pages If you use a single form for the driver program then use &SAPSCRIPT-FORMPAGES&. If you have multiple forms then to get total number of pages use &SAPSCRIPT-JOBPAGES&.
Reward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
increment page counter
in pages give the counter as inc
Regards,
Raj.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
use like this
&PAGE&/&FORMPAGES&
you will get the required o/p
reward if helpful
regards
prasanth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SAPSCRIPT-FORMPAGES will take care means it will give the count of the total pages in any sapscript.
Thanks
Sarada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.