<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883572#M677325</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;insert into dbtab statement automatically uses commit and i think there is no need to use explicit commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Sep 2007 08:30:12 GMT</pubDate>
    <dc:creator>hymavathi_oruganti</dc:creator>
    <dc:date>2007-09-21T08:30:12Z</dc:date>
    <item>
      <title>Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883571#M677324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have some problems..maybe you have suggestions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I fill some internal table in a loop, which is included in an open cursor ...close cursor instruction.&lt;/P&gt;&lt;P&gt;Outside the loop, but in the same open cursor ...close cursor instruction, I move the records from the internal table into a database table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now..the purpose is to write a commit work to obtain the best performance.&lt;/P&gt;&lt;P&gt;I want that commit work to follow the insert into database table , but the cursor looses its index.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I want to find a way to work with cursor and commit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:20:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883571#M677324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883572#M677325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;insert into dbtab statement automatically uses commit and i think there is no need to use explicit commit work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:30:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883572#M677325</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-09-21T08:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883573#M677326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hii&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls try commit work and wait&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it may helps but it is synchronous process&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:33:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883573#M677326</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883574#M677327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello Anda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no way by which you can write commit work inside OPEN CURSOR.&lt;/P&gt;&lt;P&gt;wat i will suggest is either use select statement and then COMMIT or COMMIT after close cursor.;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:41:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883574#M677327</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883575#M677328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anda,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the following extract on "Commit" command..maybe you can be more clear on the work of the command&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Byju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:48:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883575#M677328</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883576#M677329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try using FM&lt;/P&gt;&lt;P&gt;BAPI_TRANSACTION_COMMIT.&lt;/P&gt;&lt;P&gt;WAIT = 'X'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:52:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883576#M677329</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:52:31Z</dc:date>
    </item>
    <item>
      <title>Re: Commit work</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883577#M677330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi byju,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open Cursor can be used after COMMIT WORK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the cursor you are opening is another one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Sep 2007 08:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work/m-p/2883577#M677330</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-21T08:54:29Z</dc:date>
    </item>
  </channel>
</rss>

