<?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 improvement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852289#M1885827</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh - If you have achieved what you were looking for then I assume you should close this thread as answered with giving proper rewards to the experts who have given their valuable thoughts!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Thanks Somnath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 18 Jan 2015 12:07:20 GMT</pubDate>
    <dc:creator>somnath</dc:creator>
    <dc:date>2015-01-18T12:07:20Z</dc:date>
    <item>
      <title>Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852266#M1885804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one requirement it is GIN(goods receipt&amp;nbsp; and invoice data) Alv report from MB5S:Tcode.There are so many tables are there.I am retrieving data from tables by using 'FOR ALL ENTRIES' Query.Even the database performance shows 65%.Again i have create secondary index for non-key fields .Now&amp;nbsp; the database performance show 55%.I want to decrease upto 30%.How it's possible if any one knows reply me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mahesh K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852266#M1885804</guid>
      <dc:creator>former_member185124</dc:creator>
      <dc:date>2015-01-15T10:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852267#M1885805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Avoid for all entries and try to use inner join. You also can check "parallel cursor" technique. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852267#M1885805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T10:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852268#M1885806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what u want to do exactly? To increase a performance of MB5S &lt;SPAN __jive_emoticon_name="shocked" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/1103/images/emoticons/shocked.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;or u have a similar report *Custom developed Z rep.* ? and for that u want to have an optimization techniques?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Rudra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:26:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852268#M1885806</guid>
      <dc:creator>former_member214878</dc:creator>
      <dc:date>2015-01-15T10:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852269#M1885807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Thiago,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving reply.I am using parrallel cursor technique .i.e., for abap performance but i need to improve the database performance.How it is .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;mahesh k &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:35:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852269#M1885807</guid>
      <dc:creator>former_member185124</dc:creator>
      <dc:date>2015-01-15T10:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852270#M1885808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Rudra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have develop a custom report.I have the improve the database performance .What are the techniques to do .Already i am using 'FOR ALL ENTRIES' in select query and secondary index on non-key fields but it shows upto 55%.But i need upto 30%.How to do this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Mahesh k &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:39:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852270#M1885808</guid>
      <dc:creator>former_member185124</dc:creator>
      <dc:date>2015-01-15T10:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852271#M1885809</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;Your requirement is really strange.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want 30% database then simply increase the ABAP stuff.&lt;/P&gt;&lt;P&gt;Also keep in mind that the way abap runtime performance and database acces in development works can be different from production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards, Rob Dielemans&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:56:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852271#M1885809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T10:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852272#M1885810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forget the percentages and rather look at absolute runtimes.&lt;/P&gt;&lt;P&gt;Run an ABAP trace with transaction SAT and sort the result list descending by "net time", the top few items in the list will be your performance bottlenecks to be investigated further (e.g. inefficient DB access, exponential growth of internal tables, inefficient loop inside loop constructs, too many RFCs, etc.).&lt;/P&gt;&lt;P&gt;This has been discussed many times, please search for available information.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:16:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852272#M1885810</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2015-01-15T11:16:35Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852273#M1885811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hii mahesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it depends on amount of data you want to fetch as well, along with your select-option and where clauses you used. make sure you used maximum possible key fields so that db time is reduced&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:18:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852273#M1885811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T11:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852274#M1885812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Gaurav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for giving reply.I am using key fields only .If For non-key fields i am create a secondary index then it shows 55%.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:23:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852274#M1885812</guid>
      <dc:creator>former_member185124</dc:creator>
      <dc:date>2015-01-15T11:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852275#M1885813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow the below methods, what we follows while developing or code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Fetch the Data from table through Columns / Fields based query, try to avain '*' while doing query.&lt;/P&gt;&lt;P&gt;2. Always user FIELD-SYMBOL to read or loop the Data from Internal table.&lt;/P&gt;&lt;P&gt;3. Avain Loop inside Loop statement, try to do Index Looping always.&lt;/P&gt;&lt;P&gt;4. Check Internal Table Initialization, before do the For All Entries.&lt;/P&gt;&lt;P&gt;5.Try to avaind reuse component, if possible make the logic globle.&lt;/P&gt;&lt;P&gt;6. If possible, try to use parallel Process techniques.&lt;/P&gt;&lt;P&gt;7. Sort the table before Read from Internal Table, user BINARY SEARCH.&lt;/P&gt;&lt;P&gt;8. Sort the Information before delete the data from Internal table and user 'COMPARING FIELDS-NAME'&lt;/P&gt;&lt;P&gt;9. Before go for FOR ALL ENTRIES, try to sort the Information or if possible try to pass unique information in internal table (Repeatative maybe takes time to fetch records from Tables )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Guys, if you have some more point to consider, please add.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reagrds.&lt;/P&gt;&lt;P&gt;Praveer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:27:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852275#M1885813</guid>
      <dc:creator>ipravir</dc:creator>
      <dc:date>2015-01-15T11:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852276#M1885814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Thomas ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have&amp;nbsp; run se30(old one).For SAT how to run this and how to find this&lt;SPAN style="color: #333333; font-size: 12px;"&gt;(e.g. inefficient DB access, exponential growth of internal tables, inefficient loop inside loop constructs, too many RFCs, etc.).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852276#M1885814</guid>
      <dc:creator>former_member185124</dc:creator>
      <dc:date>2015-01-15T11:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852277#M1885815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear mahesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;db performance depends on lot many things not only on abap code you write like server load indexing at db level system paramerers etc, so optimize your source code as much as possible thats only thing you can do at abap level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:29:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852277#M1885815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T11:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852278#M1885816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear mahesh&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;db performance depends on lot many things not only on abap code you write like server load indexing at db level system paramerers etc, so optimize your source code as much as possible thats only thing you can do at abap level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:30:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852278#M1885816</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T11:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852279#M1885817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please paste a screenshot of the top 10 items in the hit list (not the percentage overview!), list must be sorted by net time descending, as mentioned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="45105" __jive_macro_name="blogpost" class="jive_macro jive_macro_blogpost" data-orig-content="The ABAP Runtime Trace (SE30) -  Quick and Easy" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(chapters 3 and 4 especially)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:40:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852279#M1885817</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2015-01-15T11:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852280#M1885818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I send a screen shot of Hit list .So,please find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/625408" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 11:46:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852280#M1885818</guid>
      <dc:creator>former_member185124</dc:creator>
      <dc:date>2015-01-15T11:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852281#M1885819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use joins instead of for all entries. Use joins with key fields.&lt;/P&gt;&lt;P&gt;This will surely improve the performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pankaj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 12:05:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852281#M1885819</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852282#M1885820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Almost there, tab "Hit list" sorted by column "Net" descending would be better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can already (barely) see that DB access to RSEG, MSEG and LFA1 takes some time, so investigate the SQL statements and make sure that you use primary or secondary key fields in your where conditions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please also search for previous discussions around how to solve specific performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 13:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852282#M1885820</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2015-01-15T13:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852283#M1885821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe u must be having a extensive data! That's inevitable in some cases like yours.&lt;/P&gt;&lt;P&gt;Now the basic things explained by Thomas is abs. must to be considered. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For better performance I would suggest -&amp;nbsp; use packet wise reading in select query and handling a packet for the further calculation/final internal table creation part.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can have a look on - &lt;CODE class="keyword abap"&gt;OPEN&lt;/CODE&gt; &lt;CODE class="keyword abap"&gt;CURSOR ^ BY PASSING BUFFER &lt;CODE class="keyword abap"&gt;^ &lt;/CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Also have a look on -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Select statement where u need not to have *&lt;/P&gt;&lt;P&gt;2. WHERE condition part plays a crucial role, have as much as possible KEYS in the statement&lt;/P&gt;&lt;P&gt;3. Have a keep on ST05. SQL trace. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think u can do it ... many times this is been discussed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards.&lt;/P&gt;&lt;P&gt;Rudra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 13:59:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852283#M1885821</guid>
      <dc:creator>former_member214878</dc:creator>
      <dc:date>2015-01-15T13:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852284#M1885822</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mahesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please send us your program source code and snap shots of the secondary indexes you created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 08:46:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852284#M1885822</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-16T08:46:18Z</dc:date>
    </item>
    <item>
      <title>Re: Performance improvement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852285#M1885823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your problem is you wanted to reduce the no of hits to the database and in order to improve the performance Please follow the below steps...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Before using for all entries command, just copy the internal table data into temp internal table which contains same structure and then delete the duplicate entries from that internal table and then use it..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EX:&lt;/P&gt;&lt;P&gt;A is an internal table which is having 2000 entries.&lt;/P&gt;&lt;P&gt;A_Copy is an temp internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A_Copy = A.&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; "Copying the values from internal table A to A_Copy&lt;/P&gt;&lt;P&gt;Sort A_Copy Ascending by field-name1 field-name2. "Sort it by the field which u r using in where cond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;DELETE &lt;SPAN class="L0S52"&gt;ADJACENT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;DUPLICATES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FROM A_Copy&lt;/SPAN&gt; &lt;SPAN class="L0S52"&gt;COMPARING field-name1 and field-name2.&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.in the where condition use as listed in INDEXES for the particular table if any,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try to avoid passing duplicate entries, that will improve the performance more than 20%...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will be helpful for you....&lt;/P&gt;&lt;P&gt;If still you are facing the same issue, just share the select query completely will give you the appropriate solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Balanand S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 09:04:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-improvement/m-p/10852285#M1885823</guid>
      <dc:creator>balanand_s</dc:creator>
      <dc:date>2015-01-16T09:04:53Z</dc:date>
    </item>
  </channel>
</rss>

