<?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: passing int tab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704037#M308507</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab1 into wa1.
read table itab2 into wa2 with key f1 = wa1-f1 
                                   f2 = wa1-fa2.
if sy-subrc eq 0.
move-corresponding wa1 to wa3.
move-corresponding wa2 to wa3.
append wa3 to itab3.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Nov 2006 06:51:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-11-15T06:51:25Z</dc:date>
    <item>
      <title>passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704035#M308505</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to transfer the data from two internal tables into another internal table?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:48:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704035#M308505</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T06:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704036#M308506</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;&lt;/P&gt;&lt;P&gt;LOOP AT itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ TABLE itab2 WITH KEY field = itab1-field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; itab3-field = itab1-field.&lt;/P&gt;&lt;P&gt; itab3-field1 = itab2-field1.&lt;/P&gt;&lt;P&gt; itab3-field2 = itab2-field2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEN itab3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704036#M308506</guid>
      <dc:creator>dani_mn</dc:creator>
      <dc:date>2006-11-15T06:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704037#M308507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;Loop at itab1 into wa1.
read table itab2 into wa2 with key f1 = wa1-f1 
                                   f2 = wa1-fa2.
if sy-subrc eq 0.
move-corresponding wa1 to wa3.
move-corresponding wa2 to wa3.
append wa3 to itab3.
endif.
endloop.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:51:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704037#M308507</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T06:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704038#M308508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  1. If the two internal tables have the same structure as the one to which u want to pass then u can use the command.&lt;/P&gt;&lt;P&gt;  APPEND LINES OF ITAB1 TO ITAB3.&lt;/P&gt;&lt;P&gt;  APPEND LINES OF ITAB2 TO ITAB3.&lt;/P&gt;&lt;P&gt;  2. If the two internal tables have same key fields then u can do a nested loop like this.&lt;/P&gt;&lt;P&gt;     Loop at itab1.&lt;/P&gt;&lt;P&gt;      loop at itab2 where &amp;lt;Mention the matching key fields&amp;gt;&lt;/P&gt;&lt;P&gt;       populate the work area of ITAB3.&lt;/P&gt;&lt;P&gt;       APPEND WA TO ITAB3.&lt;/P&gt;&lt;P&gt;     ENDLOOP.&lt;/P&gt;&lt;P&gt;    ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:52:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704038#M308508</guid>
      <dc:creator>former_member283648</dc:creator>
      <dc:date>2006-11-15T06:52:21Z</dc:date>
    </item>
    <item>
      <title>Re: passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704039#M308509</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;if the three tables having the same structures then you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1 = itab2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then append lines of itab3 to itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if three are having different structures then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;move the fields to work area of itab3.&lt;/P&gt;&lt;P&gt;append work area to itab3.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;and do then same itab2,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:52:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704039#M308509</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T06:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704040#M308510</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at one internal Table and Move-corresponding Fields of the First internal Table to the Final Internal table. With in the loop REad the second internal Table with key  XXXXXXX = final-XXXXXXX. and move that particular fields from second internal table into final internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Murthy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:55:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704040#M308510</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T06:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: passing int tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704041#M308511</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;Let us have there are  three tables ITAB1, ITAB2 AND ITAB3.&lt;/P&gt;&lt;P&gt;The contents of ITAB1 &amp;amp; ITAB2 to be transfered to ITAB3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINES OF ITAB1 TO ITAB3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND LINES OF ITAB2 TO ITAB3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Irfan Hussain&lt;/P&gt;&lt;P&gt;Note: If useful , Please award the sutiable points,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Nov 2006 06:55:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/passing-int-tab/m-p/1704041#M308511</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-11-15T06:55:55Z</dc:date>
    </item>
  </channel>
</rss>

