<?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: split Outbound Delivery after Save in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-outbound-delivery-after-save/m-p/7174165#M1517666</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I worked with this long time ago... I think in the ITEM table you need to have the items for both "old" and "new" delivery. Read the message text in SE91:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;086	Delivery &amp;amp;1 is not entered as an old or a new delivery&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Aug 2010 21:26:55 GMT</pubDate>
    <dc:creator>Jelena_Perfiljeva</dc:creator>
    <dc:date>2010-08-05T21:26:55Z</dc:date>
    <item>
      <title>split Outbound Delivery after Save</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-outbound-delivery-after-save/m-p/7174164#M1517665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to split delivery with BAPI_OUTB_DELIVERY_SPLIT_DEC i get error message all the time. &lt;/P&gt;&lt;P&gt; I trigger this FM after the Delivery has been saved that I need to split further.&lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;P&gt;           &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;wa_itemdata-deliv_numb      = lv_vbeln_new. " Say if I have 0802003455  I will add 1 =&amp;gt; 0802003456
            wa_itemdata-deliv_item      = lt_lips-posnr.
            wa_itemdata-curr_qty        = lt_lips-akmng.
            wa_itemdata-sales_unit      = lt_lips-vrkme.
            wa_itemdata-sales_qty_num   = 1.
            wa_itemdata-sales_qty_denom = 1.
            wa_itemdata-convfactor      = 1.
            wa_itemdata-dlv_qty = lt_lips-lfimg / lv_factor.
            APPEND wa_itemdata TO lt_itemdata.
            CLEAR: wa_itemdata.

          CALL FUNCTION 'BAPI_OUTB_DELIVERY_SPLIT_DEC'
            EXPORTING
              delivery              = lt_lips-vbeln
              deliverynew           = lv_vbeln_new
              deliveryitemsbelongto = 'N'
              businessprocess       = 'Y001'
            TABLES
              itemdata              = lt_itemdata
              return                = lt_return.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error I get is as follows. Looks like something related to decentralised warehousing:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEDSP	037			000000	LE_DSP_DECENTRAL	DATA_ERROR&lt;/P&gt;&lt;P&gt;LEDSP	086			000000	802003456&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Maksims  Jegorovcevs on Aug 5, 2010 5:05 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 07:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-outbound-delivery-after-save/m-p/7174164#M1517665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-05T07:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: split Outbound Delivery after Save</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/split-outbound-delivery-after-save/m-p/7174165#M1517666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I worked with this long time ago... I think in the ITEM table you need to have the items for both "old" and "new" delivery. Read the message text in SE91:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;086	Delivery &amp;amp;1 is not entered as an old or a new delivery&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Aug 2010 21:26:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/split-outbound-delivery-after-save/m-p/7174165#M1517666</guid>
      <dc:creator>Jelena_Perfiljeva</dc:creator>
      <dc:date>2010-08-05T21:26:55Z</dc:date>
    </item>
  </channel>
</rss>

