Show TOC

New Functions for SAPscript Symbols as of 3.0

Description

General information:

New symbols:

New editing options:

Control commands

Total number of pages

Description

From Release 3.0 it is possible to output the total number of pages on any page:

2 new system symbols have been implemented for this (uppercase!):

Examples:

Page &PAGE& of &SAPSCRIPT-FORMPAGES(C)&
Outputs the current page number and the total number of pages. The addition (C) outputs the symbol in compressed form, i.e., leading blanks in the default 4-character output are not displayed.

Number of output pages: &SAPSCRIPT-JOBPAGE(C)&
Outputs the total number of pages. Caution: When you use this symbol, all output pages must be held in main storage in order that the total number of pages can be set at the end of the output. With large output this may impair performance.