<?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: Select gives timedout error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916615#M686673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See to that you use only primary key or index fields in the where clause of the select query so that it enhances the performance and thus avoids time out errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Oct 2007 05:04:16 GMT</pubDate>
    <dc:creator>kiran_k8</dc:creator>
    <dc:date>2007-10-22T05:04:16Z</dc:date>
    <item>
      <title>Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916610#M686668</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 had a select statement like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from ausp where attin = '123'. Since this table(ausp) has got some 1500+ entries for a particular attin, this select gave timed out error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of using select I modified my query as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      OPEN CURSOR g_cursor FOR&lt;/P&gt;&lt;P&gt;      SELECT * FROM ausp where attin = '123'.&lt;/P&gt;&lt;P&gt;      FETCH NEXT CURSOR g_cursor&lt;/P&gt;&lt;P&gt;      APPENDING CORRESPONDING FIELDS OF TABLE lt_participants.&lt;/P&gt;&lt;P&gt;      IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;      CLOSE CURSOR g_cursor.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;Even after using cursor, the query gives timedout error. &lt;/P&gt;&lt;P&gt;There are few more key entries in the table, but I dont have those values when i do the select, so I have to select with just one where condition. Is there is any other way I can select the values from this table without giving timedout error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Sathish R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:08:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916610#M686668</guid>
      <dc:creator>former_member382337</dc:creator>
      <dc:date>2007-10-19T17:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916611#M686669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Change you select WHERE Condition. It says ATTIN but the field name is ATINN. That is causing the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:12:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916611#M686669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T17:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916612#M686670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because you haven't included KLART in the WHERE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2007 17:24:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916612#M686670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-19T17:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916613#M686671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashis,&lt;/P&gt;&lt;P&gt;It was a typo. I am using the right field name in my select condition. I am not getting short dump, I am getting timed out error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Sathish R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 04:54:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916613#M686671</guid>
      <dc:creator>former_member382337</dc:creator>
      <dc:date>2007-10-22T04:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916614#M686672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of SELECT *, can you just populate required fields? Also can you add some more conditions in WHERE clause like for which Class you want to fetch the characteristics values?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 04:57:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916614#M686672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-22T04:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916615#M686673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sathish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See to that you use only primary key or index fields in the where clause of the select query so that it enhances the performance and thus avoids time out errors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2007 05:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916615#M686673</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2007-10-22T05:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Select gives timedout error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916616#M686674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Before the Select statement use the conversion exit for the field ATINN. &lt;/P&gt;&lt;P&gt;Call Fm ---&amp;gt; CONVERSION_EXIT_ATINN_INPUT&lt;/P&gt;&lt;P&gt;with input  -&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; '123'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;feed the result of this into your Select statement like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM AUSP where ATINN = output_of_conversion_exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason it is timing out is because the field ATINN has a non-standard conversions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if that worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS - also use SE16 to see if you are able to get a result for the same Select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2007 15:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-gives-timedout-error/m-p/2916616#M686674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-23T15:26:19Z</dc:date>
    </item>
  </channel>
</rss>

