<?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: Fill dynamic internal table with data from another dynamic table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507629#M1852747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING helped a lot, even I could not use it for whole tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael &amp;amp; Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Aug 2014 15:32:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-18T15:32:26Z</dc:date>
    <item>
      <title>Fill dynamic internal table with data from another dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507626#M1852744</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 a huge dynamic table with a few columns and need to fill another dynamic table with some of the columns, that are also existing in the other one. I first know at runtime, which fields the smaller table contains.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until now, I did it that way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; LOOP AT &amp;lt;it_tab_structure&amp;gt; ASSIGNING &amp;lt;wa_tab_structure&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP AT lt_comp_full INTO ls_comp_full.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGN COMPONENT ls_comp_full-name OF STRUCTURE &amp;lt;structure&amp;gt; TO &amp;lt;column&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ASSIGN COMPONENT ls_comp_full-name OF STRUCTURE &amp;lt;wa_tab_structure&amp;gt; TO &amp;lt;value&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;column&amp;gt; = &amp;lt;value&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; APPEND &amp;lt;structure&amp;gt; TO &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lt_comp_full contains the columns of the second table, that have to be filled.&lt;/P&gt;&lt;P&gt;This is taking a very long time, as there can be a lot of columns in the source table and the source table contains at least 100000 records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there therefore any way to fill the other table faster?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 13:56:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507626#M1852744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-18T13:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Fill dynamic internal table with data from another dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507627#M1852745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are on ABAP 7.4 then use MOVE-CORRESPONDING itab1 TO itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sharath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 14:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507627#M1852745</guid>
      <dc:creator>SharathYaralkattimath</dc:creator>
      <dc:date>2014-08-18T14:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fill dynamic internal table with data from another dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507628#M1852746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your answer! Unfortunately I don't have a 7.4 system here, but your example pointed out, that I can also use move-corresponding from one structure to the other, which I thought, was not possible. I'm trying out, if this makes it faster now.&lt;/P&gt;&lt;P&gt;I'll let you all know, if this made the deal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &amp;amp; best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael &amp;amp; Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 14:29:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507628#M1852746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-18T14:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fill dynamic internal table with data from another dynamic table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507629#M1852747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sharath,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE-CORRESPONDING helped a lot, even I could not use it for whole tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael &amp;amp; Arne&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Aug 2014 15:32:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/fill-dynamic-internal-table-with-data-from-another-dynamic-table/m-p/10507629#M1852747</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-18T15:32:26Z</dc:date>
    </item>
  </channel>
</rss>

