<?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: Wait for commit to finish in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988439#M1162115</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did u try the addition IN UPDATE TASK to ur call function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Jan 2009 13:26:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-01-05T13:26:25Z</dc:date>
    <item>
      <title>Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988435#M1162111</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;I am calling a standard function that update some tables and at the end execute a commit work without the wait clause, but right after the execution of the standard function I need to perform some operations that needs all the tables to be updated, so unfortunatelly I needed commit work and wait inside the standard function.&lt;/P&gt;&lt;P&gt;As I cannot change the standard function I tried to use table VBHDR to check when the update process finish but I noticed in my system this table is not trustfull as there are lots of garbage there with field VBRC = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is how can I wait for the commit work to finish in this situation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:08:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988435#M1162111</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2009-01-05T13:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988436#M1162112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well this a random approach but u can try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use WAIT UP TO n seconds give the vales as some 120 or 180 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but u cant be sure if its stable all the time.&lt;/P&gt;&lt;P&gt;Or u can try and call the function with the addition &lt;STRONG&gt;IN UPDATE TASK&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __default_attr="16" __jive_macro_name="size"&gt;кu03B1ятu03B9к&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kartik tarla on Jan 5, 2009 6:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:11:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988436#M1162112</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T13:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988437#M1162113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So why not do a COMMIT WORK AND WAIT, (or BAPI_TRANSACTION_COMMIT) after calling the standard function module, yourself?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988437#M1162113</guid>
      <dc:creator>Sm1tje</dc:creator>
      <dc:date>2009-01-05T13:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988438#M1162114</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;Thanks for the answer but I know the wait up to solution but do not like it, I would like to know if there is another one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:25:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988438#M1162114</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2009-01-05T13:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988439#M1162115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did u try the addition IN UPDATE TASK to ur call function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:26:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988439#M1162115</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T13:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988440#M1162116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the standard function already executed the commit work command, so the process was already sent to update, it will make no difference if I call again commit work and wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:27:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988440#M1162116</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2009-01-05T13:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988441#M1162117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because the standard function already executed the commit work command, so the process was already sent to update, it will make no difference if I call again commit work and wait.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:27:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988441#M1162117</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2009-01-05T13:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988442#M1162118</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;I am not sure about what you suggested but If you said to wrap up my logic in a function and call it in update task it will not work because I will still need to wait for the first commit work to finish.&lt;/P&gt;&lt;P&gt;And also I cannot call it in update task because I need to return the error messages to XI (PI) and that cannot be done in update task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:38:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988442#M1162118</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2009-01-05T13:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988443#M1162119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not asking u to call ur logic in update task but call the standard function in update task which executes before ur logic is called.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 13:44:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988443#M1162119</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-05T13:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Wait for commit to finish</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988444#M1162120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is not possible because I need to abort my logic in case the standard function return an error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mauricio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Jan 2009 18:12:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/wait-for-commit-to-finish/m-p/4988444#M1162120</guid>
      <dc:creator>MauricioMiao</dc:creator>
      <dc:date>2009-01-05T18:12:38Z</dc:date>
    </item>
  </channel>
</rss>

