<?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: relation for calltrans and commit work in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529305#M573348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;After calling the transaction u need to do COMMIT WORK or else if an error occurs it will get rolled back.&lt;/P&gt;&lt;P&gt;COMMIT WORK. &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;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;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;COMMIT WORK also&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;calls the subroutines specified by PERFORM ... ON COMMIT * executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK ) specified in these subroutines or started just before,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK ,&lt;/P&gt;&lt;/LI&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;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;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;&lt;/P&gt;&lt;P&gt;ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;Closes a logical processing unit by reversing all database changes made since the last COMMIT .&lt;/P&gt;&lt;P&gt;You use this statement if you cannot be certain that all the database changes have been executed correctly.&lt;/P&gt;&lt;P&gt;The update routines are not performed.&lt;/P&gt;&lt;P&gt;ROLLBACK WORK belongs to the Open SQL command set.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;If the ROLLBACK statement occurs within a SELECT loop, the processing cannot continue because the database cursor is invalid. After the ROLLBACK statement, you should therefore ensure that all SELECT processing has been explicitly terminated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Jul 2007 05:24:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-10T05:24:53Z</dc:date>
    <item>
      <title>relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529302#M573345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi gurus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    can any body say how the call transaction and commit work are related.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with regards&lt;/P&gt;&lt;P&gt;  aru.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:20:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529302#M573345</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529303#M573346</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;After the Call transaction, to be on safer side you need to COMMIT WORK. Other wise if any error occurs, there are chance of the changes being Rolled back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Prashant&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:21:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529303#M573346</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529304#M573347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aravind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;its depend on the called transaction. It is not required for every CALL TRANSACTION. if the transaction is doing some DB update then it is safe to add COMMIT WORK after CALL TRANSACTION is successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:24:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529304#M573347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:24:30Z</dc:date>
    </item>
    <item>
      <title>Re: relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529305#M573348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;After calling the transaction u need to do COMMIT WORK or else if an error occurs it will get rolled back.&lt;/P&gt;&lt;P&gt;COMMIT WORK. &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;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;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;COMMIT WORK also&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;calls the subroutines specified by PERFORM ... ON COMMIT * executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK ) specified in these subroutines or started just before,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK ,&lt;/P&gt;&lt;/LI&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;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;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;&lt;/P&gt;&lt;P&gt;ROLLBACK WORK.&lt;/P&gt;&lt;P&gt;Closes a logical processing unit by reversing all database changes made since the last COMMIT .&lt;/P&gt;&lt;P&gt;You use this statement if you cannot be certain that all the database changes have been executed correctly.&lt;/P&gt;&lt;P&gt;The update routines are not performed.&lt;/P&gt;&lt;P&gt;ROLLBACK WORK belongs to the Open SQL command set.&lt;/P&gt;&lt;P&gt;Note&lt;/P&gt;&lt;P&gt;If the ROLLBACK statement occurs within a SELECT loop, the processing cannot continue because the database cursor is invalid. After the ROLLBACK statement, you should therefore ensure that all SELECT processing has been explicitly terminated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:24:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529305#M573348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529306#M573349</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;"CALL transaction" is used to call a transaction from a program. You may or may not use call transaction depending on:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the user is supposed to do some action then a COMMIT WORK will be executed by the program of that transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me knwow if you have a situation or scenario about this. Or please explain if I have not understood the question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:26:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529306#M573349</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529307#M573350</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;CALL TRANSACTION stats a new SAP LUW, and the current LUW is kept as it is, so if you want your current SAP LUW to be saved before you leave to another SAP LUW so that failure of the new SAP LUW does not have any effect then use COMMIT WORK which closes or say saves the current SAP LUW by causing a Database commit and closing the Database LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:28:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529307#M573350</guid>
      <dc:creator>seshatalpasai_madala</dc:creator>
      <dc:date>2007-07-10T05:28:58Z</dc:date>
    </item>
    <item>
      <title>Re: relation for calltrans and commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529308#M573351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Executes a database commit and thus closes a Logical Unit of Work ( LUW) (see also Transaction Processing). This means that &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all database updates are made irrevocable and cannot be reversed with ROLLBACK WORK and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;all database locks are released. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMIT WORK also &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls the subroutines specified by PERFORM ... ON COMMIT, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;executes asynchronously any update requests (see CALL FUNCTION ... IN UPDATE TASK) specified in these subroutines or started just before, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;processes the function modules specified in CALL FUNCTION ... IN BACKGROUND TASK, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;closes all open database cursors (see OPEN CURSOR) and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resets the time slice counter to 0. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Never Use Commit work in a select... endselect .. program dumps.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Reward points&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 05:31:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/relation-for-calltrans-and-commit-work/m-p/2529308#M573351</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T05:31:46Z</dc:date>
    </item>
  </channel>
</rss>

