Skip to Content

Avoid splitting sold to party

Hi experts,

The user needs to be able to créate invoice from sales orders with different sold-to-party. After checking in SCN that's what I did:


VOFM -> Data transfer -> Billing documents -> routine 911.

modul(3) VALUE '911',
vkorg LIKE vbak-vkorg,
vtweg LIKE vbak-vtweg,
kunnr LIKE vbak-kunnr, " new field for split
END OF zuk.

vbrk-kunag = vbrk-kunrg.

But it's not working, I get error "Split due to different partner data"

Is there any way to do this requirement?

Thanks in advance,


pfwyn.png (19.7 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 26, 2018 at 10:01 AM

    How can 1 sales order have 2 or more sold-to's ?

    The sold-to is the main partner in the header of the sales order, it is the customer for whom you create the sales order.

    Assuming you could have 2 sold-to's in one sales order, if you avoid splitting, how would the postman bring 1 invoice to 2 sold-to's?

    Add comment
    10|10000 characters needed characters exceeded

    • There is already a functional consultant, this one asked me to find a solution for the client's requirement. He will tell the user there's no possibility to do what he asked. Thanks for your answers!

  • Jan 26, 2018 at 10:10 PM

    What you found is how to split an invoice. You can't force combination of documents when they're not eligible to be combined. There is even SAP Note that explains this functionality.

    Essentially, VBRK-KUNAG is fed from the respective field in VBAK. How could we stuff two different values there? It's not feasible. And we should not play a "switcheroo" with the customer number between the documents either. The reasons are too many to list here, the top one being it's illegal.

    Add comment
    10|10000 characters needed characters exceeded