<?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: Is 'Commit Work' statement necessary? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203768#M1521677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, COMMIT WORK is intended to flush update queues and allow SAP dispatcher to then assign the data to update processes that write the data to the database tables.  If one is doing an update from a customer program, generally one writes a COMMIT WORK at the appropriate point(s) in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BreakPoint on Aug 19, 2010 5:25 PM&lt;/P&gt;&lt;P&gt;Correct my statement about program ending.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Aug 2010 14:34:02 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-19T14:34:02Z</dc:date>
    <item>
      <title>Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203766#M1521675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it mandatory to issue 'Commit Work' statement to terminate the program in SAP LUW? If not provided would the program go into infinite loop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 14:13:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203766#M1521675</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-19T14:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203767#M1521676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all COMMIT WORK doesn't terminate the program in SAP LUW rather it terminates the LUW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't use an explicit COMMIT at the end of the program an implicit COMMIT occurs. Read SAP documentation on COMMIT WORK, SAP Logical Unit of Work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 14:33:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203767#M1521676</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-08-19T14:33:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203768#M1521677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, COMMIT WORK is intended to flush update queues and allow SAP dispatcher to then assign the data to update processes that write the data to the database tables.  If one is doing an update from a customer program, generally one writes a COMMIT WORK at the appropriate point(s) in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: BreakPoint on Aug 19, 2010 5:25 PM&lt;/P&gt;&lt;P&gt;Correct my statement about program ending.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 14:34:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203768#M1521677</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-19T14:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203769#M1521678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please read the SAP documentation of commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 17:48:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203769#M1521678</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-19T17:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203770#M1521679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I will give you a while to explain about update debugging before locking the thread (special exception for you... &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But generally if the OP has shown no inclination to do a basic search then answering it is spoon-feeding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question also appears to be 1: 1 copy&amp;amp;pasted from an interview catalogue.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 19:34:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203770#M1521679</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-19T19:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203771#M1521680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;every time a dialog (dynpro) is closed, automatically triggers a commit work!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION&lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Automatically triggers a commit work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You dont need to use COMMIT WORK, at least, that want to implement advanced update techniques (Asynchronus, update function modules, etc)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 20:20:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203771#M1521680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-19T20:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203772#M1521681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;... just before the thread gets locked:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no such thing as an implicit commit work. The implicit commit is a database commit, that means after every process interruption as i.e. processing of any screen and the end of program execution all database activities are committed, they can not be rolled back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The explicit ABAP statement COMMIT WORK will termiante the current LUW and, additionally start execution of all asynchronous database operations (Call function in update task), start all PERFORM ON COMMIT routines.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most BAPI calls need a subsequent COMMIT WORK, better issued by function Call BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The documentation has more information. One major truth is: In 'simple' programs that do some INSERTS, UPDATES and MODYFYs on database tables, you do not need any COMMIT WORK. And if screen processing happens afterwards, you can not ROLL BACK. &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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 22:05:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203772#M1521681</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-08-19T22:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is 'Commit Work' statement necessary?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203773#M1521682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exercise your right &amp;amp; do it &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keshav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 22:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/is-commit-work-statement-necessary/m-p/7203773#M1521682</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-08-19T22:09:17Z</dc:date>
    </item>
  </channel>
</rss>

