<?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 after select statement in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543364#M1856404</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How developed this code? Can you contact the person who did this? Otherwise you can remove it I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Aug 2014 20:06:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-11T20:06:21Z</dc:date>
    <item>
      <title>Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543358#M1856398</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;In one of the cases I came across this syntax&lt;/P&gt;&lt;P&gt;select * from ....&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;I know commit work closes the current LUW and opens new one, what is the correct benefit of writing commit work after select statement is fired on any table?&lt;BR /&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 18:14:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543358#M1856398</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T18:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543359#M1856399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Commit work is used when you update/modify the database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 18:23:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543359#M1856399</guid>
      <dc:creator>arthur_alvesteixeira</dc:creator>
      <dc:date>2014-08-11T18:23:57Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543360#M1856400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no logic between these two statements (SELECT and COMMIT WORK) then I see no benefit from this logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 18:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543360#M1856400</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T18:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543361#M1856401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Select statement only read data and doesn't make change in database to use commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 18:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543361#M1856401</guid>
      <dc:creator>arthur_alvesteixeira</dc:creator>
      <dc:date>2014-08-11T18:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543362#M1856402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there more statements written in the program above Select statement?&lt;/P&gt;&lt;P&gt;If yes, then it might be that some database update is happening in program and commit is used for them.&lt;/P&gt;&lt;P&gt;However, there is no effect if commit is put right after select statement.&lt;/P&gt;&lt;P&gt;You can move on top of select (if more code is present before select statement)or remove the commit statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 19:16:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543362#M1856402</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T19:16:26Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543363#M1856403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all really speaking there are no other statements between just select and commit, strange , that is why I put this query.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 19:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543363#M1856403</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T19:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543364#M1856404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How developed this code? Can you contact the person who did this? Otherwise you can remove it I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Aug 2014 20:06:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543364#M1856404</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-11T20:06:21Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543365#M1856405</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;Sometimes COMMIT is required for example to save data to SPOOL.&lt;/P&gt;&lt;P&gt;I would not remove the line if you do not know why it is there. However, in your own coding, do not use that kind of sequence. COMMIT is not needed after SELECT.&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, 12 Aug 2014 07:58:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543365#M1856405</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-12T07:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work after select statement</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543366#M1856406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Commit work is used to reset the time limit counter, e.g after a long time run select statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Oct 2014 13:29:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-after-select-statement/m-p/10543366#M1856406</guid>
      <dc:creator>former_member112264</dc:creator>
      <dc:date>2014-10-08T13:29:59Z</dc:date>
    </item>
  </channel>
</rss>

