on 11-19-2017 8:54 PM
Dear Adobe Form gurus,
We are interested in hearing any experiences on how to pass the "Number of Copies" when generating spools for Adobe Forms with ADS.
We have read a lots of posts and forums out there and seems that no one has cracked this enigma on how to handover the "Number of Copies" to Zebra command ^PQ , eg:
Multiple copies in Adobe form with different header text https://archive.sap.com/discussions/thread/1881365
1009567 - Functional differences between SAP Interactive Forms and Smart Forms https://launchpad.support.sap.com/#/notes/1009567
Hence here it goes, any ideas on how to solve this requirement?
Best, Daniel
Requirement SOLVED by:
a) creating 22 custom .xdc files in ADS to handle Number of Copies multiples stating respectively command: ^PQ1, ^PQ2, ^PQ3 ... ^PQ20, ^PQ100, ^PQ250.
b) creating an Enhancement Implementation in ERP in LFPCOMPINT with our ABAP code to dynamically breakdown the required Number of Copies into spools matching those 22 .xdc files in ADS.
Example:
If 1 Copy is required we generate 1 spool using .xdc file maintained with ^PQ1
If 2 Copies are required we generate 1 spool using .xdc file maintained with ^PQ2
If 3 Copies are required we generate 1 spool using .xdc file maintained with ^PQ3
If 20 Copies are required we generate 1 spool using .xdc file maintained with ^PQ20
If 55 Copies are required we generate 3 spools: 2 x 20 with ^PQ20 and 1 x 15 with ^PQ15
If 155 Copies are required we generate 4 spools: 1 x 100 with ^PQ100, 2 x 20 with ^PQ20 and 1 x 15 with ^PQ15
If 555 Copies are required we generate 5 spools: 2 x 250 with ^PQ250, 2 x 20 with ^PQ20 and 1 x 15 with ^PQ15
-------------
In all these cases field "Number of Copies" in spool is always 1, but the SAP spool file is generated and contains the relevant ^PQxx command. That can be seen if printer Trace is on and we open the Spool file in ERP. We used the Spool Text instead to state how many copies are actually printed for user information.
-------------
See also: Number of Copies set as maximum 255
"It is possible to enter a maximum of 255 copies (upper limit of the field in spool table). If you need more, print the spool again."
-------------
IF anyone has a better or more elegant solution we look forward to hear from you.
/Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.