<?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 DBIF_RSQL_INVALID_CURSOR Error after calling FM ENQUEUE_READ in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702232#M1452533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some trouble with a DBIF_RSQL_INVALID_CURSOR Error after calling FM ENQUEUE_READ inside a select-endselec statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I erase the ENQUEUE_READ FM call the error dissapears, but i cannot undertand this because the select-endelect in in cdpos table and the enqueue_read i about EBAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to restart the cursor or something like that after calling the FM??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone has some clue about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Artur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Mar 2010 07:54:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-18T07:54:55Z</dc:date>
    <item>
      <title>DBIF_RSQL_INVALID_CURSOR Error after calling FM ENQUEUE_READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702232#M1452533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having some trouble with a DBIF_RSQL_INVALID_CURSOR Error after calling FM ENQUEUE_READ inside a select-endselec statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I erase the ENQUEUE_READ FM call the error dissapears, but i cannot undertand this because the select-endelect in in cdpos table and the enqueue_read i about EBAN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to restart the cursor or something like that after calling the FM??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone has some clue about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Artur.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 07:54:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702232#M1452533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-18T07:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR Error after calling FM ENQUEUE_READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702233#M1452534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Artur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the problem is that the enqueue function has to communicate with the enqueue service (potentially located on a different application server) and thus probably triggers an [implicit commit|http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bca79e11d1950f0000e82de14a/frameset.htm].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using SELECT-ENDSELECT you could first read all the data into an internal table and then process them (i.e. SELECT INTO TABLE and then LOOP AT). This might also be better from a performance perspective, because it reduces the overhead of communication with the database (though you will use up some more memory). Another alternative might be to try using the [OPEN CURSOR WITH HOLD|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/frameset.htm] statement instead of your SELECT-ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, harald&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 08:13:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702233#M1452534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-18T08:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR Error after calling FM ENQUEUE_READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702234#M1452535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I am trying to close the thread but i am recieving error messages by internet explorer, i''ll ltry later)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Artur Rodriguez Coma on Mar 18, 2010 9:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Mar 2010 08:15:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-after-calling-fm-enqueue-read/m-p/6702234#M1452535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-18T08:15:03Z</dc:date>
    </item>
  </channel>
</rss>

