<?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 Error: Invalid interruption of a database selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348903#M518358</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;When i execute the below code, the output is displayed without any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;tables lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfa1 order by lifnr.&lt;/P&gt;&lt;P&gt;write / lfa1-lifnr.&lt;/P&gt;&lt;P&gt;endselect.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But however when i debug this piece of code, i get an error as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShrtText - Invalid interruption of a database selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors - DBIF_RSQL_INVALID_CURSOR&lt;/P&gt;&lt;P&gt;Exceptn - CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with the reason for the occurence of this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2007 07:45:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-06-04T07:45:55Z</dc:date>
    <item>
      <title>Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348903#M518358</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;When i execute the below code, the output is displayed without any problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;tables lfa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfa1 order by lifnr.&lt;/P&gt;&lt;P&gt;write / lfa1-lifnr.&lt;/P&gt;&lt;P&gt;endselect.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But however when i debug this piece of code, i get an error as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ShrtText - Invalid interruption of a database selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors - DBIF_RSQL_INVALID_CURSOR&lt;/P&gt;&lt;P&gt;Exceptn - CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody help me with the reason for the occurence of this problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348903#M518358</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T07:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348904#M518359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;u cannt debug SELECT-ENDSELECT.&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;Peram&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:50:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348904#M518359</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T07:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348905#M518360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;select .. endselect. dumps the first time only when in debugging mode!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sooness&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 07:59:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348905#M518360</guid>
      <dc:creator>dev_parbutteea</dc:creator>
      <dc:date>2007-06-04T07:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348906#M518361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;you cannot put break point inside SELECT and ENDSELECT.&lt;/P&gt;&lt;P&gt;Because system will miss the cursor index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naveen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 08:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348906#M518361</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T08:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348907#M518362</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;       The reason may be You put a break-point between SELECT and ENDSELECT..It will always gives you a Shortdump because you are trying to interrupt an SQL statement. Take out the Breakpoint from the middle of select endselect and try it somewhere else in the program. This time your debugger will work perfectly.Otherwise if you want to use Debugger in between the Select and Endselect use it after an appending. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward All Helpfull answers....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 08:04:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348907#M518362</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T08:04:36Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348908#M518363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijay,&lt;/P&gt;&lt;P&gt;Just go through the following link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="262682"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Sooness pointed out, SELECT-ENDSELECT dumps only the first time. Try re-executing it and it will work fine.&lt;/P&gt;&lt;P&gt;Meanwhile, it is always better to use INTO TABLE OF instead of SELECT-ENDSELECT, as this minimizes database hits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anil Madhavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 08:06:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348908#M518363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-06-04T08:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348909#M518364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vijay&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can debug a SELECT - ENDSELECT loop but you have to use &amp;lt;b&amp;gt;F6 &amp;lt;/b&amp;gt;(and not F5) for step-by-step debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2007 08:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-invalid-interruption-of-a-database-selection/m-p/2348909#M518364</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-06-04T08:08:47Z</dc:date>
    </item>
  </channel>
</rss>

