<?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: Apend data's from one internal table to another which has diff. structures in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199925#M762650</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;move-corresponding itab2 to itab1.r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move itab2-field1 = itab1-field1,.&lt;/P&gt;&lt;P&gt;move itab2-field2 = itab1-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this we can move the data between two internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points, if it is useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Dec 2007 12:24:01 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-26T12:24:01Z</dc:date>
    <item>
      <title>Apend data's from one internal table to another which has diff. structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199922#M762647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF I_PUT_DATA OCCURS 0,&lt;/P&gt;&lt;P&gt;          SOLD_TO TYPE /BIC/AZVAITM00-SOLD_TO,&lt;/P&gt;&lt;P&gt;          MATERIAL TYPE /BIC/AZVAITM00-material,&lt;/P&gt;&lt;P&gt;          ORDER_QTY TYPE /BIC/AZVAITM00-ORDER_QTY,&lt;/P&gt;&lt;P&gt;          DOC_TYPE TYPE /BI0/OIDOC_TYPE,&lt;/P&gt;&lt;P&gt;        END OF I_PUT_DATA.&lt;/P&gt;&lt;P&gt;DATA:  BEGIN OF I_AZVAITM00 OCCURS 0,&lt;/P&gt;&lt;P&gt;          DOC_NUMBER TYPE /BIC/AZVAITM00-D      OC_NUMBER,&lt;/P&gt;&lt;P&gt;          S_ORD_ITEM TYPE /BIC/AZVAITM00-S_ORD_ITEM,&lt;/P&gt;&lt;P&gt;          FISCVARNT TYPE /BIC/AZVAITM00-FISCVARNT,&lt;/P&gt;&lt;P&gt;          SOLD_TO TYPE /BIC/AZVAITM00-SOLD_TO,&lt;/P&gt;&lt;P&gt;          MATERIAL TYPE /BIC/AZVAITM00-material,&lt;/P&gt;&lt;P&gt;          ORDER_QTY TYPE /BIC/AZVAITM00-ORDER_QTY,&lt;/P&gt;&lt;P&gt;          DOC_TYPE TYPE /BI0/OIDOC_TYPE,&lt;/P&gt;&lt;P&gt;        END OF I_AZVAITM00.&lt;/P&gt;&lt;P&gt;There are above two internal table (I_PUT_DATA ,  I_AZVAITM00 ). data got selected into I_AZVAITM00 .&lt;/P&gt;&lt;P&gt;Now I want to copy data from I_AZVAITM00  to I_PUT_DATA .&lt;/P&gt;&lt;P&gt;I am doing in following way.&lt;/P&gt;&lt;P&gt; LOOP AT I_AZVAITM00.&lt;/P&gt;&lt;P&gt;    MOVE-CORRESPONDING I_AZVAITM00 TO I_PUT_DATA.&lt;/P&gt;&lt;P&gt;    APPEND I_PUT_DATA.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;Is there is another way. Outside loop only how can we assign/Move data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 12:17:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199922#M762647</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T12:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: Apend data's from one internal table to another which has diff. structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199923#M762648</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;  Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT I_AZVAITM00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I_PUT_DATA-field1 = I_AZVAITM00-field1.&lt;/P&gt;&lt;P&gt;I_PUT_DATA-field2 = I_AZVAITM00-field2.&lt;/P&gt;&lt;P&gt;I_PUT_DATA-field3 = I_AZVAITM00-field3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this.........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND I_PUT_DATA.&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;Regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 12:20:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199923#M762648</guid>
      <dc:creator>former_member386202</dc:creator>
      <dc:date>2007-12-26T12:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Apend data's from one internal table to another which has diff. structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199924#M762649</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;Its not possible because ITABs are having different structure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 12:20:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199924#M762649</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T12:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Apend data's from one internal table to another which has diff. structures</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199925#M762650</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;move-corresponding itab2 to itab1.r&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move itab2-field1 = itab1-field1,.&lt;/P&gt;&lt;P&gt;move itab2-field2 = itab1-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like this we can move the data between two internal tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points, if it is useful,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2007 12:24:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/apend-data-s-from-one-internal-table-to-another-which-has-diff-structures/m-p/3199925#M762650</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-26T12:24:01Z</dc:date>
    </item>
  </channel>
</rss>

