<?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: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795304#M1679564</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any replies experts pls.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Jun 2012 17:22:52 GMT</pubDate>
    <dc:creator>former_member202077</dc:creator>
    <dc:date>2012-06-06T17:22:52Z</dc:date>
    <item>
      <title>COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795303#M1679563</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Some times we use COMMIT WORK AND WAIT and some times we pass 'X' falg for WAIT param in BAPI_TRANSACTION_COMMIT, so the standars SAP How many micro seoconds / seconds will be passes for this WAIT command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Instead can i sue COMMIT WORK and checking the system DB for update in question, if its successful, EXITting the block, Can i implement this alternative in performence perspective is it useful?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 16:12:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795303#M1679563</guid>
      <dc:creator>former_member202077</dc:creator>
      <dc:date>2012-06-06T16:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795304#M1679564</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any replies experts pls.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jun 2012 17:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795304#M1679564</guid>
      <dc:creator>former_member202077</dc:creator>
      <dc:date>2012-06-06T17:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795305#M1679565</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) There is no number of seconds for this WAIT. The work process waits until the V1 (most important) updates are completely finished and then returns. Please be aware that V2 updates might still be running. But normally they are not a big problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Yes, you can theoretically do that, but do not forget to put "WAIT UP to 1 seconds" after each select in the loop. &lt;/P&gt;&lt;P&gt;Using this method you will be wasting in average 500 milliseconds.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jun 2012 07:38:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795305#M1679565</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2012-06-07T07:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795306#M1679566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Adding to what Yuri said , wanted to add the pitfalls of COMMIT WORK&amp;nbsp; without WAIT&amp;nbsp; statement, COMMIT WORK without WAIT is basically asynchronous, the code below ur COMMIT WORK will always execute without waiting for the database updates to complete (say if u have 5 tables to update) the current program will not wait for table updates to complete, sometimes it might take a second at times it might take more than that...WAIT UPTO 1 SEC can minimize ur probabilitly of an slect not failing however it cannot be eliminated...&amp;nbsp; I will prefer to use COMMIT WORK AND WAIT in case if u wanted the recently posted data thru BAPI /code for subsequent processing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jun 2012 14:28:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795306#M1679566</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-26T14:28:47Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795307#M1679567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MSR,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P style="padding-bottom: 7px; color: #333333; text-indent: 0px; padding-top: 7px; background-color: #ffffff; text-align: justify;"&gt;&lt;STRONG&gt;WAIT addition&lt;/STRONG&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;is used for synchronous updating, that means the program will resume its execution till the update work finish, and it will continue after the database update. Otherwise it will be a asynchronous update (means the program wont wait for the database update).&lt;/P&gt;&lt;P style="padding-bottom: 7px; color: #333333; text-indent: 0px; padding-top: 7px; background-color: #ffffff; text-align: justify;"&gt;When we call a COMMIT WORK the following actions are occurring in the system.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Execute all subroutines registered using PERFORM ON COMMIT bases on the registration order.﻿&lt;/LI&gt;&lt;LI&gt;Trigger an internal event for the Persistence Service of the Object Services.﻿&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;It Handles the SAP locks associated with the current program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;﻿&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Trigger database commit and close the current database LUW and database cursors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;﻿&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Trigger the TRANSACTION_FINISHED event&lt;/P&gt;&lt;P&gt;&lt;/P&gt;﻿&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp; The&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;&lt;STRONG&gt;system field sy-subrc&lt;/STRONG&gt;&lt;SPAN class="Apple-converted-space"&gt; &lt;/SPAN&gt;will contain the following follows when we execute this statement.&amp;nbsp; &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;sy-subrc= 0 If the WAIT addition is not specified.&lt;/LI&gt;&lt;LI&gt;sy-subrc= 0 If the WAIT addition is specified and updating is successful.&lt;/LI&gt;&lt;LI&gt;sy-subrc= 4 If the WAIT addition is specified and updating is failure.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;some times we pass 'X' falg for WAIT param in BAPI_TRANSACTION_COMMIT, so the standars SAP How many micro seoconds.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this&amp;nbsp; you will be&amp;nbsp; average&amp;nbsp; in 600 Microseconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 09:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795307#M1679567</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-06-27T09:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795308#M1679568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;naveen kumar wrote:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;some times we pass 'X' falg for WAIT param in BAPI_TRANSACTION_COMMIT, so the standars SAP How many micro seoconds.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using this&amp;nbsp; you will be&amp;nbsp; average&amp;nbsp; in 600 Microseconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="shocked" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" src="https://community.sap.com/825/images/emoticons/shocked.gif"&gt;&lt;/SPAN&gt; &lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/825/images/emoticons/laugh.gif" width="1"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/825/images/emoticons/laugh.gif" width="1"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/825/images/emoticons/laugh.gif" width="1"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/825/images/emoticons/laugh.gif" width="1"&gt;&lt;/SPAN&gt;&lt;SPAN __jive_emoticon_name="laugh" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote" height="1" src="https://community.sap.com/825/images/emoticons/laugh.gif" width="1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 11:37:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795308#M1679568</guid>
      <dc:creator>yuri_ziryukin</dc:creator>
      <dc:date>2012-06-27T11:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795309#M1679569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better give the link to documentation like &lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCOMMIT.htm"&gt;&lt;STRONG style="font-size: 10pt; font-family: Courier New;"&gt;COMMIT WORK [AND WAIT].&lt;/STRONG&gt;&lt;/A&gt; than copy/paste part of the documentation&lt;/P&gt;&lt;P&gt;&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;I&amp;nbsp; &lt;SPAN class="hps"&gt;always thought&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the answer was &lt;A href="http://en.wikipedia.org/wiki/Phrases_from_The_Hitchhiker%27s_Guide_to_the_Galaxy#Answer_to_the_Ultimate_Question_of_Life.2C_the_Universe.2C_and_Everything_.2842.29"&gt;42&lt;/A&gt; and not &lt;A href="http://en.wikipedia.org/wiki/600_%28number%29"&gt;600&lt;/A&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/114407" height="33" width="45" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Jun 2012 11:57:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795309#M1679569</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2012-06-27T11:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795310#M1679570</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The SAP document seems not explaining "AND WAIT" clearly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yuping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 19:07:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795310#M1679570</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-01-15T19:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT; WAIT flag in BAPI_TRANSACTION_COMMIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795311#M1679571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="short_text" lang="en"&gt;&lt;SPAN class="hps"&gt;Effect, Chapter 2,&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;paragraph&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;3&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 08:09:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait-wait-flag-in-bapi-transaction-commit/m-p/8795311#M1679571</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2015-01-16T08:09:19Z</dc:date>
    </item>
  </channel>
</rss>

