<?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 Performace comparision on Commit in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755462#M1774776</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a submit report between a Loop statement and using commit work and wait statement. As this loop may have a lot of records, so I just want to know that which of the below statement is good, performance-wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&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;COMMIT WORK.&lt;/P&gt;&lt;P&gt;WAIT UP TO 1 SECONDS.&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;BAPI_TRANSACTION COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanket Sethi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 14 Oct 2013 06:31:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-10-14T06:31:36Z</dc:date>
    <item>
      <title>Performace comparision on Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755462#M1774776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a submit report between a Loop statement and using commit work and wait statement. As this loop may have a lot of records, so I just want to know that which of the below statement is good, performance-wise.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK AND WAIT.&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;COMMIT WORK.&lt;/P&gt;&lt;P&gt;WAIT UP TO 1 SECONDS.&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;BAPI_TRANSACTION COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanket Sethi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 06:31:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755462#M1774776</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-14T06:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Performace comparision on Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755463#M1774777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sanket,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sure i would not use - &lt;EM&gt;COMMIT WORK. WAIT UP TO 1 SECONDS.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you should make a decision on whether to use &lt;A href="http://help.sap.com/abapdocu_740/en/abensynchronous_update_glosry.htm"&gt;Synchronous &lt;/A&gt;or &lt;A href="http://help.sap.com/abapdocu_740/en/abenasynchronous_update_glosry.htm"&gt;Asynchronous&lt;/A&gt; updates?&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>Mon, 14 Oct 2013 07:22:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755463#M1774777</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2013-10-14T07:22:40Z</dc:date>
    </item>
    <item>
      <title>Re: Performace comparision on Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755464#M1774778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Suhas..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your inputs.. I am using as of now, COMMIT WORK AND WAIT. I am just checking on SDN for enhance my knowledge on this tuff that what will be the best way to commit DB with some seconds wait before moving forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There will be 3 options for doing the same.. But which one will take more time and which one will take less. Kindly elaborate if you have some explanation on the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sanket&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2013 07:41:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755464#M1774778</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-14T07:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Performace comparision on Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755465#M1774779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;if you have a bigger loop and do a commit for each loop you could run into serios performance issues. I would calculate ~1 sec per loop.&lt;/P&gt;&lt;P&gt;Best would be to do the commit in one step for all entries. Maybe you can enhance or change the report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 08:40:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755465#M1774779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T08:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: Performace comparision on Commit</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755466#M1774780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hallo Sanket&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that what you do is unfortunately wrong. You can not do commit in all loop, in every sy-tabix. First of all you have to make Paketsize ( 100 rows for example ). Then make commit when paketsize is achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you do 100 loops, and then you make commit. In this case you do 1 commit in 100 loops, and not 100 commit for 100 loops, what will fast your program 100 times. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you have to use commit work and wait. &lt;/P&gt;&lt;P&gt;1 s for 100 loops this is 100s and this is 1min and 40 sek. A ENORMOUS LOSS OF TIME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With 1 commit in paketsize, you will be abble do the same thing 100 faster, so we have 1 s respondtime to DB. Still to much. SAP tell that Respondtime ( querry in and out to DB ) should be less the 1s, so you have to use COMMIT AND WAIT. System will calcuate the nessesery time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;BAPI_TRANSACTION COMMIT&lt;/SPAN&gt; and COMMIT is the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope i help.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Marek.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 09:10:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/performace-comparision-on-commit/m-p/9755466#M1774780</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-10-16T09:10:30Z</dc:date>
    </item>
  </channel>
</rss>

