<?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>Question Re: Updating LIPS Custom Fields In Outbound Delivery Usin... in Supply Chain Management Q&amp;A</title>
    <link>https://community.sap.com/t5/supply-chain-management-q-a/updating-lips-custom-fields-in-outbound-delivery-using-bapi/qaa-p/13765857#M199202</link>
    <description>&lt;P&gt;Well,&lt;BR /&gt;after taking a deeper look into it, I found this&lt;/P&gt;&lt;P&gt;since non of the standard values change the system will not call the BAdI's (LE_SHP_DELIVERY_PROC) following methods:&lt;/P&gt;&lt;P&gt;- CHANGE_DELIVERY_HEADER&lt;BR /&gt;- CHANGE_DELIVERY_ITEM&lt;/P&gt;&lt;P&gt;but will call SAVE_DOCUMENT_PREPARE,&lt;BR /&gt;and what I did notice is that the system sets the &lt;STRONG&gt;update indicator&amp;nbsp;&lt;/STRONG&gt;to being empty instead of 'U' that will ultimately trigger an update&amp;nbsp;i.e. XLIPS-UPDKZ = 'U' and/or XLIKP-UPDKZ = 'U', the one relevant for you depends whether you need changes in delivery header and/or items.&lt;/P&gt;&lt;P&gt;when you set these values to 'U' the values that you extracted from the 'BAPI_OUTB_DELIVERY_CHANGE' on BAdI '&lt;SPAN&gt;SMOD_V50B0001' will be saved.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Jul 2024 09:34:45 GMT</pubDate>
    <dc:creator>ariel_gluzman</dc:creator>
    <dc:date>2024-07-19T09:34:45Z</dc:date>
    <item>
      <title>Updating LIPS Custom Fields In Outbound Delivery Using BAPI</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/updating-lips-custom-fields-in-outbound-delivery-using-bapi/qaq-p/13702632</link>
      <description>&lt;P&gt;Hey people,&lt;/P&gt;&lt;P&gt;I have an Issue in which I fail to update delivery item fields when using 'BAPI_OUTB_DELIVERY_CHANGE'&lt;/P&gt;&lt;P&gt;I'll let you consider the following setting:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;My System is ECC 6.0&lt;/LI&gt;&lt;LI&gt;I have extended standard table LIPS with a new field 'ZZEXT_REF'&lt;/LI&gt;&lt;LI&gt;I am receiving an update to the field mentioned with an incoming IDOC&lt;UL&gt;&lt;LI&gt;something like&amp;nbsp;[vbeln, posnr, ....., zzext_ref]&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The solution I have gathered is this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Receive Delivery Number, Item Number, ZZEXT_REF from IDOC&lt;/LI&gt;&lt;LI&gt;Call BAPI 'BAPI_OUTB_DELIVERY_CHANGE' with&amp;nbsp;&lt;BR /&gt;&lt;OL&gt;&lt;LI&gt;DELIVERY = Delivery Number from IDOC&lt;/LI&gt;&lt;LI&gt;EXTENSION2 = (&lt;OL&gt;&lt;LI&gt;ROW = Delivery Row&lt;/LI&gt;&lt;LI&gt;FIELD = ZZEXT_REF&lt;/LI&gt;&lt;LI&gt;VALUE = Value from IDOC&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Implement BAdI &lt;SPAN&gt;SMOD_V50B0001~EXIT_SAPLV50I_010 (Similar to what is done &lt;A href="https://community.sap.com/t5/application-development-discussions/work-with-extension1-in-bapi-outb-delivery-change/m-p/733194#M34619" target="_self"&gt;here)&lt;/A&gt;&lt;/SPAN&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Export EXTENSION2 values using static member of a BAdI "&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;LE_SHP_DELIVERY_PROC&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN&gt;" Class&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;&lt;SPAN&gt;Implement (as said above) a BAdI Class of "&lt;/SPAN&gt;&lt;/SPAN&gt;LE_SHP_DELIVERY_PROC"&lt;OL&gt;&lt;LI&gt;Implement SAVE_DOCUMENT_PREPARE, extract the data from the static member and insert it into field ZZEXT_REF of table CT_XLIPS at POSNR = ROW from EXTENSION2&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;Call Commit After Calling 'BAPI_OUTB_DELIVERY_CHANGE'&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;The problem is that it all runs well except for the actual change save to table LIPS,&lt;BR /&gt;I thought it might be caused due to some efficiency mechanism that detected no changes to standard LIPS fields and therefore figured no changes should be done and dropped the change to db.&lt;/P&gt;&lt;P&gt;Suggestions will be suuuuuper useful.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ariel.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 17:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/updating-lips-custom-fields-in-outbound-delivery-using-bapi/qaq-p/13702632</guid>
      <dc:creator>ariel_gluzman</dc:creator>
      <dc:date>2024-05-15T17:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Updating LIPS Custom Fields In Outbound Delivery Usin...</title>
      <link>https://community.sap.com/t5/supply-chain-management-q-a/updating-lips-custom-fields-in-outbound-delivery-using-bapi/qaa-p/13765857#M199202</link>
      <description>&lt;P&gt;Well,&lt;BR /&gt;after taking a deeper look into it, I found this&lt;/P&gt;&lt;P&gt;since non of the standard values change the system will not call the BAdI's (LE_SHP_DELIVERY_PROC) following methods:&lt;/P&gt;&lt;P&gt;- CHANGE_DELIVERY_HEADER&lt;BR /&gt;- CHANGE_DELIVERY_ITEM&lt;/P&gt;&lt;P&gt;but will call SAVE_DOCUMENT_PREPARE,&lt;BR /&gt;and what I did notice is that the system sets the &lt;STRONG&gt;update indicator&amp;nbsp;&lt;/STRONG&gt;to being empty instead of 'U' that will ultimately trigger an update&amp;nbsp;i.e. XLIPS-UPDKZ = 'U' and/or XLIKP-UPDKZ = 'U', the one relevant for you depends whether you need changes in delivery header and/or items.&lt;/P&gt;&lt;P&gt;when you set these values to 'U' the values that you extracted from the 'BAPI_OUTB_DELIVERY_CHANGE' on BAdI '&lt;SPAN&gt;SMOD_V50B0001' will be saved.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jul 2024 09:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/supply-chain-management-q-a/updating-lips-custom-fields-in-outbound-delivery-using-bapi/qaa-p/13765857#M199202</guid>
      <dc:creator>ariel_gluzman</dc:creator>
      <dc:date>2024-07-19T09:34:45Z</dc:date>
    </item>
  </channel>
</rss>

