<?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 commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515849#M569186</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a input paramter in bapi , commit_control . I have set to 'E' and its getting committed even without the need of bapi_transaction_commit. Thanks for your responses .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2007 16:56:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-01T16:56:49Z</dc:date>
    <item>
      <title>bapi commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515846#M569183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i am using a bapi in my user exit . Do i need to call the bapi commit ? i cant test the user exit now so i am not sure if the bapi really works or not .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 20:59:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515846#M569183</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T20:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: bapi commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515847#M569184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Deepthi,&lt;/P&gt;&lt;P&gt;           If you are using this in the user exit, you dont need to use commit. It will get commited along with the main program. If you want to test it, you can use SE37 and use test sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SE37 FM-&amp;gt;test-&amp;gt;test sequence . here use your BAPI and also BAPI transaction commit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 21:07:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515847#M569184</guid>
      <dc:creator>former_member214999</dc:creator>
      <dc:date>2007-07-17T21:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: bapi commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515848#M569185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Function BAPI_TRANSACTION_COMMIT does nothing else but a simple COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK not only commits all database changes (insert, update, delete) to the database making them available for all other and later processes and transactions. In BAPI function modules, many database changens are not done directly but using the ABAP syntax PERFORM ... ON COMMIT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means, the form is not executed until the next COMMIT WORK ( or Call of BAPI_TRANSACTION_COMMIT).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All INSERT, UPDATE and DELETE is committed automatically at the end of transaction or execution of a report. PERFORM ... ON COMMIT needs the explicit COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats the reason why you will never find objects (orders, assets,...) created using BAPI in test environment using SE37 althoug you receive a success message. You must do it in program and after the BAPI call issue COMMIT WORK or call function BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should be aware, that COMMIT WORK will commit everything to the database in the current LUW (transaction, logical unit of work), not only what you created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your routine is a child routine of a standard process, never use COMMIT WORK. The calling transaction will know the right time to commit and all changes you did are committed as well - or rolled back if an error occurred.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2007 21:14:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515848#M569185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-17T21:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: bapi commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515849#M569186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a input paramter in bapi , commit_control . I have set to 'E' and its getting committed even without the need of bapi_transaction_commit. Thanks for your responses .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 16:56:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/bapi-commit/m-p/2515849#M569186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T16:56:49Z</dc:date>
    </item>
  </channel>
</rss>

