cancel
Showing results for 
Search instead for 
Did you mean: 

Extra lines coming in invoice layout

Former Member
0 Kudos

Hello everyone,

I am getting problem in production..in DVL its working fine.

issue is...for invoice layout ...its working perfect if manually go for print.

but extra lines coming if schedule it in batch job..

can any body guide me on this.

how i will approach this issue..

Thanks

Lisa.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Are you ref. to F.62 transaction in FI? What layout did you assign in the correspondence? Is it SAP standard or customized?

Regards,

JQC

Former Member
0 Kudos

Hi,

This is invoice layout tcode vf03.

as its production and batch job issue..i am not able how to start it.

how to debug batch job in production system

Thanks

Santosini

Edited by: lisa rai on Aug 19, 2010 10:56 AM

Former Member
0 Kudos

Hi Lisa,

I just tried just now to set a batch job in our billing document form(invoice / VF03). everything is normal.

On the calling program of the smartform, SAP standard RLB_INVOICE or custom one. Insert a break-point any where from there, in the ABAP debugger, check the Global variables and verify all your internal tables there, then compare it with your online and background job. From there, you should have a lead why your issue is occurring.

Regards,

JQC

Former Member
0 Kudos

Hi jaime,

we are using a Zsmartform for invoice layout and billing output type is ZPIZ.

its working perfect if we execute online..but in batch job some extra lines coming in the invoice pdf.

in DVL we are not getting this issue.

so how i will approach in production.

i got one itab which contains those extra lines...

but when i put brk point in that itab..its not getting triggered.

so surprised...how its getting triggering in batch job.

Thanks

LISA

Former Member
0 Kudos

Hi Lisa,

If possible, try to ask your SD functional to have it replicated in your QA box. Then debug in QA:

Do this check:

In your smartform,

1. check the Form Interface > Tables

2. Inside the SMARTFORM, look for the window node > table line or table template node where you use that table

3. Take note of the code node name so that you can easily trace it in debug

For sure it has something to do with the clearing of data in the internal table or something to do with the looping, not with running it as a batch job.

If you have doubt, you can check the logic of the program of the smartform or the print program of the smartform that have:

sy-batch, perhaps it might be appending/inserting a line in an internal table if run on batch job.

Regards,

JQC

Former Member
0 Kudos

ok..let me check ..what you mentioned.

Thanks.