Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Invoice PDF output duplicated

Former Member
0 Likes
428

Hi,

Some times the PDF output of the invoice is duplicated with that of previous invoice,where the invoices are created simultaneously via transaction VF04.

We use a custom program and Sapscript for this purpose.

But this doesn't happen all the time and only happens occasionally even with two invoices.

Not too sure if some buffering concept is invloved.

Could not find any relavant notes describing similar problem in the SAP service.

I have tried tracing the output of FM 'CONVER_OTF',but with no clue.

Can someone guide me in sorting this problem.

Many thanks in advance.

Regards,

Babul

Edited by: Babul on Mar 31, 2010 11:31 AM

Hi,

Some times the PDF output of the invoice is duplicated with that of previous invoice,where the invoices are created simultaneously via transaction VF04.

We use a custom program and Sapscript for this purpose.

But this doesn't happen all the time and only happens occasionally even with two invoices.

Not too sure if some buffering concept is invloved.

Could not find any relavant notes describing similar problem in the SAP service.

I have tried tracing the output of FM 'CONVER_OTF',but with no clue.

Can someone guide me in sorting this problem.

Many thanks in advance.

Regards,

Babul

Edited by: Babul on Mar 31, 2010 11:31 AM

1 REPLY 1
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
390

I don't think the problem is in the OTF conversion. It looks more like an error in the output processing program - either the invoice number gets "stuck" somewhere or something is getting called numerous times. I'm afraid you'll have to go through it with a fine comb, especially check for SELECT statements, any loops and subroutine calls.

It is less likely but the problem might be in the script as well.