<?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 HASHED tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604939#M271521</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;&lt;/P&gt;&lt;P&gt;how to use Hashed tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax of hashed table creation?&lt;/P&gt;&lt;P&gt;syntax of read stmt of Hashed table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible same things for SOrted table?&lt;/P&gt;&lt;P&gt;could any one help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanking you.,&lt;/P&gt;&lt;P&gt;ramu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2006 12:42:27 GMT</pubDate>
    <dc:creator>former_member206396</dc:creator>
    <dc:date>2006-09-11T12:42:27Z</dc:date>
    <item>
      <title>HASHED tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604939#M271521</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;&lt;/P&gt;&lt;P&gt;how to use Hashed tables ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax of hashed table creation?&lt;/P&gt;&lt;P&gt;syntax of read stmt of Hashed table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if possible same things for SOrted table?&lt;/P&gt;&lt;P&gt;could any one help me out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanking you.,&lt;/P&gt;&lt;P&gt;ramu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 12:42:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604939#M271521</guid>
      <dc:creator>former_member206396</dc:creator>
      <dc:date>2006-09-11T12:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: HASHED tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604940#M271522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The table type determines how ABAP accesses individual table rows. Based on the table type, internal tables can be subdivided into the following three categories: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Sorted tables&amp;lt;/b&amp;gt; are always stored sorted by the key. Also for sorted tables, a logical index is set up internally. The data can be accessed using the table index or the key. If the data is accessed using the key, the response time depends logarithmically on the number of table entries since the data is accessed through a binary search. The key of sorted tables can be unique or non-unique. When you define the table, you must specify whether the key is UNIQUE or NON-UNIQUE. &lt;/P&gt;&lt;P&gt;Standard tables and sorted tables are also commonly referred to as index tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In &amp;lt;b&amp;gt;hash tables&amp;lt;/b&amp;gt;, no logical index is set up internally. Hash tables can only be accessed by specifying the key. The response time in this case is constant irrespective of the number of table entries since the data is accessed through a hash algorithm. The key of hash tables must be unique. When you define the table, you must specify the key as UNIQUE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &amp;lt;b&amp;gt;READ TABLE&amp;lt;/b&amp;gt; syntax is same as the standard but the response time differs depending on the type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;STANDARD TABLE:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;The system searches from the start of the table. The response time is in linear relation to the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;SORTED TABLE:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;The response time is in logarithmic relation to the number of table entries. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;HASHED TABLE:&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;The response time is constant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Table Creation&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : INT_FINAL_PRD type HASHED table of TY_FINAL_PRD initial size 0&lt;/P&gt;&lt;P&gt;      WITH UNIQUE KEY RECTYPE RECKEY kunnr TEMPB MATNR ARKTX CARQTY.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 12:46:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604940#M271522</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T12:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: HASHED tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604941#M271523</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;Check out the lnk&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm" target="test_blank"&gt;http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04s/helpdata/en/90/8d7325b1af11d194f600a0c929b3c3/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04s/helpdata/en/90/8d7325b1af11d194f600a0c929b3c3/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2006 12:57:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/1604941#M271523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-09-11T12:57:21Z</dc:date>
    </item>
  </channel>
</rss>

