<?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: Performance Issue with BAPI_TRANSACTION_COMMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879007#M676050</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might get better performance by doing it at the end, but you might also end up with inconsistent data. You should do a commit after each LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(You might not get any performance improvement by putting it at the end either. The COMMIT still has to do the same amount of actual work, less some overhead.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Sep 2007 16:45:11 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-19T16:45:11Z</dc:date>
    <item>
      <title>Performance Issue with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879006#M676049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which is better performance wise? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm doing a mass change of final confirmation using BAPI_ALM_CONF_CREATE. I have more than 100 records for processing. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I do a commit work for each record processed?&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_ALM_CONF_CREATE'&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should I do the commit work after processing all the records?&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'BAPI_ALM_CONF_CREATE'&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 16:35:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879006#M676049</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T16:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879007#M676050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might get better performance by doing it at the end, but you might also end up with inconsistent data. You should do a commit after each LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(You might not get any performance improvement by putting it at the end either. The COMMIT still has to do the same amount of actual work, less some overhead.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 16:45:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879007#M676050</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T16:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879008#M676051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi JB,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do it for each record separately. In case of doing it in one go, could lead to problems, if the update is asynchronous. On the other hand, if one reocrd is wrong, than you loose all changes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ec&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 16:55:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879008#M676051</guid>
      <dc:creator>JozsefSzikszai</dc:creator>
      <dc:date>2007-09-19T16:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879009#M676052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But is it ok do the COMMIT for each order or is it better to do it for each order and operation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 17:34:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879009#M676052</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T17:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Performance Issue with BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879010#M676053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After each LUW (each BAPI call).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2007 18:24:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performance-issue-with-bapi-transaction-commit/m-p/2879010#M676053</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-19T18:24:11Z</dc:date>
    </item>
  </channel>
</rss>

