on 02-21-2007 3:47 PM
Hi,
This is related to paging in Sapscript forms. When I am running a form(lets say pickslip) in batch job, we want to print job pages. If the job contains 5 pickslips and each of 2 pages, it should show '1 of 10' till '10 of 10'. System field 'sapscript-jobpages' seems its not working for the total no of pages in the job. Can anybody has any idea on this ? (I tried with formpages. It gives the total no of pages in the current pickslip. For the example i have mentioned it shows 1 of 2 and 2 of 2 for each pickslip, which is correct)
Thanks,
Ashok
did you give any length specifications for jobpages ?
i guess it will b e coming as 2 of 1 etc...
try giving &sapscript-jobpages(2C)& .. please check the syntax for length specification
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
you have to reinitilise the increment counter as 1 after every pick slip.
reward points if its helpful.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
there are two counter's one gives the no of pages for the form ity is &SAPSCRIPT-FORMPAGES&.
the other is total no of opages in the job &SAPSCRIPT-JOBPAGES&.
http://help.sap.com/saphelp_erp2005vp/helpdata/en/d1/8033ea454211d189710000e8322d00/frameset.htm
If you have problem while using teh above commands that is if it gives 1/1 2/1
etc...
use &SAPSCRIPT-JOBPAGES(2C)& where C is the condense option and 2 is the length specification
PLZ give reward points if the post is helpful
User | Count |
---|---|
95 | |
11 | |
11 | |
10 | |
9 | |
7 | |
6 | |
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.