<?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 Failed. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437429#M545366</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After your code calling the function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;commit work and wait.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Jul 2007 05:05:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-04T05:05:24Z</dc:date>
    <item>
      <title>Commit Work Failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437426#M545363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A weird problem hits me so much. After I insert a table item and of course commit work following the insert clause in a function module, and I want to read the inserted item out and change it, but after I commit work for the update clause and go to the table to see the item you have changed, nothing happened. It seems that there are two threads for the insert and update clause. I want to know why, and how to solve the problem properly. Actually I use wait up to 1 seconds to solve the problem, but I do not want to wait for 1 second for each table item, as there are many items should be processed at one time, so it will take a long time to complete the whole processing which can not be accepted by the user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance, points will be rewarded.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vincent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 04:58:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437426#M545363</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T04:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: Commit Work Failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437427#M545364</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;dont write commit work inside the function module. it wont work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write it in the report program after the function modulew gets executed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;ravish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;plz dont forget to reward points if helpful&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 05:03:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437427#M545364</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T05:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Commit Work Failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437428#M545365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My suggestion is to do all the intermediate changes in the internal table itself first and only "SAVE" updates the database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have to do without the first Insert and have the data in the internal table itself. and when user modifies some data, the changes happens to the data in internal table rather than the Database. You can have a SAVE button (which updates to Database &amp;amp; commit work) to save the changes at one go.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anish Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 05:04:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437428#M545365</guid>
      <dc:creator>former_member150733</dc:creator>
      <dc:date>2007-07-04T05:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Commit Work Failed.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437429#M545366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After your code calling the function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Write:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;commit work and wait.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2007 05:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-failed/m-p/2437429#M545366</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-04T05:05:24Z</dc:date>
    </item>
  </channel>
</rss>

