<?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: Append is not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681147#M619707</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;loop at the t_output_data &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;&amp;lt;b&amp;gt;loop at t_output_data.&lt;/P&gt;&lt;P&gt;t_output_data1-field1 = t_output_data-field1.&lt;/P&gt;&lt;P&gt;t_output_data1-field2 = t_output_data-field2.&lt;/P&gt;&lt;P&gt;append t_output_data1&lt;/P&gt;&lt;P&gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this then it will append all the records to the next internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u don't put like this then it will get the last record to be displayed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Aug 2007 07:23:37 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-16T07:23:37Z</dc:date>
    <item>
      <title>Append is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681144#M619704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I ve two table t_output_data1 and t_output_data and in the  t_output_data1 table i have 2 records. But when i am trying to append these records to t_output_data table then its append only one records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can u please help me .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Satya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:17:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681144#M619704</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Append is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681145#M619705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;APPEND LINES OF t_output_data1 TO t_output_data.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please mark points if the solution was useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manoj&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681145#M619705</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Append is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681146#M619706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Satya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loop at table t_output_data1 and append into the second table t_output_data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if answer is helpful.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With Thanks,&lt;/P&gt;&lt;P&gt;Chinmay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:23:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681146#M619706</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Append is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681147#M619707</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;loop at the t_output_data &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;&amp;lt;b&amp;gt;loop at t_output_data.&lt;/P&gt;&lt;P&gt;t_output_data1-field1 = t_output_data-field1.&lt;/P&gt;&lt;P&gt;t_output_data1-field2 = t_output_data-field2.&lt;/P&gt;&lt;P&gt;append t_output_data1&lt;/P&gt;&lt;P&gt;endloop.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try like this then it will append all the records to the next internal table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u don't put like this then it will get the last record to be displayed &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;reward if usefull&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:23:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681147#M619707</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Append is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681148#M619708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;loop @ t_output_data1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE t_output_data1 TO t_output_data table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;append t_output_data.&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;reward points is useful &lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 07:27:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681148#M619708</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T07:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Append is not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681149#M619709</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;these are syntaxes for append statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)This syntax is for append the records from one internal table into other with loop.&lt;/P&gt;&lt;P&gt;      LOOP AT tbl_bsak.&lt;/P&gt;&lt;P&gt;        CLEAR tbl_bsak_belnr.&lt;/P&gt;&lt;P&gt;        MOVE: tbl_bsak-bukrs TO tbl_bsak_temp-bukrs,&lt;/P&gt;&lt;P&gt;        tbl_bsak-gjahr TO tbl_bsak_temp-gjahr,&lt;/P&gt;&lt;P&gt;        tbl_bsak-augbl TO tbl_bsak_temp-belnr,&lt;/P&gt;&lt;P&gt;        tbl_bsak-monat TO tbl_bsak_temp-monat.&lt;/P&gt;&lt;P&gt;        &amp;lt;b&amp;gt;APPEND tbl_bsak_temp.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;        CLEAR tbl_bsak_temp.&lt;/P&gt;&lt;P&gt;      ENDLOOP.&lt;/P&gt;&lt;P&gt;2)the following syntax whcih it moves all the records from one itab to other without lopp.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;b&amp;gt; APPEND LINES OF tbl_bsak TO tbl_bsak_temp&amp;lt;/b&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) the following syntax is used to append the records from Database table to internal table which it contain alread records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose tbl_bsak contains some records againg you need to add some more records into the existing tbl_bsak.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      SELECT * FROM  bsak&lt;/P&gt;&lt;P&gt;               &amp;lt;b&amp;gt;APPENDING  TABLE tbl_bsak&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;               FOR ALL ENTRIES IN tbl_bsak_temp&lt;/P&gt;&lt;P&gt;               WHERE bukrs EQ tbl_bsak_temp-bukrs&lt;/P&gt;&lt;P&gt;               AND   gjahr EQ tbl_bsak_temp-gjahr&lt;/P&gt;&lt;P&gt;               AND   belnr EQ tbl_bsak_temp-belnr&lt;/P&gt;&lt;P&gt;               AND   monat EQ tbl_bsak_temp-monat&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward with points if useful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2007 08:03:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/append-is-not-working/m-p/2681149#M619709</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-16T08:03:27Z</dc:date>
    </item>
  </channel>
</rss>

