<?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: Using Hashed Tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057526#M90854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try to Check the Other part of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for me it works fine,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Nov 2005 19:57:12 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-23T19:57:12Z</dc:date>
    <item>
      <title>Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057524#M90852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have this type: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;TYPES:
    BEGIN OF it_consu_notif_todos_model,
      matnr_p  LIKE  mseg-matnr,
      aufnr    LIKE  afpo-aufnr,
      rueck    LIKE  afru-rueck,
      rmzhl    LIKE  afru-rmzhl,      
    END OF it_consu_notif_todos_model.

DATA: it_consu_notif_todos TYPE HASHED TABLE OF it_consu_notif_todos_model WITH UNIQUE KEY matnr_p.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I Activate the Program an error message told me that "IT_CONSU_NOTIF_TODOS" is a table without a header line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll try to use "OCCURS 0 WITH HEADER LINE" in it_consu_notif_todos declaration but it doesn't support it  using hashed tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggest?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:35:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057524#M90852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057525#M90853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think your problem is in this definition. It may be where you are using it. You might not have defined any work area for this internal table, that is why you are getting this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_consu_notif_todos &lt;/P&gt;&lt;P&gt;   INTO myworkarea &amp;lt;-- this is what is probably missing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Srinivas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:54:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057525#M90853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057526#M90854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Try to Check the Other part of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for me it works fine,&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:57:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057526#M90854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057527#M90855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt; Why do you want to declare it as Hashed table.Is there any reason??&lt;/P&gt;&lt;P&gt;You can declare as table right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 19:58:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057527#M90855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T19:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057528#M90856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do not use the &amp;lt;b&amp;gt;OCCURS 0&amp;lt;/b&amp;gt; addition with tables defined using the form&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: &amp;lt;iTab&amp;gt; HASHED TABLE OF &amp;lt;type&amp;gt;.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use this instead&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: &amp;lt;iTab&amp;gt; HASHED TABLE OF &amp;lt;type&amp;gt; WITH HEADER LINE.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 20:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057528#M90856</guid>
      <dc:creator>juan_suros</dc:creator>
      <dc:date>2005-11-23T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057529#M90857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use like mentioned below -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TYPES:&lt;/P&gt;&lt;P&gt;    BEGIN OF t_consu_notif_todos_model,&lt;/P&gt;&lt;P&gt;      matnr_p  LIKE  mseg-matnr,&lt;/P&gt;&lt;P&gt;      aufnr    LIKE  afpo-aufnr,&lt;/P&gt;&lt;P&gt;      rueck    LIKE  afru-rueck,&lt;/P&gt;&lt;P&gt;      rmzhl    LIKE  afru-rmzhl,&lt;/P&gt;&lt;P&gt;    END OF t_consu_notif_todos_model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: t_consu_notif_todos TYPE HASHED TABLE OF&lt;/P&gt;&lt;P&gt;t_consu_notif_todos_model WITH UNIQUE KEY matnr_p.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : it_consu_notif_todos type t_consu_notif_todos,&lt;/P&gt;&lt;P&gt;wa_consu_notif_todos type t_consu_notif_todos_model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert wa_consu_notif_todos into table it_consu_notif_todos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it_consu_notif_todos into wa_consu_notif_todos.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Nov 2005 23:57:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057529#M90857</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-23T23:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using Hashed Tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057530#M90858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Carlos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also get a clean activation of your code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of R/3 are you running?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2005 00:36:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/using-hashed-tables/m-p/1057530#M90858</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-24T00:36:16Z</dc:date>
    </item>
  </channel>
</rss>

