<?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: Use of commit statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736459#M1457933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whats your requirement actually..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in Program(SE38) if updating/inserting data by INSERT/MODIFY/UPDATE stmt, then u need to use COMMIT WORK...&lt;/P&gt;&lt;P&gt;if updating/inserting by BAPI then then use BAPI for Commit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Feb 2010 12:58:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-02-26T12:58:22Z</dc:date>
    <item>
      <title>Use of commit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736458#M1457932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use COMMIT statements generally in our normal SE38 Report Programs....Is there any specific instance in which a COMMIT statement can be used. Please let me know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also wanted to know if we can use COMMIT statements inside User Exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:46:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736458#M1457932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-26T12:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use of commit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736459#M1457933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Whats your requirement actually..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If in Program(SE38) if updating/inserting data by INSERT/MODIFY/UPDATE stmt, then u need to use COMMIT WORK...&lt;/P&gt;&lt;P&gt;if updating/inserting by BAPI then then use BAPI for Commit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 12:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736459#M1457933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-26T12:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use of commit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736460#M1457934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;generally commit should be avoided inside a user exit ..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also it is better to go through the documentation before you use commit inside a user exit&lt;/P&gt;&lt;P&gt;(coz it might lead to data inconsistency)&lt;/P&gt;&lt;P&gt;also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the commit need only be used when needed inside any &lt;U&gt;se-38&lt;/U&gt;  program.&lt;/P&gt;&lt;P&gt;(after INSERT/MODIFY/UPDATE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also &lt;/P&gt;&lt;P&gt;refer the links below for more info on user exit commits&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="7340831"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1551667"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="6415735"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Manthan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 13:01:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736460#M1457934</guid>
      <dc:creator>manthanraja</dc:creator>
      <dc:date>2010-02-26T13:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Use of commit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736461#M1457935</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;/P&gt;&lt;P&gt;you can use commit in se38.&lt;/P&gt;&lt;P&gt;there are 2 to 3 ways of commiting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit and wait.&lt;/P&gt;&lt;P&gt;use can use bapi to commit.&lt;/P&gt;&lt;P&gt;you can also use commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u r updating any record or inserting or deleting a record from a database table then you need to commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tanmaya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 13:58:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736461#M1457935</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-26T13:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Use of commit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736462#M1457936</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;    You can write COMMIT WORK after a select statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Srini.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 14:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736462#M1457936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-26T14:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Use of commit statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736463#M1457937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you can find a great deal in SAP help regarding this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; a transaction flow must adhere to its ACID(Atomicity,Consistency,Integrity and Durabiliy) properties.&lt;/P&gt;&lt;P&gt;The ACID properties of a DBMS allow safe sharing of data to the tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and also you may be aware of the states of transaction like start,abort,rollback,commit...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transaction flow diagram the commit state comes at last.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just think if you give a commit work in between the flow and if the data gets replicated in db &lt;/P&gt;&lt;P&gt;and if the transaction gets aborted after the exit, does this make any sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the transactional states the rollback state always comes before commit state.&lt;/P&gt;&lt;P&gt;Its not possible to roll back after a commit state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as i knoe Its not recommended to give a commit in between a transactional flow( ex:in bapi,exits,badi etc )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Feb 2010 14:07:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/use-of-commit-statement/m-p/6736463#M1457937</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-02-26T14:07:14Z</dc:date>
    </item>
  </channel>
</rss>

