<?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: order--performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766240#M644247</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;performance is affected by the filled fields in the where condition not by the order of the fields!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your where condition there are all primary key fields, so everything could be fine. BUT the main question is which conditions are actually used in the execution, are all range for  BUKRS, BELNR and GJAHR really filled?&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, 10 Sep 2007 07:00:55 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-10T07:00:55Z</dc:date>
    <item>
      <title>order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766239#M644246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the below situation will effect performance..order in table is different from query??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in query order:&lt;/P&gt;&lt;P&gt;SELECT bukrs belnr gjahr monat blart bldat budat&lt;/P&gt;&lt;P&gt;         cpudt usnam tcode bktxt awkey&lt;/P&gt;&lt;P&gt;         INTO TABLE ibkpf FROM bkpf&lt;/P&gt;&lt;P&gt;         WHERE bukrs IN bukrs&lt;/P&gt;&lt;P&gt;           AND belnr IN belnr&lt;/P&gt;&lt;P&gt;           AND gjahr IN gjahr&lt;/P&gt;&lt;P&gt;           AND monat IN monat&lt;/P&gt;&lt;P&gt;           AND blart IN blart&lt;/P&gt;&lt;P&gt;           AND tcode IN tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the table order:&lt;/P&gt;&lt;P&gt;MANDT key&lt;/P&gt;&lt;P&gt;BUKRS key &lt;/P&gt;&lt;P&gt;BELNR key&lt;/P&gt;&lt;P&gt;GJAHR key&lt;/P&gt;&lt;P&gt;BLART&lt;/P&gt;&lt;P&gt;BLDAT&lt;/P&gt;&lt;P&gt;BUDAT&lt;/P&gt;&lt;P&gt;MONAT&lt;/P&gt;&lt;P&gt;CPUDT&lt;/P&gt;&lt;P&gt;CPUTM&lt;/P&gt;&lt;P&gt;AEDAT&lt;/P&gt;&lt;P&gt;UPDDT&lt;/P&gt;&lt;P&gt;WWERT&lt;/P&gt;&lt;P&gt;USNAM&lt;/P&gt;&lt;P&gt;TCODE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 06:54:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766239#M644246</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T06:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766240#M644247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;performance is affected by the filled fields in the where condition not by the order of the fields!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your where condition there are all primary key fields, so everything could be fine. BUT the main question is which conditions are actually used in the execution, are all range for  BUKRS, BELNR and GJAHR really filled?&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, 10 Sep 2007 07:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766240#M644247</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T07:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766241#M644248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually BUKRS and GJAHR are mandetory. belnr is not..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it's std prog..can u suggest me now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 09:01:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766241#M644248</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T09:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766242#M644249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 13:34:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766242#M644249</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-10T13:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766243#M644250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;J_1I_CHALLAN_UPDATE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 05:48:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766243#M644250</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T05:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766244#M644251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check if notes 814982, 788026 or 788992 apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2007 13:16:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766244#M644251</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-11T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: order--performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766245#M644252</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;Remember one thing in performance- use all KEY fileds in WHERE whenever possible to get the fast access from tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ur coding peformance wise gives bit issue why because there are only three fields are KEY filed in where condition are bukrs, belnr, gjahr but remaining fields are NON KEY fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But really you want to improve the perfomance you can create the SECONDARY INDEX for all the fileds used in where, i am not sure client are agree to create secondary index why bec one if you r going to create secondory index the table needs to memory of original table say table have 100 mb memory, once if create index it need again 100 mb which like create one more showd table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;NOTE : select statement consider only one index if use multiple fields whcih are exit in multiple indexs.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward with points if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2007 08:33:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/order-performance/m-p/2766245#M644252</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-13T08:33:58Z</dc:date>
    </item>
  </channel>
</rss>

