Sapscript - printing first invoice
I have a problem. I'm working on a form and for legal reasons, the frist time we print it, it comes with a header message "INVOICE" and after it comes with the message "DUPLICATE".
This is working except in one case : if at first printing we choose to print more than one copy, all of them will come with the message INVOICE wich is incorrect.
How can i correct that ? Is it in the extraction program or in the sapscript that i have to correct it ?
Thanks for any help.
Look at variable NAST-ANZAL. Use logic such as:
/: If NAST-ANZAL = 1
title is .....
titel is 'duplicate'
Hope this helps,