<?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 sort table vs hashed table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634974#M1091382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can somebody tell me when I should use sort table and when hashed table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Comandante Che Guevara on Oct 14, 2008 12:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 14 Oct 2008 10:03:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-14T10:03:09Z</dc:date>
    <item>
      <title>sort table vs hashed table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634974#M1091382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can somebody tell me when I should use sort table and when hashed table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Comandante Che Guevara on Oct 14, 2008 12:23 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 10:03:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634974#M1091382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T10:03:09Z</dc:date>
    </item>
    <item>
      <title>Re: sort table vs hashed table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634975#M1091383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hashed table: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)Only Key access possible, no index access&lt;/P&gt;&lt;P&gt;2)Unique Key is required&lt;/P&gt;&lt;P&gt;Hashed table shud be used if the internal table is too large.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted Table:&lt;/P&gt;&lt;P&gt;1)Both Index and key acess possible&lt;/P&gt;&lt;P&gt;2)Unique/Non unique Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append is possible only with Standard tables, so it cannot be performed on hashed and sorted table. &lt;/P&gt;&lt;P&gt;Insert is possible in all the three tables but has different effects in all three: &lt;/P&gt;&lt;P&gt;in sorted table : it is inserted at the right place depending on the key.&lt;/P&gt;&lt;P&gt;in Hased Table : Inserted according to Hash algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 10:31:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634975#M1091383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T10:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: sort table vs hashed table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634976#M1091384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;It depends on your needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed table access is by key, search time is independent of register number. You can use it when you have large amount of register, and you want to retrieve data very quickly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In sorted table, if you access by the sorted key, you can specify BINARY SEARCH. Search time depends on register number, but not so much, since is logarithmic. If you access by another key (not sorted key), search is sequential and depends much on amount of data.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 10:32:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634976#M1091384</guid>
      <dc:creator>jordi_escodaruiz</dc:creator>
      <dc:date>2008-10-14T10:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: sort table vs hashed table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634977#M1091385</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 &amp;amp; Sorted table are a kind of access modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The access mode defines how to access the data in the internal table defined by the table type when performing key operations. In particular, it defines whether key accesses to the internal table are allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sorted table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The table is always stored internally sorted by its key. Key access to a sorted table can therefore use a binary search. If the key is not unique, the entry with the lowest index is accessed. The time required for an access is dependent on the number of entries in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Index accesses to sorted tables are also allowed. You should usually access a sorted table using its key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hash table:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;The table is internally managed with a hash procedure. All the entries must have a unique key. The time required for a key access is constant, that is it does not depend on the number of entries in the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You cannot access a hash table with an index. Accesses must use generic key operations (SORT, LOOP, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nitesh Jain&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2008 10:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sort-table-vs-hashed-table/m-p/4634977#M1091385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-14T10:36:18Z</dc:date>
    </item>
  </channel>
</rss>

