cancel
Showing results for 
Search instead for 
Did you mean: 

Invoice split due to different partner data

Former Member
0 Kudos

Hi,

Based on two sales orders, we would like to create one billing document. Here's the case:

Sales order 1 (and delivery 1) has customer number A as sold-to party and customer number C as bill-to party and payer

Sales order 2 (and delivery 2) has customer number B as sold-to party and customer number C as bill-to party and payer

Using the "Simulate" option in VF04 causes the system to propose two different billing documents, due to the following (info from the split analysis):

Split due to different partner data:

Customer Number 1

Address

Split due to different header data:

Sold-to party

We have attached a VOFM routine to the processing, in which we clear out the sold-to party:

clear: vbrk-kunag

This eliminates the "split due to different header data", but how do we clear out the fields "Customer Number 1" and "Address"? I have tried the following code in the same VOFM routine, but with no luck:

clear: vbpa-kunnr

-> How can we clear out the customer number and the address to eliminate the split?

All helpful answers will be rewarded.

Best Regards,

MV

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mari,

Even i am facing the same problem. I am creating single invoice from multiple delivery numbers.

When i performed split analysis, i came to know that the split is occuring as a result of:

--> Split due to different partner data

Address

Split due to different header data:

i was able to clear the header fields and prevent the "Split due to different header data". However, i am struck up with the "Split due to partner data".

Please let me know as how you proceeded in solving the problem.

Thanks in advance.

Regards,

Rajesh

ranjeetrajendra_jain
Active Contributor
0 Kudos

Hi Mari

You probably need an abaper to debug the same and check which details are splitting the Doc even after you claer the header details. Use an abaper to help you through the same. they are more conversant in such issues...

Regards