<?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: Automatic commit work after class method? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540223#M1856038</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Basti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute a commit, all the updates that are executed in the same LUW get committed/executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether to add commit or not, depends on your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR/Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 08:45:02 GMT</pubDate>
    <dc:creator>JJosh</dc:creator>
    <dc:date>2014-08-27T08:45:02Z</dc:date>
    <item>
      <title>Automatic commit work after class method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540222#M1856037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after calling a class method, is there an automatic commit work? Or do I have to insert a commit work into the class method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At which points, a commit work is automatically called?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Basti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 08:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540222#M1856037</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-27T08:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic commit work after class method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540223#M1856038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Basti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you execute a commit, all the updates that are executed in the same LUW get committed/executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whether to add commit or not, depends on your requirement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR/Josh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 08:45:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540223#M1856038</guid>
      <dc:creator>JJosh</dc:creator>
      <dc:date>2014-08-27T08:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic commit work after class method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540224#M1856039</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Basti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please elaborate your requirement and what you are trying to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I am not wrong you are trying to achieve functionality as described in below link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="89692" __jive_macro_name="thread" class="jive_macro_thread jive_macro" data-orig-content="ON COMMIT ABAP CLASS METHOD" href="https://community.sap.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let us know if it answers your question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 08:45:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540224#M1856039</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-27T08:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic commit work after class method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540225#M1856040</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When calling a function module, at the end of it there is an automatic commit work if I'm right.&lt;/P&gt;&lt;P&gt;I wanted to know, if there is the same behavior for class methods.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 09:05:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540225#M1856040</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-27T09:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic commit work after class method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540226#M1856041</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Implicit Commit work will not called after class method and in case of normal FM, But when RFC called then it will be called.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To know when and all implicit commit work called refer help sap &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_702/en/abendb_commit.htm" title="http://help.sap.com/abapdocu_702/en/abendb_commit.htm"&gt;Implicit_commit_work&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 09:26:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540226#M1856041</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-27T09:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic commit work after class method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540227#M1856042</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;there is so much confusion about commit, commit work and rollback:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. At the end of LUW and at every interruption (screen display including message issued, RFC calls,...)&amp;nbsp; an implicit database commit occurs.&lt;/P&gt;&lt;P&gt;2. COMMIT WORK will trigger all update task processes that have been registered before (call function in update task, perform on commit). Most BAPI functions use perform on commit. An implicit database commit ist not a COMMIT WORK.&lt;/P&gt;&lt;P&gt;3. Rollback work will delete all pending update tasks inclusing all database updates not yet commited.&lt;/P&gt;&lt;P&gt;4. Only the 'Master'of any process should rule the COMMIT WORK because COMMIT WORK means that ALL pending update tasks are executed. So only the caller on top of the hierarchy should issue the COMMIT WORK because a later ROLLBACK is not possible - ROLLBACK only works if not y&amp;lt;et committed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These rules work independent of programming feature used - nothing different in oo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 09:28:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatic-commit-work-after-class-method/m-p/10540227#M1856042</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2014-08-27T09:28:02Z</dc:date>
    </item>
  </channel>
</rss>

