<?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 Dynamic Internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978455#M71382</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have create dynamic internal table using method cl_alv_table_create=&amp;gt;create_dynamic_table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I do a read on this table specificing the WITH KEY CLAUSES... I get error messsage 'The specified type has no structure and therefore no component called "MATNR"' . The read stattement is as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE &amp;lt;fs_ztable&amp;gt; INTO &amp;lt;fsl_row&amp;gt;&lt;/P&gt;&lt;P&gt;        WITH KEY matnr = wa_mch1-matnr&lt;/P&gt;&lt;P&gt;        charg = wa_mch1-charg .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I known that while the time of activing system doesn't know the structure of internal table therefore I am getting this message . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is there any way so that I can read from this internal table specifying some creteria..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Sep 2005 10:17:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-09-05T10:17:10Z</dc:date>
    <item>
      <title>Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978455#M71382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have create dynamic internal table using method cl_alv_table_create=&amp;gt;create_dynamic_table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I do a read on this table specificing the WITH KEY CLAUSES... I get error messsage 'The specified type has no structure and therefore no component called "MATNR"' . The read stattement is as follows..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE &amp;lt;fs_ztable&amp;gt; INTO &amp;lt;fsl_row&amp;gt;&lt;/P&gt;&lt;P&gt;        WITH KEY matnr = wa_mch1-matnr&lt;/P&gt;&lt;P&gt;        charg = wa_mch1-charg .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I known that while the time of activing system doesn't know the structure of internal table therefore I am getting this message . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But is there any way so that I can read from this internal table specifying some creteria..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 10:17:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978455#M71382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T10:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978456#M71383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think, I believe you loop all table and check records in your loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &amp;lt;fs_ztable&amp;gt; ASSIGNING TO &amp;lt;fsl_row&amp;gt;.&lt;/P&gt;&lt;P&gt; ASSIGN COMPONENT 'MATNR' OF STRUCUTURE &amp;lt;fsl_row&amp;gt;&lt;/P&gt;&lt;P&gt;                                         TO &amp;lt;MAYNR&amp;gt;.&lt;/P&gt;&lt;P&gt; ASSIGN COMPONENT 'CHARG' OF STRUCUTURE &amp;lt;fsl_row&amp;gt;&lt;/P&gt;&lt;P&gt;                                         TO &amp;lt;MAYNR&amp;gt;.&lt;/P&gt;&lt;P&gt; IF &amp;lt;MAYNR&amp;gt; = ... AND &amp;lt;MAYNR&amp;gt; = ...&lt;/P&gt;&lt;P&gt;   EXIT.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 10:31:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978456#M71383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T10:31:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978457#M71384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: temp_var(30).&lt;/P&gt;&lt;P&gt;    temp_var = 'MATNR' .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE &amp;lt;fs_ztable&amp;gt; INTO &amp;lt;fsl_row&amp;gt;&lt;/P&gt;&lt;P&gt;WITH KEY (temp_var) = wa_mch1-matnr&lt;/P&gt;&lt;P&gt;charg = wa_mch1-charg .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 10:32:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978457#M71384</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-09-05T10:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978458#M71385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've just forgotten this option, i think Raja solution is right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Sep 2005 10:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/978458#M71385</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-05T10:49:40Z</dc:date>
    </item>
  </channel>
</rss>

