<?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: Serial No. lock Issue while Updating Inbound Delivery using BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412498#M1843672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to lock the SN yourself with FM ENQUEUE_EIEQSE&amp;nbsp; and WAIT option in a LOOP (and unlock it before calling BAPI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NB: Also remove the DEQUEUE_ALL (not best practices, &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;gives a taste&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;panic coding, &lt;/SPAN&gt;&lt;/SPAN&gt;and not efficient as it will not remove the lock of update task, hopefully)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Jun 2014 08:51:47 GMT</pubDate>
    <dc:creator>RaymondGiuseppi</dc:creator>
    <dc:date>2014-06-26T08:51:47Z</dc:date>
    <item>
      <title>Serial No. lock Issue while Updating Inbound Delivery using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412497#M1843671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on changing of Inbound delivery scenarion.&lt;/P&gt;&lt;P&gt;I am updating batch &amp;amp; serial data in the existing inbound delivery&lt;/P&gt;&lt;P&gt;using BAPI_INB_DELIVERY_CHANGE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However when multiple inbound delivery updates is done using batch job&lt;/P&gt;&lt;P&gt;in some cases I get the error&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;"Serial No. &amp;amp;1 is already locked by user &amp;amp;2".&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I have given commit &amp;amp; wait, dequeue_all before calling the bapi&lt;/P&gt;&lt;P&gt;that updates the data in inbound delivery but still in some scenrio&lt;/P&gt;&lt;P&gt;I get the above error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can this error be fixed.&lt;/P&gt;&lt;P&gt;Any valuable input/suggesstion would be appreciated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jitendra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 08:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412497#M1843671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-06-26T08:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Serial No. lock Issue while Updating Inbound Delivery using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412498#M1843672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to lock the SN yourself with FM ENQUEUE_EIEQSE&amp;nbsp; and WAIT option in a LOOP (and unlock it before calling BAPI).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;NB: Also remove the DEQUEUE_ALL (not best practices, &lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;gives a taste&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;panic coding, &lt;/SPAN&gt;&lt;/SPAN&gt;and not efficient as it will not remove the lock of update task, hopefully)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 08:51:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412498#M1843672</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-06-26T08:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Serial No. lock Issue while Updating Inbound Delivery using BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412499#M1843673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess that the locks are kept by an update module so try using "SET UPDATE TASK LOCAL." just before every call of the BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Jun 2014 10:08:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/serial-no-lock-issue-while-updating-inbound-delivery-using-bapi/m-p/10412499#M1843673</guid>
      <dc:creator>arseni_gallardo</dc:creator>
      <dc:date>2014-06-26T10:08:13Z</dc:date>
    </item>
  </channel>
</rss>

