cancel
Showing results for 
Search instead for 
Did you mean: 

Sapscript - printing first invoice

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

check in the SAPScript on which condition it is printing the heading...

and check for the perticular PO why the condition is not getting satified...