cancel
Showing results for 
Search instead for 
Did you mean: 

Change invoice output type when create invoice

Former Member
0 Kudos

I have configured to create invoice output type to print and archive as default but I want to do further checking that if net amount is zero, I do not want to print but to archive only.  Therefore I want to change this output type say ZPA1 (storage mode = Print & Archive) to ZNPA (No Print, Archive only)

because my print program have logic to handle ZNPA output types for archive only.

Is it possible during the billing process?  I have posted this in ERP Developer center as well.

Thanks for your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

Florian
Active Contributor
0 Kudos

Hi Valerie,

sure, this is possible.

you just have to check on structure VBDKR. There you can check the balance of the invoice. I'm not sure, what the exact field is.I think it should be NETWR.

So just add a condition, to process it, whenever it will be not equal to zero, of course with some side-statements

~Florian

BTW: You can check on this in the messaging already and so do not let your ZNPA show up.

But that is another story to tell