<?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: commit work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446322#M547944</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we update a database, in the real time usage of the data, the updates should reflect the table immediately. Otherwise wrong data would be shown to persons who access it at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to ensure correct data availability at all times we do a commit immediately after the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take the case of a airport using a database. lets say u've checked out the availability of tickets and it shows 2 tickets available. now if you have purchased a ticket. the database table is updated with the remaining one and if the commit is not performed, another person also sees 2 tickets and if he tries to book the two tickets that would be a mess. so u probably would have understood the importance of commiting after update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if I answered your question properly&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2007 15:13:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-05T15:13:27Z</dc:date>
    <item>
      <title>commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446320#M547942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;Please help me in this issue,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we using Update ABAP statement what is the need of using again a commit statement if we dont use commit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Reddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:01:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446320#M547942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446321#M547943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will update the database immediatly if we use commit statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it will use generally for synchronous update case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:07:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446321#M547943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:07:46Z</dc:date>
    </item>
    <item>
      <title>Re: commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446322#M547944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we update a database, in the real time usage of the data, the updates should reflect the table immediately. Otherwise wrong data would be shown to persons who access it at the same time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to ensure correct data availability at all times we do a commit immediately after the update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Take the case of a airport using a database. lets say u've checked out the availability of tickets and it shows 2 tickets available. now if you have purchased a ticket. the database table is updated with the remaining one and if the commit is not performed, another person also sees 2 tickets and if he tries to book the two tickets that would be a mess. so u probably would have understood the importance of commiting after update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points if I answered your question properly&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:13:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446322#M547944</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446323#M547945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A commit is related to the SAP LUW (Logical Unit of Work) concept. Do a commit whenever an LUW is complete. For most custom table updates, this is the end of the program and since a commit is done when the program completes, there is no need to code it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446323#M547945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-05T15:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446324#M547946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reddy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT is used when you code directly in ABAP and make changes in the database and want to reflect in the database immediately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you perform COMMIT , all the LUW s work will be reflected to the database,&lt;/P&gt;&lt;P&gt;COMMIT WORK is the key word to make the database change. And whereas ROLLBACK is the opposite to commit work,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This statement will apply any outstanding database updates and wait until they have actually been put on the database before proceeding to the next statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An ordinary commit work will initiate the process to update the databases in a separate task and will press on in your abap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK: ( Asynchronous)&lt;/P&gt;&lt;P&gt;Your program does not wait for any acknowledgement. it just start executing the next statment after COMMIT WORK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;u&amp;gt;&amp;lt;b&amp;gt;For your kind reference please check the below link&amp;lt;/b&amp;gt;&amp;lt;/u&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;http://help.sap.com/saphelp_erp2005vp/helpdata/en/fc/eb3b64358411d1829f0000e&lt;/P&gt;&lt;P&gt;829fbfe/content.htm&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;Reward points for all useful answers....&lt;/P&gt;&lt;P&gt;Cheers !&lt;/P&gt;&lt;P&gt;Moqeeth.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2007 15:26:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2446324#M547946</guid>
      <dc:creator>mohammed_moqeeth</dc:creator>
      <dc:date>2007-07-05T15:26:03Z</dc:date>
    </item>
  </channel>
</rss>

