<?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: appending data in two tables in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044663#M420869</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; i think u can use move-corresponding itab1 to itab2&lt;/P&gt;&lt;P&gt;and then can append the other field &lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;  itab2-f6 = 'x'.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Mar 2007 06:13:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-15T06:13:25Z</dc:date>
    <item>
      <title>appending data in two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044660#M420866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi techies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                  I hav one table with five columns like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;                f1      f2        f3  ...      f5&lt;/P&gt;&lt;P&gt;                01    08       04           04&lt;/P&gt;&lt;P&gt;                03    09       02           00&lt;/P&gt;&lt;P&gt;                06    01       07           05&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    But frnds i want to store it in another table as&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;P&gt;        f6&lt;/P&gt;&lt;P&gt;        01&lt;/P&gt;&lt;P&gt;        03&lt;/P&gt;&lt;P&gt;        06&lt;/P&gt;&lt;P&gt;        08&lt;/P&gt;&lt;P&gt;        09&lt;/P&gt;&lt;P&gt;        01&lt;/P&gt;&lt;P&gt;        .&lt;/P&gt;&lt;P&gt;        .&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;Frnds can anyone help me to get the logic...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanking u all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:04:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044660#M420866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: appending data in two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044661#M420867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab1-f = itab-f1.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;itab1-f = itab-f2.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;itab1-f = itab-f3.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;&amp;lt;like this&amp;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;shiba dutta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:06:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044661#M420867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: appending data in two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044662#M420868</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 like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at itab.&lt;/P&gt;&lt;P&gt;   it1-val = itab-v1.&lt;/P&gt;&lt;P&gt;   append it1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it2-val = itab-v2.&lt;/P&gt;&lt;P&gt;  append it2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  it3-val = itab-v3.&lt;/P&gt;&lt;P&gt;  append it3.&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;append lines of it2 to it1.&lt;/P&gt;&lt;P&gt;append lines of it3 to it1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Subramanian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:13:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044662#M420868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: appending data in two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044663#M420869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt; i think u can use move-corresponding itab1 to itab2&lt;/P&gt;&lt;P&gt;and then can append the other field &lt;/P&gt;&lt;P&gt;loop at itab2.&lt;/P&gt;&lt;P&gt;  itab2-f6 = 'x'.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:13:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044663#M420869</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: appending data in two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044664#M420870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi sanjay,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look at the following code segment.&lt;/P&gt;&lt;P&gt;I tried this one and it suits for your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;begin of itab1 occurs 0,&lt;/P&gt;&lt;P&gt;f1 type i,&lt;/P&gt;&lt;P&gt;f2 type i,&lt;/P&gt;&lt;P&gt;f3 type i,&lt;/P&gt;&lt;P&gt;f4 type i,&lt;/P&gt;&lt;P&gt;f5 type i,&lt;/P&gt;&lt;P&gt;end of itab1,&lt;/P&gt;&lt;P&gt;begin of itab2 occurs 0,&lt;/P&gt;&lt;P&gt;f1 type i,&lt;/P&gt;&lt;P&gt;end of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab1.&lt;/P&gt;&lt;P&gt;itab1-f1 = 1.&lt;/P&gt;&lt;P&gt;itab1-f2 = 2.&lt;/P&gt;&lt;P&gt;itab1-f3 = 3.&lt;/P&gt;&lt;P&gt;itab1-f4 = 4.&lt;/P&gt;&lt;P&gt;itab1-f5 = 5.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab1.&lt;/P&gt;&lt;P&gt;itab1-f1 = 6.&lt;/P&gt;&lt;P&gt;itab1-f2 = 7.&lt;/P&gt;&lt;P&gt;itab1-f3 = 8.&lt;/P&gt;&lt;P&gt;itab1-f4 = 9.&lt;/P&gt;&lt;P&gt;itab1-f5 = 10.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear itab1.&lt;/P&gt;&lt;P&gt;itab1-f1 = 11.&lt;/P&gt;&lt;P&gt;itab1-f2 = 12.&lt;/P&gt;&lt;P&gt;itab1-f3 = 13.&lt;/P&gt;&lt;P&gt;itab1-f4 = 14.&lt;/P&gt;&lt;P&gt;itab1-f5 = 15.&lt;/P&gt;&lt;P&gt;append itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;loop at itab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-f1 = itab1-f1.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-f1 = itab1-f2.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-f1 = itab1-f3.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-f1 = itab1-f4.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2-f1 = itab1-f5.&lt;/P&gt;&lt;P&gt;append itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward if helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sandhya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044664#M420870</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: appending data in two tables</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044665#M420871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  begin of fs_t1,&lt;/P&gt;&lt;P&gt;    f1 type i,&lt;/P&gt;&lt;P&gt;    f2 type i,&lt;/P&gt;&lt;P&gt;    f3 type i,&lt;/P&gt;&lt;P&gt;    f4 type i,    &lt;/P&gt;&lt;P&gt;    f5 type i,&lt;/P&gt;&lt;P&gt;  end of fs_t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: &lt;/P&gt;&lt;P&gt;  t_t1 like standard table of fs_t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data:&lt;/P&gt;&lt;P&gt;  begin of fs_t2,&lt;/P&gt;&lt;P&gt;    f6 type i,&lt;/P&gt;&lt;P&gt;  end of fs_t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: &lt;/P&gt;&lt;P&gt;  t_t2 like standard table of fs_t2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fs_t1-f1 = 01.&lt;/P&gt;&lt;P&gt;fs_t1-f2 = 08.&lt;/P&gt;&lt;P&gt;fs_t1-f3 = 04.&lt;/P&gt;&lt;P&gt;fs_t1-f4 = 04.&lt;/P&gt;&lt;P&gt;fs_t1-f5 = 04.&lt;/P&gt;&lt;P&gt;append fs_t1 to t_t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear fs_t1.&lt;/P&gt;&lt;P&gt;fs_t1-f1 = 03.&lt;/P&gt;&lt;P&gt;fs_t1-f2 = 09.&lt;/P&gt;&lt;P&gt;fs_t1-f3 = 02.&lt;/P&gt;&lt;P&gt;fs_t1-f4 = 02.&lt;/P&gt;&lt;P&gt;fs_t1-f5 = 00.&lt;/P&gt;&lt;P&gt;append fs_t1 to t_t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;clear fs_t1.&lt;/P&gt;&lt;P&gt;fs_t1-f1 = 06.&lt;/P&gt;&lt;P&gt;fs_t1-f2 = 01.&lt;/P&gt;&lt;P&gt;fs_t1-f3 = 01.&lt;/P&gt;&lt;P&gt;fs_t1-f4 = 07.&lt;/P&gt;&lt;P&gt;fs_t1-f5 = 05.&lt;/P&gt;&lt;P&gt;append fs_t1 to t_t1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;loop at t_t1 into fs_t1.&lt;/P&gt;&lt;P&gt;  fs_t2-f6 = fs_t1-f1.&lt;/P&gt;&lt;P&gt;  append fs_t2 to t_t2.&lt;/P&gt;&lt;P&gt;  fs_t2-f6 = fs_t1-f2.&lt;/P&gt;&lt;P&gt;  append fs_t2 to t_t2.&lt;/P&gt;&lt;P&gt;  fs_t2-f6 = fs_t1-f3.&lt;/P&gt;&lt;P&gt;  append fs_t2 to t_t2.&lt;/P&gt;&lt;P&gt;  fs_t2-f6 = fs_t1-f4.&lt;/P&gt;&lt;P&gt;  append fs_t2 to t_t2.&lt;/P&gt;&lt;P&gt;  fs_t2-f6 = fs_t1-f5.&lt;/P&gt;&lt;P&gt;  append fs_t2 to t_t2.&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;kiran kumar k&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Mar 2007 06:21:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/appending-data-in-two-tables/m-p/2044665#M420871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-15T06:21:21Z</dc:date>
    </item>
  </channel>
</rss>

