<?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: diff between update &amp; modify in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124474#M445772</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE is only for database tables updation.&lt;/P&gt;&lt;P&gt;But MODIFY can be used to Modify Database tables, Internal Tables, Output Lists, and also for changing screen attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2007 07:13:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-18T07:13:58Z</dc:date>
    <item>
      <title>diff between update &amp; modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124473#M445771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi can anyone explain me that what is the diff between update &amp;amp; modify.&lt;/P&gt;&lt;P&gt;whether i can modify the database table with modify statement .&lt;/P&gt;&lt;P&gt;if yes then how?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 07:10:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124473#M445771</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T07:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: diff between update &amp; modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124474#M445772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sanjeev,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE is only for database tables updation.&lt;/P&gt;&lt;P&gt;But MODIFY can be used to Modify Database tables, Internal Tables, Output Lists, and also for changing screen attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sujatha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 07:13:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124474#M445772</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T07:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: diff between update &amp; modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124475#M445773</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;&amp;lt;b&amp;gt;MODIFY:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To insert lines into a database table regardless of whether there is already a line in the table with the same primary key, use the following: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY &amp;lt;target&amp;gt; &amp;lt;lines&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the database table contains no line with the same primary key as the line to be inserted, MODIFY works like INSERT, that is, the line is added.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the database already contains a line with the same primary key as the line to be inserted, MODIFY works like UPDATE, that is, the line is changed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For performance reasons, you should use MODIFY only if you cannot distinguish between these two options in your ABAP program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;UPDATE:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Open SQL statement for changing data in a database table is: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE &amp;lt;target&amp;gt; &amp;lt;lines&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It allows you to change one or more lines in the database table &amp;lt;target&amp;gt;. You can only change lines in an ABAP Dictionary view if it only contains fields from one table, and its maintenance status is defined as Read and change. You may specify the database table &amp;lt;target&amp;gt; either statically or dynamically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 07:18:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124475#M445773</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T07:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: diff between update &amp; modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124476#M445774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From a DB perspective&lt;/P&gt;&lt;P&gt;Update updates a DB table record(s). It cannot be used for creating a new record&lt;/P&gt;&lt;P&gt;Modify updates a record if it finds one else it will create a DB record if no corresponding record(with a Primary key specified by the work area used for updating) exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Kareem&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 07:19:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124476#M445774</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T07:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: diff between update &amp; modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124477#M445775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanjeev,&lt;/P&gt;&lt;P&gt;Both are same functionality. but the main differnece is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE : when you update the records in dbase table , that record must be avilablein that table. otherwise .. it does not update that record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODIFY: when you MODIFY the records in dbase table , there is no required&lt;/P&gt;&lt;P&gt;that record must be there in that table.if that record is there it modify that record&lt;/P&gt;&lt;P&gt;otherwise it ADDS the new record into the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rewards if it is helpful,&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>Wed, 18 Apr 2007 07:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124477#M445775</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T07:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: diff between update &amp; modify</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124478#M445776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2007 07:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/diff-between-update-modify/m-p/2124478#M445776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-18T07:20:30Z</dc:date>
    </item>
  </channel>
</rss>

