<?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: DEQUEUE in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840970#M44227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Poornanand Mandalika  &lt;/P&gt;&lt;P&gt;I'm interesting in you reply.&lt;/P&gt;&lt;P&gt;What will happen when we directly call DEQUEUE with no ENQUEUE successed? &lt;/P&gt;&lt;P&gt;Does it has negative impact on our application?&lt;/P&gt;&lt;P&gt;please explain the reason, thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Jun 2005 10:24:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-06-14T10:24:51Z</dc:date>
    <item>
      <title>DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840966#M44223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it allowed to call a DEQUEUE_xxx FM if the corresponding ENQUEUE_xxx failed (e.g. because of a FOREIGN_LOCK)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 08:05:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840966#M44223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T08:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840967#M44224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This should not be a problem. As you can see the DEQUEUE FM has no exceptions. This means it will not through an exception is the object was not enqueued first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arjan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 08:41:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840967#M44224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T08:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840968#M44225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, DEQUEUE can be called even there is no entries has been locked yet.&lt;/P&gt;&lt;P&gt;Actually, in the mutiple lock mode(lock several entries in the same time) I always DEQUEUE all of the records at last, for the safety.&lt;/P&gt;&lt;P&gt;No matter the ENQUEUE is successful or failed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 08:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840968#M44225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T08:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840969#M44226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calling a DEQUEUE when the ENQUEUE fails is technically allowed. But you must think again as to how much sense it makes in your context. If there has been no ENQUEUE at all, then what is the point in doing the DEQUEUE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Typically, however, when you have attempted an ENQUEUE and it fails, you will not go haead with the program till you get the ENQUEUE successful. So, if that is the case, then you can use the DEQUEUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 09:12:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840969#M44226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T09:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840970#M44227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Poornanand Mandalika  &lt;/P&gt;&lt;P&gt;I'm interesting in you reply.&lt;/P&gt;&lt;P&gt;What will happen when we directly call DEQUEUE with no ENQUEUE successed? &lt;/P&gt;&lt;P&gt;Does it has negative impact on our application?&lt;/P&gt;&lt;P&gt;please explain the reason, thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 10:24:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840970#M44227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T10:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840971#M44228</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;Ultimately my question arises from my general lazyness. In my program I first acquire a lock using &amp;lt;b&amp;gt;ENQUEUE...&amp;lt;/b&amp;gt; then I call several methods which might throw exceptions. In the &amp;lt;b&amp;gt;CLEANUP&amp;lt;/b&amp;gt; section I call &amp;lt;b&amp;gt;DEQUEUE...&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So technically the first call (&amp;lt;b&amp;gt;ENQUEUE...&amp;lt;/b&amp;gt;) might fail already - in which case the call to &amp;lt;b&amp;gt;DEQUEUE...&amp;lt;/b&amp;gt; would be superflous.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However - I have just tried this and simulated a failure - as far as I can tell there haven't been any ill side-effects. However, I generally wouldn't recommend copying my programming style &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 12:54:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840971#M44228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T12:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: DEQUEUE</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840972#M44229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I fully agree with Anand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And as an answer 2 ur question. there wont be any -ve impact other than that u r trying to unlock a record that you didnt lock in the first place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not a good programming practice.&lt;/P&gt;&lt;P&gt;We need to follow some good programming practise too, shouldnt we ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhu.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jun 2005 14:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dequeue/m-p/840972#M44229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-06-14T14:42:03Z</dc:date>
    </item>
  </channel>
</rss>

