<?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 a custom table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259691#M778684</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;a table has - besides a few exceptions - always one index that is the primary key. The fields are the key fields in the same order as in the table. &lt;/P&gt;&lt;P&gt;The primary key is always there and therefore not displayed under the botton 'index'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is tknum a key field? What are the key fields in correct order? If it is in the key and maybe the first one, then it does not make sense that you create an index.&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, 17 Jan 2008 13:00:08 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-01-17T13:00:08Z</dc:date>
    <item>
      <title>Performance issue in a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259690#M778683</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 have  a ztable used in a program wherin I have a doubt of performance issue in selection.Its like :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    SELECT ship_no invoice_no&lt;/P&gt;&lt;P&gt;      INTO TABLE it_ship_no_hist&lt;/P&gt;&lt;P&gt;      FROM zco_cust_hist&lt;/P&gt;&lt;P&gt;      FOR ALL ENTRIES IN it_freight&lt;/P&gt;&lt;P&gt;      WHERE ship_no = it_freight-tknum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are 7 key fields in this table out of which one ( tknum ) is used in a where condition.The table is without any index.&lt;/P&gt;&lt;P&gt;   For performance purpose should I create an index with the very field 'tknum' in the index..can I do that or index should be created only along with non key fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 12:47:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259690#M778683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T12:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259691#M778684</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;a table has - besides a few exceptions - always one index that is the primary key. The fields are the key fields in the same order as in the table. &lt;/P&gt;&lt;P&gt;The primary key is always there and therefore not displayed under the botton 'index'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is tknum a key field? What are the key fields in correct order? If it is in the key and maybe the first one, then it does not make sense that you create an index.&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, 17 Jan 2008 13:00:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259691#M778684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259692#M778685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Siegfried,&lt;/P&gt;&lt;P&gt;    tknum is a key field and is the second key field after material number.The rest key fields after tknum are like Doc. no of invoice doumnet,cust. no ,reserve acct no, p&amp;amp; l acct no and posting date .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 13:10:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259692#M778685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T13:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Performance issue in a custom table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259693#M778686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Two options that I can think of:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since tknum is not the first key field in the primary index, it may make sense to create an index on this field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Change the order of the key fields in the table so that tknum is the first (key) field. This would also mean some analysis of other programs that create records into and read records from this table. IE - it may cause more problems than it fixes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2008 17:14:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-in-a-custom-table/m-p/3259693#M778686</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-01-17T17:14:33Z</dc:date>
    </item>
  </channel>
</rss>

