<?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: Sorted and hashed internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030373#M83622</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why would you like to sort a hashed table...its entries are never ordered ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard tables are managed system-internally by a logical index. New rows are either attached to the table or added at certain positions. The table key or the index identify individual rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted tables are managed by a logical index (like standard tables). The entries are listed in ascending order according to table key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed tables are managed by a hash algorithm. There is no logical index. The entries are not ordered in the memory. The position of a row is calculated by specifying a key using a hash function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2005 06:16:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-27T06:16:12Z</dc:date>
    <item>
      <title>Sorted and hashed internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030372#M83621</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;  Can i have an internal table which is both hashed as well as sorted so that i can improve the performance of the operations on the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:13:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030372#M83621</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T06:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted and hashed internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030373#M83622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;why would you like to sort a hashed table...its entries are never ordered ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Standard tables are managed system-internally by a logical index. New rows are either attached to the table or added at certain positions. The table key or the index identify individual rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorted tables are managed by a logical index (like standard tables). The entries are listed in ascending order according to table key. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed tables are managed by a hash algorithm. There is no logical index. The entries are not ordered in the memory. The position of a row is calculated by specifying a key using a hash function. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:16:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030373#M83622</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T06:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted and hashed internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030374#M83623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  The problem is, i want to access an internal table both by using the whole key and also using partial key. If i can create a table which can behave both as hash table and as sorted table, i can make the accesses to this table faster for the search criteria that i have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:31:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030374#M83623</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T06:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted and hashed internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030375#M83624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;once you have data in your internal table, there is not much of a performance issue...unless of course it contains a huge number of entries...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i m not aware of such a possibility that an internal table can behave as both sorted and hashed...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you go for a hashed table, the response time for your search will always be constant, regardless of the number of table entries....this is because the search uses a hash algorithm...u must specify the UNIQUE key for hashed tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just go thru this link for some more information...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/what-are-different-types-of-internal-tables-and-their-usage.htm" target="test_blank"&gt;http://www.sap-img.com/abap/what-are-different-types-of-internal-tables-and-their-usage.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;PJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 06:45:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030375#M83624</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T06:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted and hashed internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030376#M83625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PJ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thanks for everything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 07:10:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030376#M83625</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-27T07:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sorted and hashed internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030377#M83626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you have a book, you can only put it in the red shelf or in the right author shelf, but never in both shelfs. If you want to do this you need two books.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Same with tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2005 10:17:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-internal-table/m-p/1030377#M83626</guid>
      <dc:creator>rainer_hbenthal</dc:creator>
      <dc:date>2005-10-27T10:17:12Z</dc:date>
    </item>
  </channel>
</rss>

