<?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 with Where conditions in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019812#M413264</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Your logic will work but try doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1) Declare the other two as select options but hidden.&lt;/P&gt;&lt;P&gt;  Ex: Select-options: s_field2/S_field3 NO-DISPLAY. &lt;/P&gt;&lt;P&gt;  2) Now the output will have the required format and you need not do the read statement or maintain the data after extraction.&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;BR&lt;/P&gt;&lt;P&gt;Rakesh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Please close the thread if your question is answered..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Mar 2007 19:02:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-26T19:02:11Z</dc:date>
    <item>
      <title>Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019807#M413259</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;&lt;/P&gt;&lt;P&gt;    I am working on performance issues, where i found like below...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Selection-screen: &lt;/P&gt;&lt;P&gt;          s_field1(Optional)&lt;/P&gt;&lt;P&gt;          s_field2(Optional)&lt;/P&gt;&lt;P&gt;          s_field3(Optional)&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table: XXXX has 3 fields as primary fields &lt;/P&gt;&lt;P&gt;          but S_Field1 only using in the where condition. Thats why program was taking long time. If we use like below ...can we imporve performance...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select (fields)&lt;/P&gt;&lt;P&gt;   From XXXX&lt;/P&gt;&lt;P&gt;  into table itab&lt;/P&gt;&lt;P&gt;  where field1 in s_field1&lt;/P&gt;&lt;P&gt;           field2 in r_field2&lt;/P&gt;&lt;P&gt;           field3 in r_field3. &lt;/P&gt;&lt;P&gt;where r_field2 &amp;amp; 3 are ranges, they will be filled with min &amp;amp; max values. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that ...we can filter the internal table based on the selection parameters - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;will it increase the performance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 18:25:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019807#M413259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T18:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019808#M413260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this will increase the performance but its not a generic solution.&lt;/P&gt;&lt;P&gt;As an alternative you can read all data from the table and check your condition with READ table statement.&lt;/P&gt;&lt;P&gt;this will definitly improve the performance.&lt;/P&gt;&lt;P&gt;Also check these links-&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.erpgenie.com/abap/performance.htm" target="test_blank"&gt;http://www.erpgenie.com/abap/performance.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp" target="test_blank"&gt;http://www.thespot4sap.com/Articles/SAPABAPPerformanceTuning_PerformanceAnalysisTools.asp&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="945562"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward all helpful replies.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you are not using any cluster table here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Amit Khare&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 18:27:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019808#M413260</guid>
      <dc:creator>amit_khare</dc:creator>
      <dc:date>2007-03-23T18:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019809#M413261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From where i need to read the data, can you let me know more briefly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2007 18:29:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019809#M413261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-23T18:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019810#M413262</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;The Performance will not be increased by much, as per the normal process.. try the following &lt;/P&gt;&lt;P&gt;a) The table has nay Secondary index or not&lt;/P&gt;&lt;P&gt;b) If the Table has no Secondary Index and it is not a Transaction table the best soultion is to create a Secondary Index with the Keys that is in your Where clause.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that Solves the problem &lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Anirban M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 09:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019810#M413262</guid>
      <dc:creator>former_member480923</dc:creator>
      <dc:date>2007-03-26T09:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019811#M413263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;good&lt;/P&gt;&lt;P&gt;do this things before writing the select satement&lt;/P&gt;&lt;P&gt;1-Sort the internal table&lt;/P&gt;&lt;P&gt;2-Use COOESPONDING FIELDS of statement with the select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;mrutyun^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 11:27:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019811#M413263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T11:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019812#M413264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Your logic will work but try doing this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1) Declare the other two as select options but hidden.&lt;/P&gt;&lt;P&gt;  Ex: Select-options: s_field2/S_field3 NO-DISPLAY. &lt;/P&gt;&lt;P&gt;  2) Now the output will have the required format and you need not do the read statement or maintain the data after extraction.&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;BR&lt;/P&gt;&lt;P&gt;Rakesh &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Please close the thread if your question is answered..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Mar 2007 19:02:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019812#M413264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-26T19:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019813#M413265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry still, i did not get the satisfactory answer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2007 12:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019813#M413265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-27T12:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019814#M413266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To create a secondary index will NOT incrase the performance, because it would be a part of the primary index...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 09:20:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019814#M413266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T09:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019815#M413267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaya Sri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    Try using the below format of select stament ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt;   Select (fields)&lt;/P&gt;&lt;P&gt;              From XXXX&lt;/P&gt;&lt;P&gt;              Into table itab&lt;/P&gt;&lt;P&gt;              Where  field1 in s_field1&lt;/P&gt;&lt;P&gt;                  and  field2 in r_field2 &lt;/P&gt;&lt;P&gt;                  and  field3 in r_field3.&amp;lt;/b&amp;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;&amp;lt;i&amp;gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Ali S&amp;lt;/b&amp;gt;&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 13:38:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019815#M413267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T13:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019816#M413268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Into Corresponding fields, to increase performance ? NEVER !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Apr 2007 18:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019816#M413268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-05T18:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019817#M413269</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;This will work no prob.  but no need to fill f_fld2 and s_fld3 bcoz if it is balnk then it will autmatcally select min to max. you can hide this with some no-display option in select options.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Generally,  in such cases try to put more where  conditions on key field only. &lt;/P&gt;&lt;P&gt;NEVER use into corrosponding fields to fill itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what u r going to do, i dont think that will improve performance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jogdand M B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Apr 2007 06:17:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019817#M413269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-09T06:17:49Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issues with Where conditions</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019818#M413270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Performance Issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a very good document on SDN on performance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6" target="test_blank"&gt;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/afbad390-0201-0010-daa4-9ef0168d41b6&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also if you login to the service marketplace and go to the bi infoindex. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://service.sap.com/bi" target="test_blank"&gt;http://service.sap.com/bi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there is a performance area where you can download information etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of the best tips I have found that most of these documents will outline in more detail is to buffer the SID Number range objects accessed in table NRIV. Once you find the NRO's that are causing a great deal of reads on the NRIV table you can navigate to transaction SNRO and identify the iobj NRO BIM* to be buffered enter it into the input field and hit change. From the edit menu select Set-Up buffering. From here you can configure the buffering of your iobj SID NRO's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course before going through this process do an SQL trace during the load process to identify whether or not the NRIV table is causing performance issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/people/rob.burbank/blog/2006/02/07/performance-of-nested-loops&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;P.Naganjana Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Apr 2007 09:36:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issues-with-where-conditions/m-p/2019818#M413270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-10T09:36:22Z</dc:date>
    </item>
  </channel>
</rss>

