<?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 Split Billing document based on the Delivery Document Quantity. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594696#M1275188</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to split Billing document based on the Delivery Document Quantity. For ex. If I am having a delivery document with 2 line items with 2 quantity each, then I should create 2+2 = 4 Billing documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked routine no 006, but it is working based on the line items of Delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your valuable suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 May 2009 09:34:43 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-20T09:34:43Z</dc:date>
    <item>
      <title>Split Billing document based on the Delivery Document Quantity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594696#M1275188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to split Billing document based on the Delivery Document Quantity. For ex. If I am having a delivery document with 2 line items with 2 quantity each, then I should create 2+2 = 4 Billing documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked routine no 006, but it is working based on the line items of Delivery.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your valuable suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Best Regards,&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 09:34:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594696#M1275188</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-20T09:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: Split Billing document based on the Delivery Document Quantity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594697#M1275189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In transaction VTFA (if your billing is sales order based) choose your billing type and SO type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select the item categories , select the field VBRK/VBRP data. In that field you will see the currently used routine. You can create a copy of that routine under a different number and add your lines of code. Let's say you use routine 001.  &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;FORM DATEN_KOPIEREN_001. &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header data &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VBRK-xxxxx = ............ &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Item data &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VBRP-xxxxx = ............ &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Additional split criteria &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF ZUK, &lt;/P&gt;&lt;P&gt;MODUL(3) VALUE '001', &lt;/P&gt;&lt;P&gt;VTWEG LIKE VBAK-VTWEG, &lt;/P&gt;&lt;P&gt;SPART LIKE VBAK-SPART, &lt;/P&gt;&lt;P&gt;END OF ZUK. &lt;/P&gt;&lt;P&gt;ZUK-SPART = VBAK-SPART. &lt;/P&gt;&lt;P&gt;ZUK-VTWEG = VBAK-VTWEG. &lt;/P&gt;&lt;P&gt;VBRK-ZUKRI = ZUK. &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;This is how it should look after modification: &lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt;   &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Header data &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VBRK-xxxxx = ............ &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Item data &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;VBRP-xxxxx = ............ &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Additional split criteria &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;DATA: BEGIN OF ZUK, &lt;/P&gt;&lt;P&gt;MODUL(3) VALUE '001', &lt;/P&gt;&lt;P&gt;VTWEG LIKE VBAK-VTWEG, &lt;/P&gt;&lt;P&gt;SPART LIKE VBAK-SPART, &lt;/P&gt;&lt;P&gt;field LIKE VBAP-field,    &amp;lt;- New line  Here you add the field for Quantity&lt;/P&gt;&lt;P&gt;END OF ZUK. &lt;/P&gt;&lt;P&gt;ZUK-SPART = VBAK-SPART. &lt;/P&gt;&lt;P&gt;ZUK-VTWEG = VBAK-VTWEG. &lt;/P&gt;&lt;P&gt;ZUK-field = VBAP-field.   &amp;lt;- New line Here you add the field for Quantity&lt;/P&gt;&lt;P&gt;VBRK-ZUKRI = ZUK. &lt;/P&gt;&lt;P&gt;ENDFORM. &lt;/P&gt;&lt;P&gt;After this routine is created and activated place it as the default copy control routine instead of the old ones. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards&lt;/P&gt;&lt;P&gt;  Vanessa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 10:26:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594697#M1275189</guid>
      <dc:creator>former_member609120</dc:creator>
      <dc:date>2009-05-20T10:26:57Z</dc:date>
    </item>
    <item>
      <title>Re: Split Billing document based on the Delivery Document Quantity.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594698#M1275190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vanessa  ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this method, but its not satisfying my requirement. I want to split the Invoice based on Delivery quantity. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using this method also, I am not able to split.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. Looking forward for for some suggestions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hari.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2009 03:59:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-billing-document-based-on-the-delivery-document-quantity/m-p/5594698#M1275190</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-26T03:59:07Z</dc:date>
    </item>
  </channel>
</rss>

