<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Avoid invoice split in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728878#M897494</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to do it by the data transfer routine in Copy Control for the billling document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g you can crating F2 invoices from LF deliveries. Than you need to replace the existing data transfer routine with your custom routine which will allow you to avoid the split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBRK-ZUKRI is the field which will decide for the splitting criteria. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass anything splitting criteria in this field. E.g. VKORG, VTWEG, KUNNR. So, it will create only one invoice for one customer in one invoice run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
VBRK-ZUKRI+0(4) = VBAK-VKORG.
VBRK-ZUKRI+4(2) = VBAK-VTWEG.
VBRK-KUNNR+6(10) = VBAK-KUNNR.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 May 2008 14:39:59 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2008-05-01T14:39:59Z</dc:date>
    <item>
      <title>Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728877#M897493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my requirement. We are trying to consolidate two sales orders using the transaction VF01. The two orders exactly alike except for one partner function 'ZU' at the header level. The invoice can be split for any other partner function but not for this ZU . We need to find a user exit which does this job for me . Can anyone please help me find that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Awaiting your responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 14:31:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728877#M897493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T14:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728878#M897494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to do it by the data transfer routine in Copy Control for the billling document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E.g you can crating F2 invoices from LF deliveries. Than you need to replace the existing data transfer routine with your custom routine which will allow you to avoid the split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VBRK-ZUKRI is the field which will decide for the splitting criteria. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can pass anything splitting criteria in this field. E.g. VKORG, VTWEG, KUNNR. So, it will create only one invoice for one customer in one invoice run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
VBRK-ZUKRI+0(4) = VBAK-VKORG.
VBRK-ZUKRI+4(2) = VBAK-VTWEG.
VBRK-KUNNR+6(10) = VBAK-KUNNR.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 14:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728878#M897494</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-05-01T14:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728879#M897495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. But I am not clear with the code you have pasted. Can you please explain a little on how the code will be developed. My requirement here is to create a consolidated invoice using sales orders.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I go for copy routines or data transfer routines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 14:46:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728879#M897495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T14:46:09Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728880#M897496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Data transfer routine in Copy Control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Transaction VTFA.&lt;/P&gt;&lt;P&gt;Here you can select the Source order type and target billing doc type.&lt;/P&gt;&lt;P&gt;Select Items on left.&lt;/P&gt;&lt;P&gt;Select the item category. &lt;/P&gt;&lt;P&gt;Double click on the item will take you to the Item of that item category.&lt;/P&gt;&lt;P&gt;Here, you have to replace the Data VBRK/VBRP data transfer routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, to create a new routine you can go to VOFM&lt;/P&gt;&lt;P&gt;Select Data transfer &amp;gt; Billing&lt;/P&gt;&lt;P&gt;Here you can create a new routine (starting form 600) by copying the most relevent exsiting routine.&lt;/P&gt;&lt;P&gt;You need to have a access key for that object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be careful, when you change this kind of routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 15:06:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728880#M897496</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-05-01T15:06:19Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728881#M897497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for the detailed description.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way for us to find out in the code of VF01 where this split is exactly determined ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also by doing this data transfer thing do we have this ZU partner in the final invoice or do we loose any data ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 15:14:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728881#M897497</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T15:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728882#M897498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First you need to find out the called data transfer routine as I described in my earlier reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set a breakpoint in that data transfer routine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, in debug you can change the value of the field VBRK-ZUKRI and check what happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 15:51:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728882#M897498</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2008-05-01T15:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728883#M897499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I went in the debug mode and changed the value of vbrk-zukri , &lt;/P&gt;&lt;P&gt;when ever this routine is riggered , but It still came up with the split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 May 2008 16:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728883#M897499</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-01T16:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728884#M897500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Naimesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your support and ideas. I solved the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is something we cannot resolve with copy routine or data transfer routine. This has been solved using an implicit enhancement in the include LV60AB14 (we are on ECC 6.0).  But you have been helping me many a times over a period of 2 years. I am very thankful to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 May 2008 21:22:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728884#M897500</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-02T21:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728885#M897501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem is solved using an implicit enhancement in the include LV60AB14.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, our requirement is to make combined invoice, evenif different Partners are there for PARVW = 'ZZ', with different SOs of same Customer/Payer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I am tried to use include LV60AB14, I cleared the flag 'UNGLEICH'. Due to this combined invoice gets created but Parner Number is overwritten for ZZ. So, data is lost.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I solve this? Could you please guid me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Prasad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 07:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728885#M897501</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T07:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728886#M897502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Don't clear the flag there. Even my requirement is exactly simlar to your's.Try to out in this piece of the code and see if it works for you. This is what I have in my implicit enhancement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC is the one which plays a key role there not the value of  UNGLEICH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONSTANTS : c_parvw LIKE vbpa-parvw VALUE 'ZZ'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF xvbpa-parvw  = c_parvw OR&lt;/P&gt;&lt;P&gt;     xvbpak-parvw = c_parvw .&lt;/P&gt;&lt;P&gt;    sy-subrc = 0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My opinion is this should work for you. Please revert back if you were able to solve tis problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Varun.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: varun sonu on May 6, 2008 3:32 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: varun sonu on May 6, 2008 3:33 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 13:31:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728886#M897502</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T13:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728887#M897503</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Varun,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the requirement and i did as you suggested, split is avoided but when we look at the partner in the items all the partner of partner function(ZZ) became same, can you help please explain how to avoid this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 07:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728887#M897503</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T07:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728888#M897504</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Prasad,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have the similiar as yours, did you get the solution for this, if so, can you please explain how to fix this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Sujith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Aug 2010 07:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728888#M897504</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-27T07:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Avoid invoice split</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728889#M897505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!!&lt;/P&gt;&lt;P&gt;I have a similar case to the one you've posted.&lt;BR /&gt;I found out that indeed the only way to solve it if modifying LV60AB14.&lt;/P&gt;&lt;P&gt;However, I have not found a way to make any modifications to the program named above.&lt;/P&gt;&lt;P&gt;How did you work around on this issue??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabmillan10&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 20:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/avoid-invoice-split/m-p/3728889#M897505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-17T20:06:31Z</dc:date>
    </item>
  </channel>
</rss>

