on 06-25-2008 3:33 PM
hi,
I am working on 3.1H version of SAP .It doesnot have the Page X of Y facility.I need an urgent help on:
In sapscript i need to print 20 lines per page .And derive no of pages from page count.And print the below matter at the footer level.
"THIS CERTIFICATE CONSISTS OF -
PAGES(),INCLUDING ALL ATTACHMENTS,WITH THIS BEING PAGE --- OF -
."
sneha.
Hi,
Modify your statement in this way
"THIS CERTIFICATE CONSISTS OF &SAPSCRIPT-JOBPAGES& PAGES(),INCLUDING ALL ATTACHMENTS,WITH THIS BEING PAGE &PAGES& OF &SAPSCRIPT-JOBPAGES"
if you use above statement in WRITE_FORM between OPEN_FORM and CLOSE_FORM then formpages and Jobpages give same value..
if you call that window between START_FORM & END_FORM the there will be different...
JOBPAGES ---> no of pages in perspective of printer..
FORMPAGES---> No of sets of pages in perspective of programmer.
Hope this would help you
Regards
Narin Nandivada
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
SAPscript: Total number of pages
Description
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.
Regards,
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sneha,
use command like &PAGE&/&SAPSCRIPT-FORMPAGES&
for page in script.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
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.