<?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: bapi_transaction_commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061940#M970917</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;When ever we run a BAPI that is changing the database we should do commit work to write the changes to database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module "BAPI_TRANSACTION_COMMIT" is a FM which does the commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a BAPI is used in transaction called externally to change data in SAP system BAPI_TRANSACTION_COMMIT function should be called to write the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATTERN&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;WAIT = &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;RETURN = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has 2 parameters.&lt;/P&gt;&lt;P&gt;wait = If it is blank then the function commits changes to database but doesnot wait.If wait is set to some value then after commit work the system waits.&lt;/P&gt;&lt;P&gt;return = It gives messages when commit fails only when wait is set to some value else if wait is blank and commit fails the system crashes without any message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a BAPI is run from a program where it changes the database and a commit work doesnot follow it then the system crashes also it locks certain database elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Jun 2008 03:51:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-25T03:51:14Z</dc:date>
    <item>
      <title>bapi_transaction_commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061938#M970915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is the difference if we use bapi_transaction_commit it and if we dont use it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 03:33:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061938#M970915</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T03:33:41Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_transaction_commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061939#M970916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5584576"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4056348"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5094347"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward Points..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 03:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061939#M970916</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T03:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: bapi_transaction_commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061940#M970917</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;When ever we run a BAPI that is changing the database we should do commit work to write the changes to database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function module "BAPI_TRANSACTION_COMMIT" is a FM which does the commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When a BAPI is used in transaction called externally to change data in SAP system BAPI_TRANSACTION_COMMIT function should be called to write the changes to the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PATTERN&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORTING &lt;/P&gt;&lt;P&gt;WAIT = &lt;/P&gt;&lt;P&gt;IMPORTING &lt;/P&gt;&lt;P&gt;RETURN = &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It has 2 parameters.&lt;/P&gt;&lt;P&gt;wait = If it is blank then the function commits changes to database but doesnot wait.If wait is set to some value then after commit work the system waits.&lt;/P&gt;&lt;P&gt;return = It gives messages when commit fails only when wait is set to some value else if wait is blank and commit fails the system crashes without any message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a BAPI is run from a program where it changes the database and a commit work doesnot follow it then the system crashes also it locks certain database elements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2008 03:51:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-transaction-commit/m-p/4061940#M970917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-25T03:51:14Z</dc:date>
    </item>
  </channel>
</rss>

