on 03-28-2008 6:10 PM
I would like to add page numbers to a form. I would like to do something like this.
Page: 1 of 2 or
Page: 2 of 2
Any help would be greatly appreciated.
Hi,
From Release 3.0, SAPscript allows you to output the total number of pages on any output page:
2 new system symbols (note upper case) were therefore introduced:
&SAPSCRIPT-FORMPAGES&
Total page number based on the current output layout set:
&SAPSCRIPT-JOBPAGES&
Total page number based on all output layout sets created with the function modules OPEN_FORM, START_FORM .. ENDFORM, START_FORM .. END_FORM, ..., CLOSE_FORM
Examples:
Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
Specifies the current page number and total page number. The additional specification (C) outputs the symbol in a compressed form, that is the leading blanks are omitted in the 4-character output (default).
Number of all output pages: &SAPSCRIPT-JOBPAGES(C)&
Outputs the total number of output pages. Caution: When using this symbol, all output pages must be held in the main storage so that the total page number can be inserted at the end of the output. Larger outputs can affect performance.
Thanks&Regards,
Phani,
POINTS HELPFUL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.