<?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: update modify in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702285#M891417</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;MODIFY - Will update the table, if the data already exists, if NOT inserts new rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE - Will update the table, errors out if the data is not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of MODIFY the sy-subrc is always 0 so you would't know whether the data is actually updated or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT - Inserting Data in Database Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swetha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Apr 2008 11:47:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-18T11:47:53Z</dc:date>
    <item>
      <title>update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702282#M891414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Q: Modify and Update and insert.... any body send me the basic deffence among them?   and if possible take one case and explain clearly?  ( iam expecting more than F1 help )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:44:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702282#M891414</guid>
      <dc:creator>naveen_inuganti2</dc:creator>
      <dc:date>2008-04-18T11:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702283#M891415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert to add a new record&lt;/P&gt;&lt;P&gt;update to update an existing record&lt;/P&gt;&lt;P&gt;modify to update an existing record or add it if it doesn't exist.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:47:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702283#M891415</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702284#M891416</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;Modify is used to modify the existing entry in the internal table if the entry is not found it created the new entry &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insert is to create the new entry in database table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update is to update the existing entry if the entry is not found statement fails&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:47:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702284#M891416</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702285#M891417</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;MODIFY - Will update the table, if the data already exists, if NOT inserts new rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE - Will update the table, errors out if the data is not found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case of MODIFY the sy-subrc is always 0 so you would't know whether the data is actually updated or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT - Inserting Data in Database Tables&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if useful.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swetha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:47:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702285#M891417</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702286#M891418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Modify table from wa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the record is there then it will update/modifies the record, if not it create the new entry.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and Update&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update the record information &lt;/P&gt;&lt;P&gt;if the record is not there it will fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; and insert.&lt;/P&gt;&lt;P&gt;Insert will create a new entry, if the key already there it will fail.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702286#M891418</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702287#M891419</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;Insert --&amp;gt;   is for inserting the new records or values&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update --&amp;gt; is for it will searches for the existing records if it exists it will updates that records and if it not available that records it will inserts that records&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Modify--&amp;gt;  is for Modifies existing records if that records is not available it won't do anything.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:48:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702287#M891419</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702288#M891420</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;STRONG&gt;insert&lt;/STRONG&gt;  statement inserts a new record based on the primary key.&lt;/P&gt;&lt;P&gt;     it will not insert duplicate records,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;update&lt;/STRONG&gt;. we can change a record already present in the table &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;modify&lt;/STRONG&gt; works both like insert and update. if record is not there it inserts and if record is already there it updates&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;prasanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:49:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702288#M891420</guid>
      <dc:creator>prasanth_kasturi</dc:creator>
      <dc:date>2008-04-18T11:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702289#M891421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;INSERT: using this if record already exist it cannot insert ..if record does not exist then insert a new record in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY: using this statement if record already existed then it modify the content of the record..if record does not exist it try to insert that record as new record in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE: using this if record already exist then it modify the content of the record..if record does not exist no effect on table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So generally we use MODIFY statement mostly...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward if it useful.&lt;/P&gt;&lt;P&gt;Dara.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:52:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702289#M891421</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702290#M891422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all these are for the data base tables..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for  insert check this..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/insert.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/insert.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for update check this..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/update.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/update.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for modify check this..&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/modify.htm" target="test_blank"&gt;http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/modify.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;these links had the test data also..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;venkat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:54:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702290#M891422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702291#M891423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;UPDATE  target source.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;The statement UPDATE changes the content of one or more lines of the database table specified  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      Ie if we want to update a database  table  from an  internal table or work area  we use  this syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;MODIFY target FROM source.&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The MODIFY statement inserts one or several lines specified in source in the database table specified in target, or overwrites existing lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie  if u want to insert new records as well as to update existing records of a database table from a internal table  or work area we use MODIFY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INSERT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;insers records into the database table from an internal table or work area&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thyanks and regards&lt;/P&gt;&lt;P&gt;sarath p&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:55:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702291#M891423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: update modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702292#M891424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;Insert to add a new record&lt;/P&gt;&lt;P&gt;update to update an existing record&lt;/P&gt;&lt;P&gt;modify to update an existing record or add it if it doesn't exist.&lt;/P&gt;&lt;P&gt;Reward if Helpfull,&lt;/P&gt;&lt;P&gt; Naresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Apr 2008 11:58:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify/m-p/3702292#M891424</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-18T11:58:18Z</dc:date>
    </item>
  </channel>
</rss>

