<?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 ABAP general in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444373#M827205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the differnce b/w the INSERT, MODIFY, UPDATE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;Sridhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Feb 2008 03:55:23 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-22T03:55:23Z</dc:date>
    <item>
      <title>ABAP general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444373#M827205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the differnce b/w the INSERT, MODIFY, UPDATE ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanx,&lt;/P&gt;&lt;P&gt;Sridhar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 03:55:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444373#M827205</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T03:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444374#M827206</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;Hope this will use for u, assig me points if use...Please read this brief desccription with examples as follows&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1:&lt;STRONG&gt;INSERT:&lt;/STRONG&gt; Adding Lines to Database Tables&lt;/P&gt;&lt;P&gt;2:&lt;STRONG&gt;UPDATE:&lt;/STRONG&gt; Changing Lines in Database Tables &lt;/P&gt;&lt;P&gt;3:&lt;STRONG&gt;MODIFY&lt;/STRONG&gt;: Adding or Changing Lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;1:Insert statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INSERT&lt;/STRONG&gt; statement inserts a single record into the database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Syntax&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables: sflight.&lt;/P&gt;&lt;P&gt;Sflight-carrid = &amp;#145;LH&amp;#146;.&lt;/P&gt;&lt;P&gt;Sflight-connid = &amp;#145;234&amp;#146;.&lt;/P&gt;&lt;P&gt;Insert sflight.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table sflight is inserted with the record.  The SY_SUBRC is returned for this statement.  If the entry already exists then the SY_SUBRC is set to non-zero value and you can do processing for existing record by giving some error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2:&lt;STRONG&gt;Update statement&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To update database table &lt;STRONG&gt;UPDATE statement&lt;/STRONG&gt; is used.  This allows you to change either a single record or several records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use UPDATE when you know which record you want to change.  But if you do not know whether the primary key of the line you want to insert already exists or not, you can use the &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3:&lt;STRONG&gt;MODIFY statement&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The &lt;STRONG&gt;MODIFY&lt;/STRONG&gt; statement changes existing lines and inserts lines which do not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sflight-carrid = &amp;#145;MN&amp;#146;.&lt;/P&gt;&lt;P&gt;Sflight-connid = &amp;#145;454&amp;#146;.&lt;/P&gt;&lt;P&gt;UPDATE SFLIGHT where CARRID = &amp;#145;LH&amp;#146;.&lt;/P&gt;&lt;P&gt;Or&lt;/P&gt;&lt;P&gt;TABLES SFLIGHT.&lt;/P&gt;&lt;P&gt;UPDATE SFLIGHT SET PRICE = 1100&lt;/P&gt;&lt;P&gt;			WHERE CARRID = &amp;#145;LH&amp;#146;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here price of sflight will get updated with new price 1100.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Fareedas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 04:21:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444374#M827206</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T04:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP general</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444375#M827207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;UPDATE updates the existing record&lt;/P&gt;&lt;P&gt;MODIFY updates the existing record if record not found it creates new record&lt;/P&gt;&lt;P&gt;INSERT insert new record between existing records&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Feb 2008 04:25:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-general/m-p/3444375#M827207</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-22T04:25:15Z</dc:date>
    </item>
  </channel>
</rss>

