<?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 Commit After Insert or Update in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742818#M1301890</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;Is it mandatory to write Commit Work after Insert or Update into DataBase Table.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without writing also it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know..what is the exact significance of this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in Brief...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen so many links...But dint get exactly ....what the significance is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2009 07:52:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-15T07:52:57Z</dc:date>
    <item>
      <title>Commit After Insert or Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742818#M1301890</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;Is it mandatory to write Commit Work after Insert or Update into DataBase Table.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Without writing also it is working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please let me know..what is the exact significance of this.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please explain in Brief...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have seen so many links...But dint get exactly ....what the significance is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 07:52:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742818#M1301890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T07:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Commit After Insert or Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742819#M1301891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commit work.&lt;/P&gt;&lt;P&gt; Will do an explicit db commit.&lt;/P&gt;&lt;P&gt;Both insert and update also perfom an implicit db commit.&lt;/P&gt;&lt;P&gt;The significance of explicit commitw ork comes in to picture when your DB updates faila  nd you want to rollback .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So best way is to check sy-subrc after insert/update and if it fails then rollback work else do a commit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 07:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742819#M1301891</guid>
      <dc:creator>Sandeep_Panghal</dc:creator>
      <dc:date>2009-06-15T07:59:57Z</dc:date>
    </item>
    <item>
      <title>Re: Commit After Insert or Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742820#M1301892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The COMMIT WORK statement always sets sy-subrc to 0 if the AND WAIT addition is not specified. It triggers a database exception in programs that are called using CALL DIALOG. This executes all high-priority (VB1) update function modules in the order of their registration and in a common database LUW.It triggers a database commit that also terminates the current database LUW and closes all database cursors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If u r doing any operation in DB, to save that COMMIT used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sneha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 08:11:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742820#M1301892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T08:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Commit After Insert or Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742821#M1301893</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;U should read the information (or SAP Help) about LUW (Logical Unit of Work).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here u can find out all answeres you need.&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, 15 Jun 2009 08:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742821#M1301893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T08:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Commit After Insert or Update</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742822#M1301894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All the statements will be added to logical unit of work and this logical unit of work is submitted to database after periodic interval, if you want you can write COMMIT to have it done explicitly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is done when you want database to reflect new values instantonously.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2009 09:00:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-after-insert-or-update/m-p/5742822#M1301894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-15T09:00:34Z</dc:date>
    </item>
  </channel>
</rss>

