<?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: performance issues? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814213#M1126724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that r_status is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And don't do this in a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Nov 24, 2008 10:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2008 14:37:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-24T14:37:44Z</dc:date>
    <item>
      <title>performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814205#M1126716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI all&lt;/P&gt;&lt;P&gt;i am working on performance improvment.&lt;/P&gt;&lt;P&gt;this is sql stst as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * APPENDING TABLE  t_tj02t&lt;/P&gt;&lt;P&gt;                       FROM tj02t&lt;/P&gt;&lt;P&gt;                       WHERE istat IN r_status&lt;/P&gt;&lt;P&gt;                       AND spras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it's not giving performance in se30.&lt;/P&gt;&lt;P&gt;how can i replace the for for betterment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 11:54:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814205#M1126716</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T11:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814206#M1126717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try out your query this way&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * from tj02 into table t_tj02t &lt;/P&gt;&lt;P&gt;WHERE istat IN r_status&lt;/P&gt;&lt;P&gt;AND spras = sy-langu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps u out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:00:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814206#M1126717</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814207#M1126718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How many values you have in r_status? If it is very long then I would advice to get all records from the &lt;/P&gt;&lt;P&gt;tj02t table and then use read table statement to find the value in the internal table. This is faster than having huge list of where clause values. Check out the number of records for your SY-langu... if it is few hundereds then it is ok to read it all in memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Franc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:01:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814207#M1126718</guid>
      <dc:creator>former_member226999</dc:creator>
      <dc:date>2008-11-24T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814208#M1126719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; but it's not giving performance in se30.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What does this mean? Are you sure this statement is causing problems? Is it inside a loop? How many entries does tj02t have?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:04:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814208#M1126719</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2008-11-24T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814209#M1126720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thomos &lt;/P&gt;&lt;P&gt;it means giving the expensive statement&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814209#M1126720</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814210#M1126721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ranjit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what about Appending?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:09:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814210#M1126721</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T12:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814211#M1126722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; SELECT * APPENDING TABLE  t_tj02t&lt;/P&gt;&lt;P&gt;&amp;gt;                        FROM tj02t&lt;/P&gt;&lt;P&gt;&amp;gt;                        WHERE istat IN r_status&lt;/P&gt;&lt;P&gt;&amp;gt;                        AND spras = sy-langu.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the SELECT uses the full key, so this statement could not make any performance issue. There are "only"a few thousands entries in this table (even if r_status is empty), it shouldn't be any problem by this select. Replacing the APPENDING with INTO TABLE makes some sense, but I wouldn't expect a dramatic improvement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is performance issue in your program, it is not because of the above SELECT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:29:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814211#M1126722</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2008-11-24T12:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814212#M1126723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If you use appending it specifies that u r using the statement in your loop.&lt;/P&gt;&lt;P&gt;You use Appending When already u have data in your itab and then yoiu want further rows to be added.&lt;/P&gt;&lt;P&gt;According to my understanding of your requirement you want you data to be collected in an itab without any prior records. So there is no need for using append if this is the case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if possibel try to use other primary keys and indexes in your queries. It will serve u much better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 12:30:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814212#M1126723</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T12:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814213#M1126724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure that r_status is not empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And don't do this in a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Rob Burbank on Nov 24, 2008 10:16 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 14:37:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814213#M1126724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T14:37:44Z</dc:date>
    </item>
    <item>
      <title>Re: performance issues?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814214#M1126725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; WHERE istat IN r_status&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the ABAP statement, where the range comes from, is a useless information! You need to tell&lt;/P&gt;&lt;P&gt;us the database statement as in the detail of the SQL trace or what you see in the debugger, or&lt;/P&gt;&lt;P&gt;what you type in the select-option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;r_status can have any type of condition, not only the empty condition is a problem, it can contain&lt;/P&gt;&lt;P&gt;not equal condition, interval and whatever, oir even combinations of these, all these make the access slower or even really slow!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And don't forget, execute the select twice before you judge the performance, we are not talking about intialization costs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPENDING or INTO should make no difference at all, because it has no influence on the statement.&lt;/P&gt;&lt;P&gt;Of course if you do appending, then your internal table contains also the lines of the last select, which has effects on the further processing, but not on the SELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2008 14:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues/m-p/4814214#M1126725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-24T14:56:55Z</dc:date>
    </item>
  </channel>
</rss>

