Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sapscript - printing first invoice

Hello everyone.

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.

Regards,

Helder

Former Member
Former Member replied

Hi,

Look at variable NAST-ANZAL. Use logic such as:

/: If NAST-ANZAL = 1

title is .....

/:else.

titel is 'duplicate'

/:endif.

Hope this helps,

Warren

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question