<?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: 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/8685099#M1669437</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not clear work area as its a Field Symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove CLEAR : &amp;lt;WA_DYNTABLE&amp;gt; from your code. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2012 11:58:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-04-24T11:58:14Z</dc:date>
    <item>
      <title>Dynamic Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685096#M1669434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;Hi Experts ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp; In Dynamic Internal Table , If I modify any record ,for input values in Dev it is working fine .But when I run this in quality I am getting Dump Because CLEAR statement clears the internal table &amp;lt;T_DYNTABLE&amp;gt; data after modify . Can you please give any solution&lt;SPAN style="color: #ff0000;"&gt; &lt;EM&gt;&amp;lt;signs of hastiness removed by moderator&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;COMPONENT &lt;/SPAN&gt;V_MB &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;STRUCTURE &lt;/SPAN&gt;&amp;lt;WA_DYNTABLE&amp;gt; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;TO &lt;/SPAN&gt;&amp;lt;L_FIELD&amp;gt;.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S31" style="font-style: inherit; font-family: inherit;"&gt;&amp;lt;L_FIELD&amp;gt; = V_TOTAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;MODIFY &lt;/SPAN&gt;&amp;lt;T_DYNTABLE&amp;gt; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;FROM &lt;/SPAN&gt;&amp;lt;WA_DYNTABLE&amp;gt; &lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;INDEX &lt;/SPAN&gt;&lt;SPAN class="L0S32" style="font-style: inherit; font-family: inherit;"&gt;24 &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-style: inherit; font-family: inherit;"&gt;TRANSPORTING &lt;/SPAN&gt;(V_MB).&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN class="L0S31" style="font-style: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR : &amp;lt;WA_DYNTABLE&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Thomas Zloch&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:43:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685096#M1669434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-24T11:43: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/8685097#M1669435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;did you do the below code ? Check the bold code. And by the way waht is the dump? Field symbol&amp;nbsp; not assigned? if so then the sy-subrc check is absolute must when working with field symbol&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT &amp;lt;T_DYNTABLE&amp;gt;&amp;nbsp; ASSIGNING &amp;lt;WA_DYNTABLE&amp;gt;.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-family: inherit;"&gt;ASSIGN &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-family: inherit;"&gt;COMPONENT &lt;/SPAN&gt;V_MB &lt;SPAN class="L0S52" style="font-family: inherit;"&gt;OF &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-family: inherit;"&gt;STRUCTURE &lt;/SPAN&gt;&amp;lt;WA_DYNTABLE&amp;gt; &lt;SPAN class="L0S52" style="font-family: inherit;"&gt;TO &lt;/SPAN&gt;&amp;lt;L_FIELD&amp;gt;.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;SPAN class="L0S31" style="font-family: inherit;"&gt;&amp;lt;L_FIELD&amp;gt; = V_TOTAL.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S31" style="font-family: inherit;"&gt;IF SY-SUBRC = 0.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;SPAN class="L0S52" style="font-family: inherit;"&gt;MODIFY &lt;/SPAN&gt;&amp;lt;T_DYNTABLE&amp;gt; &lt;SPAN class="L0S52" style="font-family: inherit;"&gt;FROM &lt;/SPAN&gt;&amp;lt;WA_DYNTABLE&amp;gt; &lt;SPAN class="L0S52" style="font-family: inherit;"&gt;INDEX &lt;/SPAN&gt;&lt;SPAN class="L0S32" style="font-family: inherit;"&gt;24 &lt;/SPAN&gt;&lt;SPAN class="L0S52" style="font-family: inherit;"&gt;TRANSPORTING &lt;/SPAN&gt;(V_MB).&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;SPAN class="L0S31" style="font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLEAR : &amp;lt;WA_DYNTABLE&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S31" style="font-family: inherit;"&gt;ENDIF.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background-color: #ffffff;"&gt;&lt;STRONG&gt;&lt;SPAN class="L0S31" style="font-family: inherit;"&gt;ENDLOOP.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685097#M1669435</guid>
      <dc:creator>Private_Member_49934</dc:creator>
      <dc:date>2012-04-24T11:49:26Z</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/8685098#M1669436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Shek Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess you are doing something like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at &amp;lt;t_dyntable&amp;gt; assigning &amp;lt;wa_dyntable&amp;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;modify...&lt;/P&gt;&lt;P&gt;clear &amp;lt;wa_dyntable&amp;gt;.&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;here, as each and every record of your internal table is being assigned to the work area &amp;lt;wa_dyntable&amp;gt; in the loop statement, the field symbol &amp;lt;wa_dyntable&amp;gt; will point to the current record that is being processed inside the loop. if you try to clear it inside the same loop, then definitely all the entries will be cleared.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my suggestion, do not clear the work area field symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:50:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685098#M1669436</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-04-24T11:50:31Z</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/8685099#M1669437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not clear work area as its a Field Symbol.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove CLEAR : &amp;lt;WA_DYNTABLE&amp;gt; from your code. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 11:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685099#M1669437</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-24T11:58:14Z</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/8685100#M1669438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I too do like this &amp;amp; i solved the solution .&lt;/P&gt;&lt;P&gt; But what you said exactly right&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 12:06:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685100#M1669438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-04-24T12:06:09Z</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/8685101#M1669439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Shek syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your question is answered then please mark it so. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;kartik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 14:04:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-internal-table/m-p/8685101#M1669439</guid>
      <dc:creator>Kartik2</dc:creator>
      <dc:date>2012-04-24T14:04:04Z</dc:date>
    </item>
  </channel>
</rss>

