<?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 issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063905#M1176576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the following changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Change LIPS&lt;SUB&gt;VBELN = I_VBFA-VBELN to LIKP&lt;/SUB&gt;VBELN = I_VBFA-VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Since you are supplying only partner functin PARNR as input to the query, and are only interested in partners attached to delivery header (as you say VBPA~POSNR = 0), I would advice you to decouple VBPA from the join, as the query is occurring at item level. .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Jan 2009 06:07:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-29T06:07:45Z</dc:date>
    <item>
      <title>Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063903#M1176574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT LIKP&lt;SUB&gt;VBELN LIPS&lt;/SUB&gt;POSNR LIKP&lt;SUB&gt;ERDAT LIKP&lt;/SUB&gt;INCO1 LIKP~INCO2&lt;/P&gt;&lt;P&gt;               LIKP&lt;SUB&gt;BOLNR LIKP&lt;/SUB&gt;WADAT_IST LIKP~LIFEX&lt;/P&gt;&lt;P&gt;               LIPS&lt;SUB&gt;LFIMG LIPS&lt;/SUB&gt;BWART LIPS&lt;SUB&gt;PSTYV LIKP&lt;/SUB&gt;VBTYP VBPA~LIFNR&lt;/P&gt;&lt;P&gt;               INTO TABLE I_LIKP FROM LIKP&lt;/P&gt;&lt;P&gt;               INNER JOIN LIPS&lt;/P&gt;&lt;P&gt;               ON LIPS&lt;SUB&gt;VBELN = LIKP&lt;/SUB&gt;VBELN&lt;/P&gt;&lt;P&gt;               INNER JOIN VBPA&lt;/P&gt;&lt;P&gt;               ON  VBPA&lt;SUB&gt;VBELN = LIKP&lt;/SUB&gt;VBELN AND&lt;/P&gt;&lt;P&gt;                   VBPA~POSNR = 0&lt;/P&gt;&lt;P&gt;                    FOR ALL ENTRIES IN I_VBFA&lt;/P&gt;&lt;P&gt;                    WHERE LIPS~VBELN = I_VBFA-VBELN&lt;/P&gt;&lt;P&gt;                      AND LIPS~POSNR = I_VBFA-POSNN  AND&lt;/P&gt;&lt;P&gt;                   VBPA~PARVW = 'SP'. " SP denoted Carrier Type Partner&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can anybody tell me whether this query is good performance wise? if not how can we modify this statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Sudheer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: sudheer kumar on Jan 29, 2009 7:02 AM&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="red" __jive_macro_name="color"&gt;&lt;STRONG&gt;use meaningful subject&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vijay Babu Dudla on Jan 29, 2009 5:29 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063903#M1176574</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063904#M1176575</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 suggest you to write ONLY this query in the program and then execute...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE30 and ST05.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Based on the outcome, if the database time/performance is more, you need to modify the query...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE30: Run time analysis: ABAP part should be more than the database part..&lt;/P&gt;&lt;P&gt;ST05: Database trace..You can check the time in seconds to fetch the data..from the table...(it should be ideally less--Only in Yellow color..Red color indicates bad performance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063904#M1176575</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063905#M1176576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the following changes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Change LIPS&lt;SUB&gt;VBELN = I_VBFA-VBELN to LIKP&lt;/SUB&gt;VBELN = I_VBFA-VBELN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Since you are supplying only partner functin PARNR as input to the query, and are only interested in partners attached to delivery header (as you say VBPA~POSNR = 0), I would advice you to decouple VBPA from the join, as the query is occurring at item level. .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063905#M1176576</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063906#M1176577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will suggest you to use the view WB2_V_LIKP_LIPS2. And inner joins will not affect performance when compared to use of loops if you run two separate queries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:58:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063906#M1176577</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T06:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063907#M1176578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check in se30 and st05 .there you can check your performance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 10:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063907#M1176578</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T10:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063908#M1176579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; ST05: Database trace..You can check the time in seconds to fetch the data..from the table...&lt;/P&gt;&lt;P&gt;&amp;gt; (it should be ideally less--Only in Yellow color..Red color indicates bad performance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;recommendation is good&lt;/P&gt;&lt;P&gt;interpretation is wrong, red color means only that it need more than 100ms &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This can be o.k., if 10.000 records are read!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Table -&amp;gt; Summarize by SQL statements!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Statement should appear in first row, if it is the most expensive select statement.&lt;/P&gt;&lt;P&gt;Reason for large duration is:&lt;/P&gt;&lt;P&gt;+ many records are read =&amp;gt; Really necessary?&lt;/P&gt;&lt;P&gt;+ or each record needs a long time, check MinTime/R or AvgTime/R, usually if they are larger&lt;/P&gt;&lt;P&gt;   than 10.000 microseconds, then performance of the statement is bad!&lt;/P&gt;&lt;P&gt;   For a good statement these entries go down to 200 or even 100 microseconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Siegfried&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2009 11:41:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue/m-p/5063908#M1176579</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-29T11:41:14Z</dc:date>
    </item>
  </channel>
</rss>

