<?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: Invalid interruption of a database selection in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915121#M1690996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, You do get that dump while debugging.&lt;/P&gt;&lt;P&gt;I guess you would be getting dump at the start of or at the end of below select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfb1 where lifnr = gt_lfa1-lifnr .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform refresh_variables.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform read_company_codes.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick to avoid dump is not to go on SELECT or ENDSELECT statement&lt;/P&gt;&lt;P&gt;So, if you are debugging, write your code as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfb1 where lifnr = gt_lfa1-lifnr .&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform refresh_variables.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform read_company_codes.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you wont get dump with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jul 2012 07:48:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-07-03T07:48:11Z</dc:date>
    <item>
      <title>Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915109#M1690984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi every one,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using SELECT &amp;amp; ENDSELECT statement within LOOP &amp;amp; ENDLOOP.&lt;/P&gt;&lt;P&gt;while debugging, it fetching the data but finally i am getting short dump saying that&lt;/P&gt;&lt;P&gt;Invalid interruption of a database selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anyone help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 06:51:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915109#M1690984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T06:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915110#M1690985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put your code here.&lt;/P&gt;&lt;P&gt;Are you doing any commit in this loop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 06:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915110#M1690985</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T06:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915111#M1690986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all using select .endselect is not recommended and using it inside the loop is not correct way of coding.&lt;/P&gt;&lt;P&gt;Please check the docs on best practices of programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 06:57:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915111#M1690986</guid>
      <dc:creator>former_member282968</dc:creator>
      <dc:date>2012-07-03T06:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915112#M1690987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many times within a select - endselect statement, if you set a breakpoint you will get this dump. This is normal to happen in debugging BUT you should be aware that statements such as commit work between select-endselect will trigger the above mentioned error all the time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you avoid the select endselect statement within the loop ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you select * into table and then loop and read the table ? It will be much better and correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:02:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915112#M1690987</guid>
      <dc:creator>laurent_fournier2</dc:creator>
      <dc:date>2012-07-03T07:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915113#M1690988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please paste the exact dump statement you received.&lt;/P&gt;&lt;P&gt;Secondly, you also paste the code loop - endloop along with select endselect....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try it executing again without debugging,,&amp;nbsp; Probably it may occur only first time...&amp;nbsp; &lt;/P&gt;&lt;P&gt;Select endselect many times cretes dumps during debug as it is a single logical unit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleaes post back with your result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:03:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915113#M1690988</guid>
      <dc:creator>venkateswaran_k</dc:creator>
      <dc:date>2012-07-03T07:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915114#M1690989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;What is the debugger mode (Exclusive or Non-exclusive) ?.&amp;nbsp; If you have opened the debugger in non-exclusive mode, debugging through select - endselect will generate a short dump.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;See the help documentation &lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/b8/e9fda496798f42ae1644318af6d67d/frameset.htm" title="http://help.sap.com/saphelp_nw70/helpdata/en/b8/e9fda496798f42ae1644318af6d67d/frameset.htm"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/b8/e9fda496798f42ae1644318af6d67d/frameset.htm&lt;/A&gt; for more details.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: book antiqua,palatino;"&gt;Regards, Vinod&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:09:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915114#M1690989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:09:48Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915115#M1690990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually i am trying to upload vendor master data using bdc call transaction&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my code follows as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Fetch all Vendors Based on Selection Critiria&lt;BR /&gt;&amp;nbsp; select lifnr adrnr kunnr from lfa1 into table gt_lfa1 where lifnr in s_lifnr.&lt;/P&gt;&lt;P&gt;* Loop at&lt;BR /&gt;&amp;nbsp; loop at gt_lfa1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if v_gen = 'X'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select single *&amp;nbsp; from adrc where addrnumber = gt_lfa1-addrnumber.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform refresh_variables.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform read_general_data.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;* Selecting Vendor Company Code Details&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if v_cmp = 'X'.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select * from lfb1 where lifnr = gt_lfa1-lifnr .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform refresh_variables.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform read_company_codes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; endselect.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; endif.&lt;/P&gt;&lt;P&gt;&amp;nbsp; endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;perform read_company_codes.&lt;/P&gt;&lt;P&gt;........&lt;/P&gt;&lt;P&gt;here i am doing recoding to fill company code details &lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it fetching the data perfectly but when call transaction execute it will going to short dump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards &lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:09:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915115#M1690990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915116#M1690991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of selecting inside the LOOP, do the select using FOR ALL ENTRIES in GT_LFA1 and use a READ statement inside the LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shambu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:14:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915116#M1690991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915117#M1690992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;&lt;A _jive_internal="true" class="jiveTT-hover-user jive-username-link" href="https://answers.sap.com/people/naveen.hs" id="jive-29085110149756528932540"&gt;Naveen Srinivasa&lt;/A&gt;,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;thanks for reply, here the thing is, instead of using stuctures,internal tables, looping and all,&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt; he wants the result with less coding such as select and end select&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;that is what i am trying to do but it is going to short dump &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;thanks &amp;amp; regards &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author "&gt;&lt;STRONG&gt;Venkat&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915117#M1690992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915118#M1690993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shamu &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i done the same but they require less coding i.e, no types , no internal tables and no work areas&lt;/P&gt;&lt;P&gt;without these how to achive ??? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards &lt;/P&gt;&lt;P&gt;Venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:24:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915118#M1690993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915119#M1690994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of writing select...end select first get the data and loop it with in a loop..end loop,while looping use parallel cursor method.For this go through this link,&lt;/P&gt;&lt;P&gt;&lt;A href="http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+Code+for+Parallel+Cursor+-+Loop+Processing"&gt;http://wiki.sdn.sap.com/wiki/display/Snippets/ABAP+Code+for+Parallel+Cursor+-+Loop+Processing&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:35:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915119#M1690994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:35:55Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915120#M1690995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&amp;nbsp; Venkateswaran K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried without debugging also still have the same problem &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and my error follows as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime Errors :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBIF_RSQL_INVALID_&lt;/P&gt;&lt;P&gt;Exception&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; :&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CX_SY_OPEN_SQL_DB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Short text: Invalid interruption of a database selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happened?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error in the ABAP Application Program&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; The current ABAP program "ZTST" had to be terminated because it&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; has&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; come across a statement that unfortunately cannot be executed.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Unable to perform database selection fully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:45:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915120#M1690995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid interruption of a database selection</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915121#M1690996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, You do get that dump while debugging.&lt;/P&gt;&lt;P&gt;I guess you would be getting dump at the start of or at the end of below select query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfb1 where lifnr = gt_lfa1-lifnr .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform refresh_variables.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform read_company_codes.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The trick to avoid dump is not to go on SELECT or ENDSELECT statement&lt;/P&gt;&lt;P&gt;So, if you are debugging, write your code as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from lfb1 where lifnr = gt_lfa1-lifnr .&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform refresh_variables.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perform read_company_codes.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;endselect.&lt;/P&gt;&lt;P&gt;BREAK-POINT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you wont get dump with this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jul 2012 07:48:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/invalid-interruption-of-a-database-selection/m-p/8915121#M1690996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-07-03T07:48:11Z</dc:date>
    </item>
  </channel>
</rss>

