Skip to Content
avatar image
Former Member

Intercompany billing with several supplying company codes

Hello gurus,

I would like to set up the scenario below but I am blocked and would like to know if someone could help me.

I have 3 company codes CC1, CC2, CC3.

Company codes CC1 & CC2 have respectively plants PL1 and PL2, sharing the same shipping point SP1, and sales organizations SO1 and SO2.

Storage locations SL1 of PL1 and SL2 of PL2 are sharing the same warehouse number WN1.

Company code CC3 receives a sales order from a customer for product A1 (belonging to CC1) and for product A2 (belonging to CC2).

I would like to set-up an intercompany process :

- with only 1 delivery (to be able to put the two products A1 and A2 in the same physical box),

- with only 1 invoice to the customer of CC3,

- with 1 intercompany invoice from CC1 to CC3 for product A1 and 1 intercompany invoice from CC2 to CC3 to product A2.

I have done all the customizing related to the intercompany process.

First I have a problem creating only one delivery as I do not have the same "Sales organization for intercompany billing" (VKOIV) for the different products.

So I get the message VL033 "Item 00020 : delivery split due to conflicting header data (VKOIV: SO1 <-> SO2)".

It seems that it is not possible to change this header field by a copy control between sales order and delivery.

I put this field manually to ' ' (blank) when debugging : my delivery was "correctly" created and I was able to create my transfer order and to post the goods issue. Product A1 was correctly issued from company code CC1 and product A2 was correctly issued from company code CC2.

I was also able to create the invoice for the customer of company code CC3.

But, when I am trying to create the intercompany billing (invoice type IV) with transaction code VF01, I get the error message VF 0009 : "Sales organization is not defined". Of course, because I have deleted it ... :-)

What I would like is that the system splits the intercompany invoice in two IV invoices.

Is the creation of only one delivery and two intercompany invoices possible, certainly not thanks to pure customizing but at least thanks to a "clean" ABAP code according to you ?

Thanks a lot in advance for your help.

Best regards.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 16, 2013 at 03:29 PM

    Dear,

    First of all ,I would have appreciate you for taking this scenario here .

    Company Code CC1              Company Code CC2          Company Code CC3

                   Plant PL1                             Plant PL2                       -

          Sales Org   SO1                   Sales Org   SO2                       -

    Storage Loc SL1& SL2      Storage Loc PL1 & PL2                      -

    Shipping point  SP1                Shipping point  SP1                      -

    Now ,The Company Code CC3 receives a Sales Order from a Customer for Product A1 (belonging to CC1) and for Product A2 (belonging to CC2) .

    Now ,you want to do Delivery one with two Procducts and only One Invoice from CC3 to Customer  and Two Inter Company Invoices from CC1 to CC2 and also CC2 to CC3 .

    Note : This is not possible to raise one sales order why because A1 is in one sales area and A2 is in another sales area .So ,in this case ,How can we create One Sales Order and do delivery ?

    Query and Suggestion : Why dont you want create Inter Company Scenario b/w CC1 and CC2 to get Material from their plant PL! to PL2 and here again ,we have to run 2 nd Inter Company Scenario to send that Product to Customer from CC2 to CC3 .I think ,this is simple way to achieve the correct Out Put .

    If you have any doubts please let me know.



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Narendra Konnipati

      Hi,

      At the beginning, I wanted to check if it would be possible to create only one delivery with products of two company codes.

      My initial intercompany billing customizing (IMG > Sales and Distribution > Billing > Intercompany Billing > Assign Organizational Units By Plant > Assign Organizational Units to the Plants) was the following :

      Plant PL1 => Sales organization SO1 / Distribution channel 02 / Division 10

      Plant PL2 => Sales organization SO2 / Distribution channel 02 / Division 20.

      When I tried to create my delivery, I get the message VL033 "Item 00020 : delivery split due to conflicting header data (VKOIV: SO1 <-> SO2)".

      To check if there was no further check, I manually deleted in debug mode the content of the field VKOIV at the time of the creation fo the delivery and the delivery was "correctly" created.

      It means that the only problem is that the case of having two differents supplying company codes within the same delivery has "not been planned" by SAP.

      But deleting the info LIKP-VKOIV represents a problem when trying to create the intercompany invoice IV (whether it is thanks to VF01 or VF04).

      As mentionned in my answer to Eduardo's mail below, if I "cheat" in the customizing by linking my two delivering plant PL1 and PL1 to the same sales area SO1, I am able to create only one delivery with LIKP-VKOIV filled with SO1.

      But when trying to create the IV billing document, the system creates correctly the invoice for the product A1 (created for SO1) but of course does not creat the invoice for the product A2 (created for SO2 and not for SO1).

      Thanks to the copy control between delivery and invoice at item level, I could use a split criteria (ZUKRI) to separate the invoice in two, but I will still keep the sales org SO1 in the header. And for the second invoice of product A2, I do not see a technical way to redetermine the header sales org and to put SO2 instead of SO1.

      I tried to use VF04 instead of VF01 but I got the same problems.

      I hope that it is clearer for you now.

      Best regards.

  • avatar image
    Former Member
    Jan 16, 2013 at 05:03 PM

    Hi Jean-Marc,

    Please, see these notes and read them as a checklist:

    SAP Note 11162 - Invoice split criteria in billing document

    SAP Note 109254 - Customizing stock transport order Cross Company

    SAP Note 308989 - Consulting note for cross-company transactions

    SAP Note 543821 - FAQ: cross-company processing

    SAP Note 38501 - Intercompany billing before customer billing document

    For instance, in note 308989 check the point I.1.2 carefully, and check also note 38501

    I hope this helps you

    Regards

    Eduardo

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello,

      Thanks for giving me those SAP Notes.

      Unfortunately, I found no solution to my problem.

      For the intercompany billing, SAP requires to have the field LIKP-VKOIV filled.

      If it is empty (like I did by debugging the program), in transaction code VF01, the system is blocking me and I do not even reach the copy control code ...

      If I "cheat" in the customizing by linking my two delivering plant P11 and P12 to the same sales area SO01, I am able to create only one delivery with LIKP-VKOIV filled with SO01.

      But when trying to create the IV billing document, the system creates correctly the invoice for the product A1 (created for SO01) but of course does not creat the invoice for the product A2 (created for SO02 and not for SO01).

      Thanks to the copy control between delivery and invoice at item level, I could use a split criteria (ZUKRI) to separate the invoice in two, but I will still keep the sales org SO01 in the header. And for the second invoice of product A2, I do not see a technical way to redetermine the header sales org and to put SO02 instead of SO01.

      Any idea please ?

      Thanks for your help.

      Best regards.

  • avatar image
    Former Member
    Feb 21, 2013 at 09:05 AM

    Hallo,

    we are using this process since may years (since 1996).

    The solution is not to create one delivery, but to use warehouse management functionality. The key is that your two plants share one warehouse. There is functionality in the system to combine WM transport orders into "reference numbers" - these can be done even if the transport orders belong to deliveries in different company codes, as long as they are in the same warehouse. The "referenced number" allows to pick all the products for the shipment to the customer together.

    You may want to look for "Multiple Processing" in the SAP help of Warehouse Management System.

    For us the process works very well, but for the complete process chain it is not straight forward - you may have to use some user-exits or BADis to make it work for your special needs.

    Hope this helps.

    Add comment
    10|10000 characters needed characters exceeded