<?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 sets sy-subrc 0 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275112#M1019998</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;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;COMMIT WORK and WAIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition ... AND WAIT makes the program wait for the type V1 update (update with immediate start) to be executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;The update was performed successfully. &lt;/P&gt;&lt;P&gt;SY-SUBRC &amp;lt;&amp;gt; 0: &lt;/P&gt;&lt;P&gt;The update was not performed successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2008 10:58:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-30T10:58:36Z</dc:date>
    <item>
      <title>commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275101#M1019987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&lt;/P&gt;&lt;P&gt;Commit work sets sy-subrc always to zero.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case how can we know if commit work fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide more details and efficient usage of commit statements in a report&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:15:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275101#M1019987</guid>
      <dc:creator>UmaArjunan</dc:creator>
      <dc:date>2008-07-30T10:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275102#M1019988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi check this..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;may the insert or modify or update fails but not commit work...i think there is no fail case in the commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:16:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275102#M1019988</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:16:54Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275103#M1019989</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;commit work is used mainly in case of database changes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in the report at certain point you want to make chages to databasethen you can use commit work....to update changes to your database.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;mot of the times in bapis you have to use expicit commit work for database changes....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.abapprogramming.net/2008/05/sap-abap-syntax-for-commit.html" target="test_blank"&gt;http://www.abapprogramming.net/2008/05/sap-abap-syntax-for-commit.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:17:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275103#M1019989</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275104#M1019990</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;Use this code IN SUITABLE POSITION IN YOUR CODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;IF SY-SUBRC NE 0

   MESSAGE.................

