<?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: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569511#M1859068</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the errors occurs as soon as your process is interrupted between select and endselect. An interruption occurs i.e. with an RFC call, a message display (just any screen display), a commit work. This list may be incomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check what you are doing between SELECT and ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may first select only the key fields of your fill selection and in a second step process packages by selecting all required data. Note that you never need a select *. Select the fields you really need into corresponding fields of table will be OK and much faster.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 Oct 2014 15:56:29 GMT</pubDate>
    <dc:creator>Clemenss</dc:creator>
    <dc:date>2014-10-05T15:56:29Z</dc:date>
    <item>
      <title>DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569507#M1859064</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Moderator message: continues from &lt;A __default_attr="3630111" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="BKPF and BSEG selection in ABAP Report failing..." href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Experts,&lt;/P&gt;&lt;P&gt;I am having an ABAP report that selects data from BKPF in batches using SELECT ENDSELECT statement with PACKAGE SIZE option.&lt;/P&gt;&lt;P&gt;First select passes fine, on reaching the ENDSELECT and doing the 2nd&amp;nbsp; iteration SELECT statement is creating a DUMP: DBIF_RSQL_INVALID_CURSOR.&lt;/P&gt;&lt;P&gt;I checkd some links and SCN posts. There is no COMMIT . BREAK-POINT in between.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;LT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Matthew Billingham . Urgency information removed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 13:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569507#M1859064</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-05T13:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569508#M1859065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Hi Linda,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;I hope &lt;STRONG&gt;DBIF_RSQL_INVALID_CURSOR &lt;/STRONG&gt;is a common error. We have more number of notes applicable for the above error. Can you please share the dump screenshot.&amp;nbsp; Using that we able to know the program name at where the dump occurs, based on that we can move forward to clear the error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;SPAN style="font-size: 10pt; color: #000000;"&gt;Rajkumar Narasimman. &lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 13:44:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569508#M1859065</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2014-10-05T13:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569509#M1859066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Raj,&lt;/P&gt;&lt;P&gt;Many thanks for replying back.&lt;/P&gt;&lt;P&gt;My program is a custom abap report. This report reads data dfrom BKPF and writes it to a TXT file using GUI_DOWNLOAD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; In&amp;nbsp; ST22 it says &lt;/P&gt;&lt;P&gt;Category as: ABAP Programming Error&lt;/P&gt;&lt;P&gt;Exception: CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On reading some posts, I replaced my SELECT ENDSELECT with CURSOR&amp;nbsp; OPEN CURSOR&amp;nbsp; WITH HOLD.&lt;/P&gt;&lt;P&gt;Even now I am getting same dump.&lt;/P&gt;&lt;P&gt;Any clues...?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Linda&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 13:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569509#M1859066</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-05T13:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569510#M1859067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda, &lt;/P&gt;&lt;P&gt; The Exception &lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;STRONG&gt;CX_SY_OPEN_SQL_DB&lt;/STRONG&gt; &lt;/SPAN&gt;occurs when the cursor is not closed&lt;/P&gt;&lt;P&gt;. &lt;/P&gt;&lt;P&gt;Please find the following note. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/sap/support/notes/815147" title="http://service.sap.com/sap/support/notes/815147"&gt;http://service.sap.com/sap/support/notes/815147&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&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;Rajkumar Narasimman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 14:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569510#M1859067</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2014-10-05T14:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569511#M1859068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the errors occurs as soon as your process is interrupted between select and endselect. An interruption occurs i.e. with an RFC call, a message display (just any screen display), a commit work. This list may be incomplete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check what you are doing between SELECT and ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may first select only the key fields of your fill selection and in a second step process packages by selecting all required data. Note that you never need a select *. Select the fields you really need into corresponding fields of table will be OK and much faster.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 Oct 2014 15:56:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569511#M1859068</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2014-10-05T15:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569512#M1859069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Linda Thomas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Please paste your code here for better analysis.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 03:34:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569512#M1859069</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2014-10-06T03:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569513#M1859070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;Given below is the code part I have tried.. Both select Endselect and Cursor version also. Both code is dumping &lt;SPAN __jive_emoticon_name="sad" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1063/images/emoticons/sad.gif"&gt;&lt;/SPAN&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/556204" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the SELECT_AND_SPLIT routine will internally call the FM: GUI_DOWNLOAD for writing the contents if itab to txt file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;LT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 03:46:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569513#M1859070</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-06T03:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569514#M1859071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun.&lt;/P&gt;&lt;P&gt;As suggested, I have added the code.Please check.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 03:46:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569514#M1859071</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-06T03:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569515#M1859072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Linda Thomas,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Why do you use OPEN CURSOR, FETCH NEXT CURSOR, CLOSE CURSOR?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can directly write&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT ..... from BKPF INTO CORRESPONDING FIELDS OF TABLE gt_bkpf&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where bukrs in s_bukrs and budat in s_budat&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 03:59:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569515#M1859072</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2014-10-06T03:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569516#M1859073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Arun,&lt;/P&gt;&lt;P&gt;I need to extract more than 4 billion records from BKPF.&lt;/P&gt;&lt;P&gt;so the only option is to fetch it in pieces..&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;LT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 04:09:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569516#M1859073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-10-06T04:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569517#M1859074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If possible, split the select the statement based on budat.&lt;/P&gt;&lt;P&gt;For instance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; background: transparent;"&gt;SELECT ..... from BKPF INTO CORRESPONDING FIELDS OF TABLE gt_bkpf&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where bukrs in s_bukrs and budat in s_budat and budat &amp;lt; ='20131231'.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; background: transparent;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; background: transparent;"&gt;SELECT ..... from BKPF APPENDING CORRESPONDING FIELDS OF TABLE gt_bkpf&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; background: transparent;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit; background: transparent;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where bukrs in s_bukrs and budat in s_budat and budat &amp;gt;= '20140101'.&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 04:30:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569517#M1859074</guid>
      <dc:creator>Arun_Prabhu_K</dc:creator>
      <dc:date>2014-10-06T04:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569518#M1859075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is given by the use of GUI_DOWNLOAD between SELECT....ENDSELECT.&lt;/P&gt;&lt;P&gt;You have to avoid it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You got 4 bilion rows?&lt;BR /&gt;Then you can do&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select bukrs belnr gjhar into table gt_bkpf where &amp;lt;your conditions&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Loop at gt_bkpf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select single bkpf with keys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; gui_download&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Surely it's not the best performance solution or the prettiest one available but this should works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 08:19:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569518#M1859075</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2014-10-06T08:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569519#M1859076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Four billion records and gui_download do not really go together. Better to write to the application server and then transfer to wherever the data is needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 08:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569519#M1859076</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-10-06T08:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569520#M1859077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you check your SELECT_AND_SPLIT form looking for any commit trigger, as only native SQL commit are ignored due to the &lt;A href="http://help.sap.com/abapdocu_731/en/abapopen_cursor.htm#%21ABAP_ONE_ADD@1@"&gt;WITH HOLD &lt;/A&gt;option (as your call of DB_COMMIT) but you may have called some FM that execute a full COMMIT WORK or even some &lt;A href="http://help.sap.com/abapdocu_731/en/abendb_commit.htm"&gt;implicit database commit&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 09:07:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569520#M1859077</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-10-06T09:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569521#M1859078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please do not start a new thread on pretty much the same topic. This, (as well as saying that your request is urgent/important) is likely to get your thread rejected. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've allowed it on this occasion, since you've already got a discussion going on this,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 09:57:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569521#M1859078</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-10-06T09:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: DBIF_RSQL_INVALID_CURSOR  Error while using SELECT ENDSELECT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569522#M1859079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Linda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GUI_DOWNLOAD interruots the dtabase selection because a remote connection to the client PC via SAP GUI is established.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use OPEN DATASET and TRANSFER to store the data on the server.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Oct 2014 12:18:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dbif-rsql-invalid-cursor-error-while-using-select-endselect/m-p/10569522#M1859079</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2014-10-06T12:18:40Z</dc:date>
    </item>
  </channel>
</rss>

