<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828103#M1316124</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;commit work ( asynchronous updating ) &lt;/P&gt;&lt;P&gt; commit work and wait ( synchronous )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jun 2009 08:36:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-06-30T08:36:10Z</dc:date>
    <item>
      <title>COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828099#M1316120</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;Can any one explain me the difference between COMMIT WORK and COMMIT WORK AND WAIT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I am trying to Use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{ CALL TRANSACTION XD01 USING BDCDATA&lt;/P&gt;&lt;P&gt;                                              MODE 'N' &lt;/P&gt;&lt;P&gt;                                              UPDATE 'S'&lt;/P&gt;&lt;P&gt;                                              MESSAGES INTO MESSTAB.  }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This Statement I want to use only Customer Data to Validate. Once the validation happens, I want to Roll back all changes using &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_ROLLBACK. Is it possible to Roll Back? Does it validate Customer data rather than Create Customer. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please give me any other pointers, If possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;J.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:27:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828099#M1316120</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T08:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828100#M1316121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sekhar,&lt;/P&gt;&lt;P&gt;  Commit work----&lt;/P&gt;&lt;HR originaltext="-----" /&gt;&lt;P&gt;&amp;gt; when you use commit work it will hit the database and store immediately.&lt;/P&gt;&lt;P&gt; commit work and wait----&lt;/P&gt;&lt;HR originaltext="---" /&gt;&lt;P&gt;&amp;gt; this statement will hit the database and wait sometime to process the second record in an loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to validate the customer you can use validations before the BDC process and filter if you want to use roll back then check the sy-subrc after your call transaction if it fails then you can rollback.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828100#M1316121</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T08:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828101#M1316122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The statement COMMIT WORK completes the current SAP-LUW and opens a new one, storing all change requests for the current SAP LUW in the process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and if you specify the AND WAIT addition to Commit work the program  until the update work process has executed it (asynchronous updating).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:35:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828101#M1316122</guid>
      <dc:creator>former_member556412</dc:creator>
      <dc:date>2009-06-30T08:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828102#M1316123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sekhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Irrespective of whether the update mode is &lt;STRONG&gt;S&lt;/STRONG&gt;ychronous or &lt;STRONG&gt;A&lt;/STRONG&gt;synchronous the customer will not be created if any of the validations fails so there is no need for any ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:35:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828102#M1316123</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2009-06-30T08:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828103#M1316124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;commit work ( asynchronous updating ) &lt;/P&gt;&lt;P&gt; commit work and wait ( synchronous )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828103#M1316124</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T08:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828104#M1316125</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;The data are usually saved by processes running in update task or background, these processes are raised at the end of a transaction (or LUW, Logical Unit of Work)) by COMMIT WORK statament.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it uses the addition WAIT, the program waits for the end of all processes, if it doesn't use ti, the program goes on without to wait for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So: &lt;/P&gt;&lt;P&gt;- commit work is asynchronous process, because the program runs while the saving process are running too,&lt;/P&gt;&lt;P&gt;- commit work and wait is synchronous process, because the programs runs after the saving process are over.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to check the SAP HELP for LUW, here u can find out all informations u need&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to check some validation, it's better to create a BI simulation without to save, but to exit from trx only: that works if the validation is not triggered as soon as the data is saved&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 08:38:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828104#M1316125</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T08:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: COMMIT WORK AND WAIT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828105#M1316126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;commit work -&amp;gt; all records get updated into the table one by one (if there are more than 1 record or more than 1 table) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work and wait -&amp;gt; system waits untill all the records are updated to the tables and then it moves to the next statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think u r updating data using BDC.So if there is any error then it will rollback automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sajid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jun 2009 11:42:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-and-wait/m-p/5828105#M1316126</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-06-30T11:42:18Z</dc:date>
    </item>
  </channel>
</rss>

