<?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: getting runtime error while using hash table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441005#M1247840</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your table u r getting duplicate entry of VBELN.&lt;/P&gt;&lt;P&gt;So check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anagha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Mar 2009 06:15:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-23T06:15:42Z</dc:date>
    <item>
      <title>getting runtime error while using hash table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441003#M1247838</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 defined an internal table as hash with unique key.But while executng the prog. its giving a dump saying "&lt;STRONG&gt;There is already a line with the same key&lt;/STRONG&gt;." My code is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: begin of wa_rkrp,&lt;/P&gt;&lt;P&gt;         vbeln like vbrk-vbeln,&lt;/P&gt;&lt;P&gt;         fkdat like vbrk-fkdat,&lt;/P&gt;&lt;P&gt;         fkart like vbrk-fkart,&lt;/P&gt;&lt;P&gt;         kunag like vbrk-kunag,&lt;/P&gt;&lt;P&gt;         knumv like vbrk-knumv,&lt;/P&gt;&lt;P&gt;         inco1 like vbrk-inco1,&lt;/P&gt;&lt;P&gt;         spart like vbrk-spart,&lt;/P&gt;&lt;P&gt;         netwr like vbrk-netwr,&lt;/P&gt;&lt;P&gt;         mwsbk like vbrk-mwsbk,&lt;/P&gt;&lt;P&gt;         uepos like vbrp-uepos,&lt;/P&gt;&lt;P&gt;         werks like vbrp-werks,&lt;/P&gt;&lt;P&gt;         lgort like vbrp-lgort,&lt;/P&gt;&lt;P&gt;        end of wa_rkrp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data lt_rkrp like hashed table of wa_rkrp&lt;/P&gt;&lt;P&gt;           with unique key vbeln&lt;/P&gt;&lt;P&gt;           with header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select vbrk~vbeln&lt;/P&gt;&lt;P&gt;         vbrk~fkdat&lt;/P&gt;&lt;P&gt;         vbrk~fkart&lt;/P&gt;&lt;P&gt;         vbrk~kunag&lt;/P&gt;&lt;P&gt;         vbrk~knumv&lt;/P&gt;&lt;P&gt;         vbrk~inco1&lt;/P&gt;&lt;P&gt;         vbrk~spart&lt;/P&gt;&lt;P&gt;         vbrk~netwr&lt;/P&gt;&lt;P&gt;         vbrk~mwsbk&lt;/P&gt;&lt;P&gt;         vbrp~uepos&lt;/P&gt;&lt;P&gt;         vbrp~werks&lt;/P&gt;&lt;P&gt;         vbrp~lgort&lt;/P&gt;&lt;P&gt;         into table lt_rkrp&lt;/P&gt;&lt;P&gt;         from vbrk inner join vbrp&lt;/P&gt;&lt;P&gt;          on  vbrp&lt;SUB&gt;vbeln = vbrk&lt;/SUB&gt;vbeln&lt;/P&gt;&lt;P&gt;         where vbrk~fkdat in s_fkdat&lt;/P&gt;&lt;P&gt;           and vbrk~bukrs eq p_bukrs.&lt;/P&gt;&lt;P&gt;Any problem in my select query? or with my table deifnition.&lt;/P&gt;&lt;P&gt;Can anyone pls suggest how to rectify this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 06:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441003#M1247838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-23T06:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: getting runtime error while using hash table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441004#M1247839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unique key VBELN!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So after select, there are more than ONE entries with same VBELN!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which makes sense, since VBRP also has POSITIONS (items). So ONE VBELN can have more than ONE items (POSNR).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Mar 23, 2009 7:14 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 06:13:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441004#M1247839</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-23T06:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: getting runtime error while using hash table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441005#M1247840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;In your table u r getting duplicate entry of VBELN.&lt;/P&gt;&lt;P&gt;So check that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Anagha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 06:15:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441005#M1247840</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-23T06:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: getting runtime error while using hash table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441006#M1247841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micky,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then how to solve this....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 06:25:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441006#M1247841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-23T06:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: getting runtime error while using hash table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441007#M1247842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;define a unique key VBELN and POSNR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
data lt_rkrp like hashed table of wa_rkrp
with unique key vbeln posnr
with header line.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW: Stop using the header line!!! Outdated!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Micky Oestreich on Mar 23, 2009 7:28 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 06:27:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/getting-runtime-error-while-using-hash-table/m-p/5441007#M1247842</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-03-23T06:27:57Z</dc:date>
    </item>
  </channel>
</rss>

