<?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: Copying internal table include structure data to other interal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683720#M1291826</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it1.&lt;/P&gt;&lt;P&gt;move-corresponding it1 to it2.&lt;/P&gt;&lt;P&gt;append it2.&lt;/P&gt;&lt;P&gt;clear it2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 May 2009 06:41:19 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2009-05-31T06:41:19Z</dc:date>
    <item>
      <title>Copying internal table include structure data to other interal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683718#M1291824</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 one internal table structure which has few fileds and one include structure i have values in that internal table but i need to copy only those include stucture internal table values to other same include strucutre internal table  how to do that plz help me out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF t_ros,&lt;/P&gt;&lt;P&gt;        stat LIKE zpmes002-zzstatus,&lt;/P&gt;&lt;P&gt;        usr02 LIKE afvu-usr02,         &lt;/P&gt;&lt;P&gt;        usr10 LIKE afvu-usr10,         &lt;/P&gt;&lt;P&gt;        usr11 LIKE afvu-usr11,         &lt;/P&gt;&lt;P&gt;        labor(13),&lt;/P&gt;&lt;P&gt;        changes.&lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE afvc.&lt;/P&gt;&lt;P&gt;DATA:  END OF t_ros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: i_sub_afvc      LIKE t_ros OCCURS 0.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DATA: i_del_afvc TYPE TABLE OF afvc WITH HEADER LINE,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Need to copy from i_sub_afvc to i_del_afvc&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 30 May 2009 21:58:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683718#M1291824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-30T21:58:43Z</dc:date>
    </item>
    <item>
      <title>Re: Copying internal table include structure data to other interal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683719#M1291825</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;Simply use move-corresponding from source workarea to target workarea..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: i_sub_afvc LIKE t_ros OCCURS 0.&lt;/P&gt;&lt;P&gt;DATA: i_del_afvc TYPE TABLE OF afvc WITH HEADER LINE,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the above are internal tables, declare workareas for the corresponding:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: wa_sub_afvc TYPE t_ros.&lt;/P&gt;&lt;P&gt;DATA: wa_del_afvc TYPE afvc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now use : Move-corresponding wa_sub_afvc to wa_del_afvc.&lt;/P&gt;&lt;P&gt;append wa_del_afvc to i_del_afvc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2009 05:51:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683719#M1291825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-31T05:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Copying internal table include structure data to other interal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683720#M1291826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at it1.&lt;/P&gt;&lt;P&gt;move-corresponding it1 to it2.&lt;/P&gt;&lt;P&gt;append it2.&lt;/P&gt;&lt;P&gt;clear it2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2009 06:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/copying-internal-table-include-structure-data-to-other-interal-table/m-p/5683720#M1291826</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2009-05-31T06:41:19Z</dc:date>
    </item>
  </channel>
</rss>

