<?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: short dump occuring after select in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284531#M1531948</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;      I think you got the dump while debugging the select ...endselect.&lt;/P&gt;&lt;P&gt;      Don't debug the select..endselect , system commits and dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT val1&lt;/P&gt;&lt;P&gt;      UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;      FROM yrot_varv INTO l_val1&lt;/P&gt;&lt;P&gt;      WHERE name = c_ygts_mmoc_werks&lt;/P&gt;&lt;P&gt;      AND val1 = l_werks.&lt;/P&gt;&lt;P&gt;      ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;if .....&lt;/STRONG&gt; &amp;lt;-- start debugging from here .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Sep 2010 06:46:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-27T06:46:08Z</dc:date>
    <item>
      <title>short dump occuring after select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284530#M1531947</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;im getting short dump in the following select statement &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT val1&lt;/P&gt;&lt;P&gt;  UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;   FROM yrot_varv INTO l_val1&lt;/P&gt;&lt;P&gt;  WHERE name = c_ygts_mmoc_werks&lt;/P&gt;&lt;P&gt;    AND val1 = l_werks.&lt;/P&gt;&lt;P&gt; ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dump description is as follows :&lt;/P&gt;&lt;P&gt;Short text&lt;/P&gt;&lt;P&gt;    Invalid interruption of a database selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the same statement was working earlier . only today we got this problem ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body tell me why im getting short dump in this statement .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:40:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284530#M1531947</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-27T06:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: short dump occuring after select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284531#M1531948</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;      I think you got the dump while debugging the select ...endselect.&lt;/P&gt;&lt;P&gt;      Don't debug the select..endselect , system commits and dumps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT val1&lt;/P&gt;&lt;P&gt;      UP TO 1 ROWS&lt;/P&gt;&lt;P&gt;      FROM yrot_varv INTO l_val1&lt;/P&gt;&lt;P&gt;      WHERE name = c_ygts_mmoc_werks&lt;/P&gt;&lt;P&gt;      AND val1 = l_werks.&lt;/P&gt;&lt;P&gt;      ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      &lt;STRONG&gt;if .....&lt;/STRONG&gt; &amp;lt;-- start debugging from here .. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:46:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284531#M1531948</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-27T06:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: short dump occuring after select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284532#M1531949</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;Are you using old debugger to debug your code? and debug select-endselect most of time gives dump. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, do not use SELECT-ENDSELECT loop in your ABAP program. Instead, use internal table to store data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:52:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284532#M1531949</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-27T06:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: short dump occuring after select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284533#M1531950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my problem  is solved . problem is only in debugging mode&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 06:56:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284533#M1531950</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-27T06:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: short dump occuring after select</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284534#M1531951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pawan&lt;/P&gt;&lt;P&gt;I believe because you are selecting only upto single row, thats why you are getting the dump.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;replace your code by:&lt;/P&gt;&lt;P&gt;SELECT single val1&lt;/P&gt;&lt;P&gt;FROM yrot_varv INTO l_val1 WHERE name = c_ygts_mmoc_werks&lt;/P&gt;&lt;P&gt;AND val1 = l_werks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Upto 1 row may give you error because the select query will run till first row of the table.&lt;/P&gt;&lt;P&gt;if values exists at the first row it will give the result otherwise it will give dump or error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but Select Single will return only one value present in the table for the where conditions at whichever position it exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here l_val1 should be a variable of type yrot_varv-val1 . also name and val1 should be present in table yrot_varv.&lt;/P&gt;&lt;P&gt;c_ygts_mmoc_werks is of type yrot_varv-name.&lt;/P&gt;&lt;P&gt;l_werks is if type yrot_varv-val1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;lalit Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Sep 2010 07:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/short-dump-occuring-after-select/m-p/7284534#M1531951</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-27T07:04:24Z</dc:date>
    </item>
  </channel>
</rss>

