<?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 Enqueue / Dequeue in RFC in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429859#M1550309</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;I am facing problem with dequeue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ahve created the lock objects on the primary key fields for the DB table i wanted to use.&lt;/P&gt;&lt;P&gt;Now the enqueue is used in FM1 which locks the data and passes the entries to front Java application.&lt;/P&gt;&lt;P&gt;Java does its processing and doesnt have any interaction with the backend SAP.&lt;/P&gt;&lt;P&gt;Once processing is complete, Java submits its details through RFC FM2.&lt;/P&gt;&lt;P&gt;Now in this FM2, since the processing is all over i want to dequeue the entries.&lt;/P&gt;&lt;P&gt;But the dequeue doesnt seem to remove the locks from SM12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading through many materials i understood, when FM1 gets executed one LUW is created.&lt;/P&gt;&lt;P&gt;When FM2 gets executed its in a different LUW and hence the dequeue doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me with this issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I be passing any additional parameters during the Enqueue / Dequeue FM calls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2010 07:34:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-12-10T07:34:42Z</dc:date>
    <item>
      <title>Enqueue / Dequeue in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429859#M1550309</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;I am facing problem with dequeue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ahve created the lock objects on the primary key fields for the DB table i wanted to use.&lt;/P&gt;&lt;P&gt;Now the enqueue is used in FM1 which locks the data and passes the entries to front Java application.&lt;/P&gt;&lt;P&gt;Java does its processing and doesnt have any interaction with the backend SAP.&lt;/P&gt;&lt;P&gt;Once processing is complete, Java submits its details through RFC FM2.&lt;/P&gt;&lt;P&gt;Now in this FM2, since the processing is all over i want to dequeue the entries.&lt;/P&gt;&lt;P&gt;But the dequeue doesnt seem to remove the locks from SM12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reading through many materials i understood, when FM1 gets executed one LUW is created.&lt;/P&gt;&lt;P&gt;When FM2 gets executed its in a different LUW and hence the dequeue doesnt work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can any one please help me with this issues?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I be passing any additional parameters during the Enqueue / Dequeue FM calls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 07:34:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429859#M1550309</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T07:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue / Dequeue in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429860#M1550310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well Enqueue / Dequeue  should always happen in 1 LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now for Enqueue / Dequeue since you are making calls to RFC Checkbox "Allow RFC" should be enbabled in &lt;/P&gt;&lt;P&gt;attributes section.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And pass the paramter scope = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Bhanu Malik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 07:56:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429860#M1550310</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T07:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Enqueue / Dequeue in RFC</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429861#M1550311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Setting the attribute is not possible as it asks for Access key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even after passing the _scope = '1' it didnt help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other possible ways?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2010 12:50:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enqueue-dequeue-in-rfc/m-p/7429861#M1550311</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-10T12:50:17Z</dc:date>
    </item>
  </channel>
</rss>

