<?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: INSERT LINES into HASHED Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267560#M1722485</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check my analysis below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Feb 2013 18:08:38 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-02-01T18:08:38Z</dc:date>
    <item>
      <title>INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267552#M1722477</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;I have 2 hashed tables of same structure. These 2 hashed tables contain different data.&lt;/P&gt;&lt;P&gt;I want to insert lines of one hashed table to the other hashed table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Usually for reading a record from a hashed table having 1 entry or 100000 entries, it takes same time.&lt;/P&gt;&lt;P&gt;In case of INSERT LINES, will it take the same time for Inserting 1 line or 1000000 lines?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Adithya M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:41:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267552#M1722477</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T14:41:22Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267553#M1722478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope below link's will help you. &lt;A href="https://scn.sap.com/thread/1730834" title="https://scn.sap.com/thread/1730834"&gt;https://scn.sap.com/thread/1730834&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb361f358411d1829f0000e829fbfe/content.htm" title="http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb361f358411d1829f0000e829fbfe/content.htm"&gt;http://help.sap.com/saphelp_nw04/Helpdata/EN/fc/eb361f358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abhijit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267553#M1722478</guid>
      <dc:creator>Abhijit74</dc:creator>
      <dc:date>2013-02-01T14:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267554#M1722479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes it would take same time.&lt;/P&gt;&lt;P&gt;Number of records does not affect hashed table processing that is the advantage of using hashed table with large number of records.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 14:57:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267554#M1722479</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T14:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267555#M1722480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Adithya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I believe it will take the same time to read as well as insert in a hashed table. That's because when you insert an entry into a hashed table, the time critical operation is finding the right place for the entry to be inserted (which is similar to what happens in a read).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 16:57:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267555#M1722480</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-02-01T16:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267556#M1722481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aadhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe that it will take the same time&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt; for Inserting 1 line or 1000000 lines because of its unique key feature and thats its biggest advantage. Its used for processing larger amount of data.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 17:53:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267556#M1722481</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267557#M1722482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ashish/Akshat/Purnand,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;To test this, I created a test program &amp;amp; ran it switching on the Trace in ST12.&lt;/P&gt;&lt;P&gt;When I checked the ABAP Trace in ST12, INSERTING MULTIPLE LINES is having more GrossTime/NetTime % than INSERTING single line.&lt;/P&gt;&lt;P&gt;Also the new lines are Appended instead of Inserting as per the key?&lt;/P&gt;&lt;P&gt;Below is my Test Program. &lt;/P&gt;&lt;P&gt;According to what you said, the last 2 Inserts should have taken same time in ST12. But it didn't happen that way.&lt;/P&gt;&lt;P&gt;Please correct if am checking wrongly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; TYPES: &lt;SPAN class="L0S52"&gt;BEGIN &lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;t_itab,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kunnr &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;kunnr,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bukrs &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;bukrs,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zterm &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;dzterm,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;END &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;t_itab.&lt;BR /&gt;&lt;BR /&gt;DATA: it_itab1 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;HASHED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;t_itab &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;UNIQUE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;kunnr,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_itab2 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;HASHED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;t_itab &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;UNIQUE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;kunnr,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; it_itab3 &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;HASHED &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;t_itab &lt;SPAN class="L0S52"&gt;WITH &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;UNIQUE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;KEY &lt;/SPAN&gt;kunnr.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;DATA: wa &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;t_itab.&lt;BR /&gt;&lt;BR /&gt;wa-kunnr = &lt;SPAN class="L0S32"&gt;1000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;INSERT &lt;/SPAN&gt;wa &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_itab1.&lt;BR /&gt;&lt;BR /&gt;wa-kunnr = &lt;SPAN class="L0S32"&gt;1000.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DO &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1000000 &lt;/SPAN&gt;TIMES.&lt;BR /&gt;&amp;nbsp; wa-kunnr = wa-kunnr + &lt;SPAN class="L0S32"&gt;2.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INSERT &lt;/SPAN&gt;wa &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_itab2.&lt;BR /&gt;ENDDO.&lt;BR /&gt;&lt;BR /&gt;wa-kunnr = &lt;SPAN class="L0S32"&gt;1001.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;DO &lt;/SPAN&gt;&lt;SPAN class="L0S32"&gt;1000000 &lt;/SPAN&gt;TIMES.&lt;BR /&gt;&amp;nbsp; wa-kunnr = wa-kunnr + &lt;SPAN class="L0S32"&gt;2.&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp; &lt;SPAN class="L0S52"&gt;INSERT &lt;/SPAN&gt;wa &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_itab3.&lt;BR /&gt;ENDDO.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;INSERT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LINES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;it_itab1 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_itab3. "---&amp;gt;Inserting 1 entry&lt;BR /&gt;&lt;SPAN class="L0S52"&gt;INSERT &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LINES &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;OF &lt;/SPAN&gt;it_itab2 &lt;SPAN class="L0S52"&gt;INTO &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TABLE &lt;/SPAN&gt;it_itab3. "---&amp;gt;Inserting multiple entries&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 17:59:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267557#M1722482</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T17:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267558#M1722483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check my analysis below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 18:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267558#M1722483</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T18:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267559#M1722484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check my analysis below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 18:08:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267559#M1722484</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T18:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267560#M1722485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please check my analysis below.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 18:08:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267560#M1722485</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T18:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267561#M1722486</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;in case of Hashed table it works according to hash algorithm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hashed Tables: &lt;/P&gt;&lt;P&gt;Hashes tables have no internal linear index. You can only access hashed tables by specifying the key. The response time is constant, regardless of the number of table entries, since the search uses a hash algorithm. The key of a hashed table must be unique, and you must specify UNIQUE in the table definition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This table type is particularly suitable if you want mainly to use key access for table entries. You cannot access hashed tables using the index. When you use key access, the response time remains constant, regardless of the number of table entries. As with database tables, the key of a hashed table is always unique. Hashed tables are therefore a useful way of constructing and &lt;/P&gt;&lt;P&gt;using internal tables that are similar to database tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is hashed algorithm?&lt;/P&gt;&lt;P&gt;Hashed algorithm is a one-way mathematical function that encrypts data. The one-way indicates here that with the current computer power and algorithms available the one-way hash cannot be calculated backwards meaning that the hash value cannot be decrypted to reveal the password in clear text again. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Feb 2013 19:11:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267561#M1722486</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-01T19:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267562#M1722487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you were comparing the behaviour with the read operation and stated the fact that it takes the same amount of time while reading from a hashed table whatever be the number of entries in the table being read, I thought your question was if it would take the same amount of time to insert n records in a hashed table irrespective of the number of entries in the table. And that's what I wrote in my response too. I did not mean to say that it would take the same amount of time to insert a single and multiple records in a hashed table. Of course, the greater the number of records you are inserting, greater will be the time required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 14:34:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267562#M1722487</guid>
      <dc:creator>kakshat</dc:creator>
      <dc:date>2013-02-02T14:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT LINES into HASHED Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267563#M1722488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi if you got your answer plzz close your thread..&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/1151/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sabyasachi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Feb 2013 19:22:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-lines-into-hashed-table/m-p/9267563#M1722488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-02-02T19:22:27Z</dc:date>
    </item>
  </channel>
</rss>

