<?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: INSERT Statement Problem in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970451#M69570</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;  Thanks for the answer. I will award you the points also.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Oct 2005 20:41:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-10-03T20:41:44Z</dc:date>
    <item>
      <title>INSERT Statement Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970446#M69565</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 have two tables where i need to copy from one table to another table.&lt;/P&gt;&lt;P&gt;I am retrieving the data using the select statement from the first table into&lt;/P&gt;&lt;P&gt;internal table i_tab1.&lt;/P&gt;&lt;P&gt;now, i need to copy it to second table.&lt;/P&gt;&lt;P&gt;i did use insert statement but its not working if i have duplicate records in the second table.&lt;/P&gt;&lt;P&gt;can i use update statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 20:17:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970446#M69565</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-03T20:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT Statement Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970447#M69566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use MODIFY instead of Insert, as this will update the record if it is already their in the 2nd table.&lt;/P&gt;&lt;P&gt;Syntax : Loop at I_TAB1.&lt;/P&gt;&lt;P&gt;              move-corresponding i_tab1 to &amp;lt;2ndtable name&amp;gt;&lt;/P&gt;&lt;P&gt;          modify &amp;lt;2ndtable name&amp;gt;&lt;/P&gt;&lt;P&gt;         endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or you can delete the entires from the 2nd table and use this commant&lt;/P&gt;&lt;P&gt;insert &amp;lt;2nd table name&amp;gt; from table &amp;lt;1st table name&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Jagraj Dhillon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 20:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970447#M69566</guid>
      <dc:creator>former_member185931</dc:creator>
      <dc:date>2005-10-03T20:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT Statement Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970448#M69567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use MODIFY dbtab FROM TABLE itab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 20:24:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970448#M69567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-03T20:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT Statement Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970449#M69568</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;Use MODIFY statament in the same way of INSERT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM &amp;lt;TAB1&amp;gt; INTO TABLE ITAB1&lt;/P&gt;&lt;P&gt;                         WHERE .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;TAB2&amp;gt; FROM TABLE ITAB1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 20:40:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970449#M69568</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-03T20:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT Statement Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970450#M69569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Jagraj and Srinivas. It is a fast response.&lt;/P&gt;&lt;P&gt;I had awarded you both the points. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 20:40:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970450#M69569</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-03T20:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: INSERT Statement Problem</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970451#M69570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;  Thanks for the answer. I will award you the points also.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Oct 2005 20:41:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/insert-statement-problem/m-p/970451#M69570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-10-03T20:41:44Z</dc:date>
    </item>
  </channel>
</rss>

