<?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: Move data from three internal table into another internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356651#M1037234</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;You can use &lt;STRONG&gt;APPEND LINES ...&lt;/STRONG&gt; to do that.Take one table as base table and append the lines of the second &amp;amp; third tables into the first table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Aug 2008 13:25:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-29T13:25:34Z</dc:date>
    <item>
      <title>Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356646#M1037229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai all ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have three internal tables , How can i move these three internal tables data into another internal table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks regards &lt;/P&gt;&lt;P&gt;aumprakash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:04:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356646#M1037229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356647#M1037230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab1.&lt;/P&gt;&lt;P&gt;  read table itab2 with key &amp;lt;field&amp;gt; = itab1-&amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    move data to itab4 from itab2.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  read table itab3 with key &amp;lt;field&amp;gt; = itab1-&amp;lt;field&amp;gt;.&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;P&gt;    move data to itab4 from itab3.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;  move data to itab4 from itab1.&lt;/P&gt;&lt;P&gt;  append itab4.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356647#M1037230</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356648#M1037231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the &lt;STRONG&gt;APPEND&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... LINES OF jtab [FROM idx1] [TO idx2] &lt;/P&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;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;The rows of an internal table jtab are appended according to the same rules that apply for appending a workarea, in the sequence in which they exist in jtab. If jtab is an index table, you can restrict the rows to be appended by specifying FROM idx1 and TO idx2. In this case, only the table rows starting at table index idx1 or ending at table index idx2 from jtab are appended. For idx1 and idx2, data objects of type i are expected. If the value idx1 or idx2 is less than 0, an untreatable exception occurs. If idx1 is greater than idx2 or greater than the number of table rows, no rows are appended. If idx2 is greater than the number of table rows, it is set to the number of table rows. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:07:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356648#M1037231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356649#M1037232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Check the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT it_ekko INTO wa_ekko.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    READ TABLE it_ekpo INTO wa_ekpo WITH KEY ebeln = wa_ekko-ebeln.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      READ TABLE it_ekkn INTO wa_ekkn WITH KEY ebeln = wa_ekpo-ebeln ebelp = wa_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        READ TABLE it_eket INTO wa_eket WITH KEY ebeln = wa_ekkn-ebeln ebelp = wa_ekkn-ebelp etenr = wa_ekkn-veten.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          wa_final-ebeln = wa_ekko-ebeln.&lt;/P&gt;&lt;P&gt;          wa_final-date  = wa_ekko-date.&lt;/P&gt;&lt;P&gt;          wa_final-ebelp = wa_ekpo-ebelp.&lt;/P&gt;&lt;P&gt;          wa_final-matnr = wa_ekpo-matnr.&lt;/P&gt;&lt;P&gt;          wa_final-menge = wa_ekpo-menge.&lt;/P&gt;&lt;P&gt;          wa_final-meins = wa_ekpo-meins.&lt;/P&gt;&lt;P&gt;          wa_final-eindt = wa_eket-eindt.&lt;/P&gt;&lt;P&gt;          wa_final-netpr = wa_ekpo-netpr.&lt;/P&gt;&lt;P&gt;          wa_final-werks = wa_ekpo-werks.&lt;/P&gt;&lt;P&gt;          wa_final-bukrs = wa_ekko-bukrs.&lt;/P&gt;&lt;P&gt;          wa_final-zekkn = wa_ekkn-zekkn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          APPEND wa_final TO it_final.&lt;/P&gt;&lt;P&gt;&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;      ENDIF.&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;&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rama.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 12:22:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356649#M1037232</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T12:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356650#M1037233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi .,&lt;/P&gt;&lt;P&gt; It depends on the requirement .,&lt;/P&gt;&lt;P&gt; if you some  common key fieds ,&lt;/P&gt;&lt;P&gt; loop on first table read second based on common field and is key field in the second table , if it is not a key  field ( there will be multiple records with the field value ) use again loop on the second table with where condition . &lt;/P&gt;&lt;P&gt; Simmilarly you can get data from the third and create single record and append to combined table .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at itab .&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;    Read table Jtab with key f1 = Itab-f1 ( if there is single record ) &lt;/P&gt;&lt;P&gt;         or&lt;/P&gt;&lt;P&gt;    loop at jtab where f1= itab-f1 .   ( Multiple records )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;            Read table Ktab with key F2 = itab-f2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                or &lt;/P&gt;&lt;P&gt;            loop at ktab where f2= itab-f2 .   ( Multiple records )&lt;/P&gt;&lt;P&gt;create ltab with itab,jtab,ktab .&lt;/P&gt;&lt;P&gt; append ltab .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt; Sreenivas Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 13:16:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356650#M1037233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T13:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356651#M1037234</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;You can use &lt;STRONG&gt;APPEND LINES ...&lt;/STRONG&gt; to do that.Take one table as base table and append the lines of the second &amp;amp; third tables into the first table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Aug 2008 13:25:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356651#M1037234</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-29T13:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from three internal table into another internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356652#M1037235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all thank very much i have got answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Apr 2011 11:40:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/move-data-from-three-internal-table-into-another-internal-table/m-p/4356652#M1037235</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-25T11:40:40Z</dc:date>
    </item>
  </channel>
</rss>

