<?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 tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698666#M890606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;sorteed tables can have a duplicate record when it has a non unique key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it has unique key it cannot contain duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same is the case with hashed table it cannot have duplicates as it can have only unique key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you try to insert duplicate records in sorted or hashed tables with unique key the lead to dump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 10:58:20 GMT</pubDate>
    <dc:creator>prasanth_kasturi</dc:creator>
    <dc:date>2008-04-18T10:58:20Z</dc:date>
    <item>
      <title>sorted and hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698664#M890604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what happens when duplicate entries are present in sorted and hashed tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 10:53:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698664#M890604</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T10:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: sorted and hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698665#M890605</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;Sorted internal tables can be of two types:&lt;/P&gt;&lt;P&gt;unique or non unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u enter duplicate records in Sorted tables with unique  it will show error.&lt;/P&gt;&lt;P&gt;If u enter duplicate records in Sorted tables with  non-unique key it will not show error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed tables are with only unique key&lt;/P&gt;&lt;P&gt;so no way to enter the duplicate records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for more information see the following link&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb35de358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jagadish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 10:57:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698665#M890605</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T10:57:28Z</dc:date>
    </item>
    <item>
      <title>Re: sorted and hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698666#M890606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;sorteed tables can have a duplicate record when it has a non unique key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it has unique key it cannot contain duplicates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;same is the case with hashed table it cannot have duplicates as it can have only unique key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you try to insert duplicate records in sorted or hashed tables with unique key the lead to dump&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 10:58:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698666#M890606</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-04-18T10:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: sorted and hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698667#M890607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rittik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In sorted or hashed tables the dupicates are easier to find. So depending on your requirment u can either eliminate them or work with it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As a simple reference from Wiki check this : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Hash_function" target="test_blank"&gt;http://en.wikipedia.org/wiki/Hash_function&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Esha Raj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 10:58:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698667#M890607</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T10:58:50Z</dc:date>
    </item>
    <item>
      <title>Re: sorted and hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698668#M890608</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; SORTED TABLE: in sorted we can specify both UNIQUE and&lt;/P&gt;&lt;P&gt;   NON-UNIQUE keys .   if u specify sorted table with unique key then it will not allow duplicate records.&lt;/P&gt;&lt;P&gt;  if u specify sorted table with non-unique key then it will allow duplicate records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HASHED TABLE: hashed table allows only unique keys. so it won't display duplicate records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;raji&lt;/P&gt;&lt;P&gt;reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:03:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698668#M890608</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:03:12Z</dc:date>
    </item>
    <item>
      <title>Re: sorted and hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698669#M890609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rittik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For hashed table, it will Return SY-SUBRC as 4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sorted table, if you define WITH UNIQUE KEY, SY-SUBRC will be 4 when trying to insert duplicate, but if you define WITH NON-UNIQUE key record will get inserted.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:24:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sorted-and-hashed-tables/m-p/3698669#M890609</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:24:24Z</dc:date>
    </item>
  </channel>
</rss>

