<?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 internal table-performance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614213#M599902</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; on performance vise which internal table is better..&lt;/P&gt;&lt;P&gt;standard or sorted or harshed . why&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jul 2007 12:24:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-25T12:24:53Z</dc:date>
    <item>
      <title>internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614213#M599902</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; on performance vise which internal table is better..&lt;/P&gt;&lt;P&gt;standard or sorted or harshed . why&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614213#M599902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614214#M599903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Hashed table is useful when your have to work with very big internal table and to read it with  &lt;/P&gt;&lt;P&gt;"READ TABLE WITH KEY ..."  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The time access is constant !  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Definition of a Hashed Table:  &lt;/P&gt;&lt;P&gt;"Defines the table as one that is managed with an internal hash procedure. You can imagine a hashed table as a set, whose elements you can address using their unique key. Unlike standard and sorted tables, you cannot access hash tables using an index. All entries in the table must have a unique key.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Access time using the key is constant, regardless of the number of table entries.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can only access a hashed table using the generic key operations or other generic operations (SORT, LOOP, and so on). Explicit or implicit index operations (such as LOOP ... FROM to INSERT itab within a LOOP) are not allowed."  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As long as your records has unique key(s), using hash table will give you a huge performance gain when dealing with large dataset. assuming in your case, 10000 record , and if the key is unique, use hash table.  The main use of hash tables is for looking up fixed information from a key. So if you have a report that has personnel number and you want to display their name, you could use a hash table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:26:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614214#M599903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614215#M599904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;standard internal table is the best one... It holds data which can be read easily using binary search after sorted on some keys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:27:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614215#M599904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:27:34Z</dc:date>
    </item>
    <item>
      <title>Re: internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614216#M599905</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;It depends on performance in WHAT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF you want to READ using table key then HASHED table is the best.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then Sorted Table and at last Standard tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHEN you want to READ using INDEX then you can do that only in STANDARD and SORTED Tables. They both are equally good.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:28:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614216#M599905</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-25T12:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614217#M599906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Performance wise it is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed table   &lt;/P&gt;&lt;P&gt;Sorted&lt;/P&gt;&lt;P&gt;Standard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To Read data from a table with X entries, the average seek time is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed table 1 &lt;/P&gt;&lt;P&gt;Sorted table LN( X ) + 1&lt;/P&gt;&lt;P&gt;Standard table ( X / 2 ) + 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please keep in mind, that a standard table has to be sorted to read binary search wise. In that case you have a sorted standard table &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614217#M599906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614218#M599907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;u can use &lt;/P&gt;&lt;P&gt;sort itab.&lt;/P&gt;&lt;P&gt;read table with key vbeln = itab-vbeln  binary search .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:39:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614218#M599907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: internal table-performance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614219#M599908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suprith,&lt;/P&gt;&lt;P&gt;            It all depends on the type of data you are holding.If your data is huge in no then Hashed table is the best , because the it gives the data in constant time.&lt;/P&gt;&lt;P&gt;                                                            If you knw  the index of the data then Standard table is the best.&lt;/P&gt;&lt;P&gt;You can use a binary search on Sort table. But mind you Sorting of data again takes time.&lt;/P&gt;&lt;P&gt;So, It all depends on your requirement what type of data you are handling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rewards points if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Sourabh Verma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jul 2007 12:43:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-performance/m-p/2614219#M599908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-25T12:43:34Z</dc:date>
    </item>
  </channel>
</rss>

