on 03-13-2006 10:54 AM
Hi All,
I have to print 2 copies of a SAPscript. One is an internal copy and one is a customer copy.
I would like to print 'Customer Copy' on the 2nd copy. But I cannot seem to find any SAPscript system variable that keeps track of the copy count... I know that Smartforms uses a COPYCOUNT variable but I am using SAPscript here.
Any ideas? Has anyone done this before?
Thanks,
N.
Hi,
did you check if the information is in the table NAST ?
have a look to the SAPScript of the Invoice, SAP manage the copy in the invoice.
Rgd
Frédéric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Fill the structure ITCPO... with TDCOPIES = 2 and pass it to the OPEN_FORM FM
Now while printing the form... in your print program
declare a variable to hold the string value "Customer copy'
do tdcopies times
case sy-index.
when 1.
var = 'ORIGINAL'.
when 2.
var = 'CUSTOMER COPY'.
...
when others.
endcase.
call your text element where you are displaying the var value
enddo.
regards
padma
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi niall,
1. Probaby u can use the page number
to print using if condition.
&PAGE&
regards,
amit m.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have a SAP script in which i need to display the currect page number and copy number of the form. How can this be done ...
eg. Copy 1 of 4 ,copy 2 of 4 like that.
The total no. of copies will come from NAST table , but i don't know where the currect number will come from .
I got the total no of copies from nast table but i dint get the current copy can u help in this.
thanks in advance,
Anil.
Hi Niall,
Check out with the field ANZAL in table NAST. I hope this will give some help.
Thanks,
Hasmath.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.