<?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: Experimenting with hashed table. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409404#M197322</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ex----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gt_but100 like hashed table of but100&lt;/P&gt;&lt;P&gt;with unique key MANDT PARTNER RLTYP DFVAL&lt;/P&gt;&lt;P&gt;with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2006 08:02:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-06-22T08:02:50Z</dc:date>
    <item>
      <title>Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409402#M197320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently experementing with using hashed table for my report and this is my first time to try this. Below is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_iloa  type hashed TABLE OF t_iloa &lt;/P&gt;&lt;P&gt;       WITH unique KEY iloan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now here is my problem, Originally I am reading it_iloa using its header line. Now, how can I define my hashed table to have a work area/header line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, thanks guys and have a nice day!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 07:57:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409402#M197320</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-06-22T07:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409403#M197321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: it_iloa type hashed TABLE OF t_iloa &lt;/P&gt;&lt;P&gt;WITH unique KEY iloan with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 07:59:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409403#M197321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T07:59:40Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409404#M197322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ex----&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : gt_but100 like hashed table of but100&lt;/P&gt;&lt;P&gt;with unique key MANDT PARTNER RLTYP DFVAL&lt;/P&gt;&lt;P&gt;with header line.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 08:02:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409404#M197322</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T08:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409405#M197323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an error saying that 'the table key is completely displayed. Use the addition "WITH TABLE KEY" so that internal optimization can take place'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the read statement gives the error. Below is the read statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_iloa WITH KEY iloan =  it_equz-iloan.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      MOVE it_iloa-tplnr TO it_finaltab-funcloc.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 08:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409405#M197323</guid>
      <dc:creator>aris_hidalgo</dc:creator>
      <dc:date>2006-06-22T08:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409406#M197324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use hash tables using work areas as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA : WA_DATA LIKE xxxxx&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;HASHED table will not differ in anyway id doing any operations on the table as compared to a standard table. The difference lies in when you have a READ statement the system internally uses a HASH key which will improve the performance.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use  like  thta..&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt; ex...&lt;/P&gt;&lt;P&gt;read table i_droplist &lt;/P&gt;&lt;P&gt;with table key gpart = p_gpart&lt;/P&gt;&lt;P&gt;vkont = p_vkont.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 08:07:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409406#M197324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T08:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409407#M197325</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;The SORTED table / HASH table are best used along with a LEY definition of the table, meaning you will declare a key for the internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, while declare the table add the WITH UNIQUE KEY column1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will create a HASH index on the column1 and when you are reading the table, make sure you have column1 in the where clause so that HASH index is used and the performance is improved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, unless the table has got huge data you will not be able to see the difference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 08:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409407#M197325</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T08:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Experimenting with hashed table.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409408#M197326</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;Instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_iloa WITH KEY iloan = it_equz-iloan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE it_iloa WITH TABLE KEY iloan = it_equz-iloan. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2006 08:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/experimenting-with-hashed-table/m-p/1409408#M197326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-06-22T08:09:34Z</dc:date>
    </item>
  </channel>
</rss>

