on 01-12-2008 5:58 PM
Hi,
I have to print original form and copy form from one print program in background,once the original is printed it should print copy form.
Can we do some setting in sartor so that it should print original first and then copy with one extra text "COPY". Or two forms should be developed and called in single print program?
Thanks in advance,
Regards,
Ali
hi
i think that you will have to call smartforms twice.
the first smartform you print out the original and in the second you printout the copy.
discriminating could be a field in the importing parameters of the function that allows to show text "COPY" in the smartforms.
If you want you can create a unique spool WITH 2 smartform you have to set value NO_OPEN and NO_CLOSE int the CONTROL_PARAMETERS (type SSFCTRLOP) of the output_parameter (this in an importing parameter of smartforms function)
for example 3 smartform in 1 spool
1st call: NO_OPEN = SPACE.
NO_CLOSE = 'X'.
nth call: NO_OPEN = 'X'.
NO_CLOSE = 'X'.
last call: NO_OPEN = 'X'.
NO_CLOSE = SPACE .
Bye
Marco
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
i never used these function but i've found this link.
[http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/62ae7fcd-0b01-0010-3e9d-a54f26944450]
[http://help.sap.com/saphelp_nw2004s/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/content.htm]
[http://help.sap.com/saphelp_nw04/helpdata/en/64/bf2f12ed1711d4b655006094192fe3/frameset.htm]
hope that is useful.
bye
Marco
Edited by: nicolai marco on Jan 14, 2008 12:36 AM
Ali,
No need of creating 2 Smartforms.
When calling the Function module of the smartform you can specify the number of copies you want to print.
Import param for FM has OUTPUT_OPTIONS in that specify
OUTPUT_OPTIONS-TDCOPIES = 2 and in print program control the output for printing COPY as heading.
Hope things are little clear now.
Regards..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.