<?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: Regarding COMMIT WORK in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286642#M1219841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all d steps wud be committed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Mar 2009 05:16:34 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-03-02T05:16:34Z</dc:date>
    <item>
      <title>Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286636#M1219835</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; I am using two BAPIs 'BAPI_ACC_ACTIVITY_ALLOC_POST' and 'BAPI_NETWORK_CONF_ADD' in my custom function module. These two BAPIs are used  as explained below: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Fisrt the BAPI 'BAPI_ACC_ACTIVITY_ALLOC_POST'  is called. If sy-subrc NE '0', the error messages are read.&lt;/P&gt;&lt;P&gt;2) Then the BAPI 'BAPI_NETWORK_CONF_ADD' is called. If sy-subrc NE '0', its error messages are read.&lt;/P&gt;&lt;P&gt;3) If there is no error for the two BAPIs called above, then the actual posting is done by calling the BAPI&lt;/P&gt;&lt;P&gt;   'BAPI_ACC_ACTIVITY_ALLOC_POST'. If sy-subrc EQ 0, &lt;STRONG&gt;Commit work&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know if the Commit work in third step will commit the changes of the steps 1 and 2 as the the statement COMMIT WORK completes the current SAP LUW.&lt;/P&gt;&lt;P&gt;Or will it commit the step 3 only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:00:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286636#M1219835</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2009-03-02T05:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286637#M1219836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it will commit the 2 steps work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sravan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286637#M1219836</guid>
      <dc:creator>former_member242255</dc:creator>
      <dc:date>2009-03-02T05:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286638#M1219837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soumya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will commit only for the 3ed step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if subrc= 0 then you need to commit remainiing BAPI's aswell.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:08:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286638#M1219837</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T05:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286639#M1219838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soumya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK will commit the SAP LUW.&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0 in the third step then all the 3 steps will be commited.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regrds,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:11:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286639#M1219838</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T05:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286640#M1219839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;yes it will commit step 1 and 2&lt;/P&gt;&lt;P&gt;Commit is used to write the changes from buffer to the database &lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:12:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286640#M1219839</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T05:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286641#M1219840</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; I need to commit the step 3 only. Will a roll back work before calling the BAPI in step 3 will help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Soumya.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:15:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286641#M1219840</guid>
      <dc:creator>soumya_jose3</dc:creator>
      <dc:date>2009-03-02T05:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286642#M1219841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all d steps wud be committed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Aakash Banga&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:16:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286642#M1219841</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T05:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding COMMIT WORK</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286643#M1219842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi soumya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can rollback for the step 1&amp;amp; 2 if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then use the comit work if sy-subrc eq 0 for step 3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;Phani.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Mar 2009 05:19:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/regarding-commit-work/m-p/5286643#M1219842</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-03-02T05:19:46Z</dc:date>
    </item>
  </channel>
</rss>