ENDIF.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anirban&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:18:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275104#M1019990</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275105#M1019991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use &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;it will set sy-subrc = 0 if update is successfull  otherwise&lt;/P&gt;&lt;P&gt;sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With luck,&lt;/P&gt;&lt;P&gt;Pritam.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275105#M1019991</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275106#M1019992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this link:&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5022543"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:24:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275106#M1019992</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275107#M1019993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hiii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use FM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
*     EXPORTING
*       WAIT          = WAIT
*     IMPORTING
*       RETURN        = RETURN&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;it will give you message and if sy-subrc NE 0 then will give you error with message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;twinkal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:28:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275107#M1019993</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275108#M1019994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see the Implemetation of &lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT, how they handled the commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;In this case how can we know if commit work fails.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From SAP help&lt;/P&gt;&lt;P&gt;sy-subrc Meaning &lt;/P&gt;&lt;P&gt;0 You have specified the AND WAIT addition, and the updating of the update function modules was successful. &lt;/P&gt;&lt;P&gt;4 You have specified the AND WAIT addition, and the updating of the update function modules was not successful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:31:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275108#M1019994</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275109#M1019995</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;&lt;/P&gt;&lt;P&gt;  Use the following code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc eq 0.&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;else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  raise error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&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;Navee.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275109#M1019995</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275110#M1019996</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;Usage of commit statements is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK.&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;u2026 AND WAIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;Executes a database commit and thus closes a logical processing unit or Logical Unit of Work ( LUW ) (see also Transaction processing ). This means that&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;all database changes are made irrevocable and cannot be reversed with ROLLBACK WORK and&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;all database locks are released.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;calls the subroutines specified by PERFORM u2026 ON COMMIT ,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;executes asynchronously any update requests (see CALL FUNCTION u2026 IN UPDATE TASK ) specified in these subroutines or started just before,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;processes the function modules specified in CALL FUNCTION u2026 IN BACKGROUND TASK ,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;cancels all existing locks (see SAP locking concept ) if no update requests exist,&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;closes all open database cursors (see OPEN CURSOR ) and&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;resets the time slice counter to 0.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK belongs to the Open SQL command set.&lt;/P&gt;&lt;P&gt;Return code value&lt;/P&gt;&lt;P&gt;The SY-SUBRC is set to 0.&lt;/P&gt;&lt;P&gt;Notes&lt;/P&gt;&lt;P&gt;All subroutines called with PERFORM u2026 ON COMMIT are processed in the LUW concluded by the COMMIT WORK command. All V1 update requests specified in CALL FUNCTION u2026 IN UPDATE TASK are also executed in one LUW . When all V1 update requests have been successfully concluded, the V2 update requests (u201Dupdate with start delayedu201D) are processed, each in one LUW . Parallel to this, the function modules specified in CALL FUNCTION u2026 IN BACKGROUND TASK are each executed in one LUW per destination.&lt;/P&gt;&lt;P&gt;COMMIT WORK commands processed within CALL DIALOG processing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- execute a database commit (see above),&lt;/P&gt;&lt;P&gt;- close all open database cursors,&lt;/P&gt;&lt;P&gt;- reset the time slice counter and&lt;/P&gt;&lt;P&gt;- call the function modules specified by CALL FUNCTION IN&lt;/P&gt;&lt;P&gt;BACKGROUND TASK in the CALL DIALOG processing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, subroutines and function modules called with PERFORM u2026 ON COMMIT or CALL FUNCTION u2026 IN UPDATE TASK in the CALL DIALOG processing are not executed in the calling transaction until a COMMIT WORK occurs.&lt;/P&gt;&lt;P&gt;Since COMMIT WORK closes all open database cursors, any attempt to continue a SELECT loop after a COMMIT WORK results in a runtime error. For the same reason, a FETCH after a COMMIT WORK on the now closed cursors also produces a runtime error. You must therefore ensure that any open cursors are no longer used after the COMMIT WORK .&lt;/P&gt;&lt;P&gt;With batch input and CALL TRANSACTION u2026 USING , COMMIT WORK successfully concludes the processing.&lt;/P&gt;&lt;P&gt;Addition&lt;/P&gt;&lt;P&gt;u2026 AND WAIT&lt;/P&gt;&lt;P&gt;Effect&lt;/P&gt;&lt;P&gt;The addition u2026 AND WAIT makes the program wait until the type V1 updates have been completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The return code value is set as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0 The update was successfully performed.&lt;/P&gt;&lt;P&gt;SY-SUBRC &amp;lt;&amp;gt; 0 The update could not be successfully performed.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;Runtime errors&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;COMMIT_IN_PERFORM_ON_COMMIT : COMMIT WORK is not allowed in a FORM callled with PERFORM u2026 ON COMMIT .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;COMMIT_IN_POSTING : COMMIT WORK is not allowed in the update task.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Feel free to ask any doubt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Aparna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275110#M1019996</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275111#M1019997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;really wonder what all replies you get for some quesiton without a thought..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Commit is generally used after  INSERT , MODIFY . Update commands. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It makes sense to check the sy-subrc after these statements &lt;/P&gt;&lt;P&gt;not after commit.&lt;/P&gt;&lt;P&gt;ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Insert  &amp;lt;&amp;gt; from ....&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;......&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;commit work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br, &lt;/P&gt;&lt;P&gt;Vijay.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:56:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275111#M1019997</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275112#M1019998</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;&lt;/P&gt;&lt;P&gt;Use &lt;STRONG&gt;COMMIT WORK and WAIT&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The addition ... AND WAIT makes the program wait for the type V1 update (update with immediate start) to be executed. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Return Code is set as follows: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SY-SUBRC = 0: &lt;/P&gt;&lt;P&gt;The update was performed successfully. &lt;/P&gt;&lt;P&gt;SY-SUBRC &amp;lt;&amp;gt; 0: &lt;/P&gt;&lt;P&gt;The update was not performed successfully. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck,&lt;/P&gt;&lt;P&gt;Bhumika&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 10:58:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275112#M1019998</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-30T10:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: commit work sets sy-subrc 0</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275113#M1019999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the AND WAIT OPTION, so sy-subrc will be set to non-zero value if any error or abend occurs. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Look at old one doc [Updates in the R/3 System (BC-CST-UP)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCCSTUP/BCCSTUP_PT.pdf] always useful)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2008 11:27:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-sets-sy-subrc-0/m-p/4275113#M1019999</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2008-07-30T11:27:37Z</dc:date>
    </item>
  </channel>
</rss>

