<?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/3408933#M818688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a hashed table, which has a unique key called vbeln. The program selects vbeln into the hashed table from lips. It gives me an error ITAB_DUPLICATE_KEY. My question is how can I avoid to select duplicate entries into this table. The program is sorting the hashed table and deletes the adjacent duplicates, but I think it's not a good solution, because before the sorting and deleting it selects duplicates into this hashed table which results a short dump. What would be the best solution to handle this problem. I thought about to change the type of the hashed table, but it can contain a hugh amount of data and if I change the type of it, then it could be very slow to read data from the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope somebody can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 09:32:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-21T09:32:49Z</dc:date>
    <item>
      <title>Hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/3408933#M818688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a hashed table, which has a unique key called vbeln. The program selects vbeln into the hashed table from lips. It gives me an error ITAB_DUPLICATE_KEY. My question is how can I avoid to select duplicate entries into this table. The program is sorting the hashed table and deletes the adjacent duplicates, but I think it's not a good solution, because before the sorting and deleting it selects duplicates into this hashed table which results a short dump. What would be the best solution to handle this problem. I thought about to change the type of the hashed table, but it can contain a hugh amount of data and if I change the type of it, then it could be very slow to read data from the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope somebody can help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:32:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/3408933#M818688</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hashed tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/3408934#M818689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I not sure if i understood correctly but i would write a more specific select perhaps &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT DISTINCT FIELDA FIELDB INTO ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:39:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/3408934#M818689</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:39: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/3408935#M818690</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;how about SELECT SINGLE...?&lt;/P&gt;&lt;P&gt;it selects the first row only if we have multiple entries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;lt;REMOVED BY MODERATOR&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;teja.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Alvaro Tejada Galindo on Feb 21, 2008 5:09 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 09:56:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/hashed-tables/m-p/3408935#M818690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-21T09:56:35Z</dc:date>
    </item>
  </channel>
</rss>

