<?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: if BAPI_TRANSACTION_COMMIT is not called in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918545#M1598495</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thomas for your reply just one thing more....does it mean that if we won't call BAPI_TRANSACTION_COMMIT then it might or might not create data .........nothg specifc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jun 2011 08:39:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-06-17T08:39:11Z</dc:date>
    <item>
      <title>if BAPI_TRANSACTION_COMMIT is not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918541#M1598491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Gurus, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i call a BAPI create and then i dont call a BAPI_TRANSACTION_Commit explicitly ....... but some database commits is called after that ...... then will the data be created in the system.. or we need to explicitly call BAPI_TRANSACTION_COMMIT or commit work .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;khushy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 05:22:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918541#M1598491</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T05:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: if BAPI_TRANSACTION_COMMIT is not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918542#M1598492</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; BAPI_TRANSACTION_COMMIT internally calls COMMIT WORK. or COMMIT WORK AND WAIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; So basically a COMMIT WORK will trigger all database changes up to that point&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Rajvansh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 05:30:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918542#M1598492</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T05:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: if BAPI_TRANSACTION_COMMIT is not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918543#M1598493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;but if i dont call BAPI_TRANSACTION_COMMIT there is there any possiblity that data will be saved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds, &lt;/P&gt;&lt;P&gt;Khushy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 06:48:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918543#M1598493</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T06:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: if BAPI_TRANSACTION_COMMIT is not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918544#M1598494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The LUW principle is simple, once all updates related to a transaction have been made successfully, a commit work is necessary.&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT is a wrapper that can be called from outside the SAP system. If you're working within the same box you might as well use a COMMIT WORK statement instead. Don't just rely on implicit commits, e.g. when a program ends. A pure database commit (via native SQL) is not sufficient, the ABAP statement does more (see ABAP help).&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 08:02:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918544#M1598494</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2011-06-17T08:02:54Z</dc:date>
    </item>
    <item>
      <title>Re: if BAPI_TRANSACTION_COMMIT is not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918545#M1598495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Thomas for your reply just one thing more....does it mean that if we won't call BAPI_TRANSACTION_COMMIT then it might or might not create data .........nothg specifc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Khushboo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 08:39:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918545#M1598495</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-17T08:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: if BAPI_TRANSACTION_COMMIT is not called</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918546#M1598496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;does it mean that if we won't call BAPI_TRANSACTION_COMMIT then it might or might not create data&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Khushy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Thomas has mentioned, BAPI_TRANSACTION_COMMIT is just a wrapper for the COMMIT WORK[AND WAIT] statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's always a recommended to call BAPI_TRANSACTION_COMMIT after every BAPI call to commit the changes to the database(more specifically terminate the LUW).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If during the BAPI call there are some errors returned, then you have to revert the changes to the database via BAPI_TRANSACTION_ROLLBACK!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll definitely benefit a lot by reading the details on [SAP LUW concept|http://help.sap.com/saphelp_nw04/helpdata/en/41/7af4bfa79e11d1950f0000e82de14a/content.htm]!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jun 2011 08:48:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/if-bapi-transaction-commit-is-not-called/m-p/7918546#M1598496</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-06-17T08:48:05Z</dc:date>
    </item>
  </channel>
</rss>

