<?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 Enhancement Spots &amp; COMMIT WORK statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811841#M1313380</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;&lt;/P&gt;&lt;P&gt;I have read a SAP note which suggests that COMMIT WORK statements in Enhancement Spots or bADIs can cause errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this or confirm/explain this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Jun 2009 11:33:20 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-26T11:33:20Z</dc:date>
    <item>
      <title>Enhancement Spots &amp; COMMIT WORK statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811841#M1313380</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;&lt;/P&gt;&lt;P&gt;I have read a SAP note which suggests that COMMIT WORK statements in Enhancement Spots or bADIs can cause errors. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone experienced this or confirm/explain this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Gregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 11:33:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811841#M1313380</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-26T11:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Spots &amp; COMMIT WORK statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811842#M1313381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gregor Brett,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BADIs are usually provided in the middle of any process. For eg, if I am creating a contract, so during save system will process half of the process and then my BADI is called so that I can provide any field value, letsay. But now if I commit my work in the BADI, then half the process will be commited to the database and will lead to erratic behaviour.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You it is not recommented to put commit in BADI or Enhancement Spot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will resolve your query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 11:49:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811842#M1313381</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-26T11:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Spots &amp; COMMIT WORK statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811843#M1313382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;commit statement in userexit/BADI:&lt;/P&gt;&lt;P&gt;You should not do that.&lt;/P&gt;&lt;P&gt;After the user exits/BADI code is triggered, the transaction's own commits statements will commit the database anyway&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 11:53:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811843#M1313382</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-26T11:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Spots &amp; COMMIT WORK statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811844#M1313383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 11:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811844#M1313383</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-26T11:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Enhancement Spots &amp; COMMIT WORK statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811845#M1313384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Due to transaction processing techniques, the commit work is usually at the end of a transaction. When a transaction starts, the database is in a consistent state after that the data is in intermmediate state when you are making changes or additions or deletions in the transaction. Once all the data is changed and you confirm that it is valid,  you save your work , upon save a commit work is explicitly executed (i.e commit work statement is at the end of the save procedure of the program). Imagine what will happen if there is a commit work in between a intermmediate state of the data, the data will be inconsistent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For further explantion to your query check this [link|http://help.sap.com/saphelp_nw04/Helpdata/EN/41/7af4b9a79e11d1950f0000e82de14a/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2009 12:02:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/enhancement-spots-commit-work-statement/m-p/5811845#M1313384</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-26T12:02:21Z</dc:date>
    </item>
  </channel>
</rss>

