<?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: Enqueue/Dequeue - Locking/Unlocking object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195790#M1202373</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope. Just 1 BDC -on my 2nd program only. Or to make it simple, I have modified ZXWOCU07 (IWO10009) to perform/kick off a call function( this is being triggered after hitting on SAVE). And this FM contains my checking if SO is now open for change then do the do the BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm thinking is to lock first the SO  to block any user from accessing that SO, so it will do the BDC first. But I'm not yet familiar with the locking/unlocking of objects. Please help me on how to use enqueue or locking object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 10:45:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-12T10:45:13Z</dc:date>
    <item>
      <title>Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195787#M1202370</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;Please help me working with this enqueue/dequeue command. What I'm trying to do is to lock a Service Order. My requirement is to do a BDC for the Service Order Settlement Rule. So after hitting SAVE, a secondary process will be kicked off to perform my BDC for the same order. Now what Im doubting is that what if user re-enter the same Service Order again so quick. So my BDC program will not be performed immediately since it will be locked by the usser.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my idea is to lock it first while my BDC program is still running. Any help please? Thanks. &lt;SPAN __jive_emoticon_name="grin"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 08:29:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195787#M1202370</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T08:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195788#M1202371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After hitting SAVE-button, and within the second program, do a check if the service order is locked or not. If still locked, built in a WAIT and try again until object is no longer locked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 08:42:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195788#M1202371</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-02-12T08:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195789#M1202372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I am not wrong, you are doing two BDCs for same order. If yes, you can use the synchonus update in the first BDC, then the order will be available for the second BDC. No need to look the order.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 09:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195789#M1202372</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195790#M1202373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope. Just 1 BDC -on my 2nd program only. Or to make it simple, I have modified ZXWOCU07 (IWO10009) to perform/kick off a call function( this is being triggered after hitting on SAVE). And this FM contains my checking if SO is now open for change then do the do the BDC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I'm thinking is to lock first the SO  to block any user from accessing that SO, so it will do the BDC first. But I'm not yet familiar with the locking/unlocking of objects. Please help me on how to use enqueue or locking object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 10:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195790#M1202373</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T10:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195791#M1202374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are trying the apply BDC on same SO for which the SAVE event is triggered.. then you can't do this.. as the SO would be locked while in the SAVE event..technically this is wrong.. how can you update an order in the SAVE event of the order... if the SO is different then you can do the BDC. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no need to lock the SO before BDC, the BDC will throw an error it is already locked by some other user...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 10:53:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195791#M1202374</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T10:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195792#M1202375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But what if we send this BDC in the background or in new task? Then perform some checking if SO saving already completed before proceeding to BDC. I think this one is possible. What I'm worrying about is what if the user re-enters the SO again so quickly. That's why I'm thinking for possible catch for this concern. Any other bright ides other than the one I'm thinking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Feb 2009 03:06:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195792#M1202375</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-13T03:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195793#M1202376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Ayem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am facing the same problem. My BDC for auto settling (KO88) cannot be executed and the error shown is that the object is locked. If you solved the problem can you please share the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards,&lt;/P&gt;&lt;P&gt;Snehal Chaudhary.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 09:37:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195793#M1202376</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-17T09:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195794#M1202377</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;Use&amp;nbsp; WAIT UP TO n SECONDS. after one complete Save Cycle&amp;nbsp; of&amp;nbsp; BDC.&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;Ams K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 11:28:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195794#M1202377</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-17T11:28:30Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue/Dequeue - Locking/Unlocking object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195795#M1202378</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;WAIT UPTO did not solve the problem. However I used dequeue_esorder FM.&lt;/P&gt;&lt;P&gt;it unlocked the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks Ams K &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/408/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Snehal Chaudhary. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 10:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-locking-unlocking-object/m-p/5195795#M1202378</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-18T10:42:07Z</dc:date>
    </item>
  </channel>
</rss>

