Skip to Content
avatar image
Former Member

Invoice split due to different partner data

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Apr 17, 2008 at 01:47 PM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 11, 2008 at 05:13 AM

    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

    Add comment
    10|10000 characters needed characters exceeded