<?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: internal table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532833#M849887</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through this login there is some problems :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Data are append in last where itab 1 already have some values. new data comes after that values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) i have to tranfer all columm value... through this only 1 value of 1 columm is being transfer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give me some other solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Mar 2008 11:33:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-14T11:33:52Z</dc:date>
    <item>
      <title>internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532828#M849882</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;how can tranfer 1 internal table data into another one. when both have different structure and no common field exist between them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regard,&lt;/P&gt;&lt;P&gt;parul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:15:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532828#M849882</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532829#M849883</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;&lt;/P&gt;&lt;P&gt; move: itab1-field1 to itab2-field1,&lt;/P&gt;&lt;P&gt;          itab1-field2 to itab2-field2,&lt;/P&gt;&lt;P&gt;          itab1-field3 to itab2-field3,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;clear itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;S.Nehru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532829#M849883</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532830#M849884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can transfer by massive assignment &lt;/P&gt;&lt;P&gt;tab_dest[] = tab_source[].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case i would make a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab_source.&lt;/P&gt;&lt;P&gt;append itab_dest.&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;Please reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Tony&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:18:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532830#M849884</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532831#M849885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try joining internal tables if u could bring any third table which is common to these tables.&lt;/P&gt;&lt;P&gt;Then, loop and pass value from one work area to the other individually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u specify the database table names, we could help u.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ramya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:20:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532831#M849885</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532832#M849886</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;Check this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of tp_itab1,&lt;/P&gt;&lt;P&gt;       fld1 type c,&lt;/P&gt;&lt;P&gt;       end of tp_itab1.&lt;/P&gt;&lt;P&gt;types: begin of tp_itab2,&lt;/P&gt;&lt;P&gt;       fld2 type i,&lt;/P&gt;&lt;P&gt;       fld3 type c,&lt;/P&gt;&lt;P&gt;       end of tp_itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab1 type standard table of tp_itab1,&lt;/P&gt;&lt;P&gt;      wa_itab1 type tp_itab1,&lt;/P&gt;&lt;P&gt;      itab2 type standard table of tp_itab2,&lt;/P&gt;&lt;P&gt;      wa_itab2 type tp_itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa_itab1-fld1 = 'A'.&lt;/P&gt;&lt;P&gt;wa_itab2-fld2 = '2'.&lt;/P&gt;&lt;P&gt;append wa_itab1 to itab1.&lt;/P&gt;&lt;P&gt;append wa_itab2 to itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;move wa_itab1-fld1 to wa_itab2-fld3.&lt;/P&gt;&lt;P&gt;append wa_itab2 to itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:29:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532832#M849886</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532833#M849887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through this login there is some problems :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Data are append in last where itab 1 already have some values. new data comes after that values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) i have to tranfer all columm value... through this only 1 value of 1 columm is being transfer..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;give me some other solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 11:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532833#M849887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T11:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532834#M849888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;You can make two structures, one for each table.&lt;/P&gt;&lt;P&gt;Then make a loop at table to be copied and in the loop statment use operators MOVE-CORRESPONIDNG FIELDS and APPEND it will look as folows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT itab1 INTO ls_tab1.&lt;/P&gt;&lt;P&gt;   MOVE-CORRESPONDING ls_tab1 TO ls_tab2.&lt;/P&gt;&lt;P&gt;   APPEND ls_tab2 to itab2.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 12:22:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532834#M849888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T12:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532835#M849889</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 both structures are different, then its impossible except for the case:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some fields of one are convertible to some fields of the other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case when you are apeending the itab1 to itab2, some records will be populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Mar 2008 12:36:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532835#M849889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-14T12:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532836#M849890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry its not working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2008 05:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532836#M849890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-15T05:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532837#M849891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hai  &lt;STRONG&gt;Mittal&lt;/STRONG&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;try  this  Simple Logic.&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;move : itab-f1 to Itab1-f1,&lt;/P&gt;&lt;P&gt;          itab-f2  to itab1-f2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Append Itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Eshwar..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2008 05:19:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532837#M849891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-15T05:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: internal table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532838#M849892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 15 Mar 2008 05:31:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table/m-p/3532838#M849892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-15T05:31:11Z</dc:date>
    </item>
  </channel>
</rss>

