<?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: Usage of Bapi_Transaction_Commit? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934138#M61546</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very much relevant for ABAP. I guess you want to know why you want to call BAPI_TRANSACTION_COMMIT after calling a standard BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the function module documentation explaining that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method executes a COMMIT WORK command. It is required for             &lt;/P&gt;&lt;P&gt;transactions developed externally to the R/3 System  that change data in   &lt;/P&gt;&lt;P&gt;the R/3 System via BAPI calls.                                                                                &lt;/P&gt;&lt;P&gt;When you call BAPIs in your program that change data in the R/3 System,    &lt;/P&gt;&lt;P&gt;afterwards you must call this method to write the changes to the           &lt;/P&gt;&lt;P&gt;database.                                                                                &lt;/P&gt;&lt;P&gt;Use the method BapiService.TransactionRollback to prevent changes to the   &lt;/P&gt;&lt;P&gt;database being committed.                                                  &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Sep 2005 09:34:32 GMT</pubDate>
    <dc:creator>athavanraja</dc:creator>
    <dc:date>2005-09-12T09:34:32Z</dc:date>
    <item>
      <title>Usage of Bapi_Transaction_Commit?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934137#M61545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for not noticing that it is an ABAP Programming forum.&lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;How can I use Bapi_Transaction_Commit in conjunction with a standard BAPI_A( for e.g) in webdynpros?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wdContext.currentBAPI_AElement.modelobject.execute();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above source code would immediately execute the Bapi without knowing about the Bapi_Transaction_Commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or am I missing something crucial?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;MK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 08:09:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934137#M61545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T08:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Bapi_Transaction_Commit?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934138#M61546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very much relevant for ABAP. I guess you want to know why you want to call BAPI_TRANSACTION_COMMIT after calling a standard BAPI.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the function module documentation explaining that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This method executes a COMMIT WORK command. It is required for             &lt;/P&gt;&lt;P&gt;transactions developed externally to the R/3 System  that change data in   &lt;/P&gt;&lt;P&gt;the R/3 System via BAPI calls.                                                                                &lt;/P&gt;&lt;P&gt;When you call BAPIs in your program that change data in the R/3 System,    &lt;/P&gt;&lt;P&gt;afterwards you must call this method to write the changes to the           &lt;/P&gt;&lt;P&gt;database.                                                                                &lt;/P&gt;&lt;P&gt;Use the method BapiService.TransactionRollback to prevent changes to the   &lt;/P&gt;&lt;P&gt;database being committed.                                                  &lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 09:34:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934138#M61546</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-09-12T09:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Bapi_Transaction_Commit?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934139#M61547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi, MK  &lt;/P&gt;&lt;P&gt;Some BAPI will change some data in SAP table, but the change won't be effective, untill you call BAPI_TRANSACTION_COMMIT.  And if you call BAPI_TRANSACTION_ROLLBACK, the change will be ineffective. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you call BAPI in the web dynpro, it belong to a remote call.  After call the BAPI you want, and get no error info, then call BAPI_TRANSACTION_COMMIT to submit the data update you want to do on SAP sever.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2005 09:52:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/usage-of-bapi-transaction-commit/m-p/934139#M61547</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-09-12T09:52:51Z</dc:date>
    </item>
  </channel>
</rss>

