<?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 on table  using UPDATE statement.* in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529776#M1070615</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why dont you try with one more second?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wait upto 3 seconds. i have seen two or three programs in my system which waits for 3 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be based on the system's efficiency.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2008 05:54:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-23T05:54:06Z</dc:date>
    <item>
      <title>* Commit work on table  using UPDATE statement.*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529774#M1070613</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;   This is Anil . I have problem regarding Commit work and Wait up to 2 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Commit work on one Update table statement but it is not working . While doing debugging it is working&lt;/P&gt;&lt;P&gt;(means it is updating Table.) but while running the transaction directly it is not updating the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the statements : &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;Some Select stmt on &amp;lt;table&amp;gt;.&lt;/P&gt;&lt;P&gt;IF &amp;lt;condition.&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Update  &amp;lt;table &amp;gt; statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;    Commit work . ( This is not working while running transaction mean it is not updating table. While debuggint it it updating table.)&lt;/P&gt;&lt;P&gt;     wait up to 2 seconds.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will that above Commit work causing any problem or  what is the reason it is not updating table.&lt;/P&gt;&lt;P&gt;Please give some suggestion in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anilreddy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:41:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529774#M1070613</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T05:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: * Commit work on table  using UPDATE statement.*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529775#M1070614</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;the below code with commit work is working finr for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;only thing i suggest is to check sy-subrc value.&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;update spfli set test = '1234' where carrid = 'AA'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if sy-subrc eq 0.&lt;/P&gt;&lt;P&gt;commit work.&lt;/P&gt;&lt;P&gt;wait up to 2 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;write: / sy-subrc.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529775#M1070614</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T05:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: * Commit work on table  using UPDATE statement.*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529776#M1070615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why dont you try with one more second?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wait upto 3 seconds. i have seen two or three programs in my system which waits for 3 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Might be based on the system's efficiency.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529776#M1070615</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T05:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: * Commit work on table  using UPDATE statement.*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529777#M1070616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Jyothi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Thank you for your inputs . But my doubt is why it is not updating the table even if you use commit work, and wait up to 2 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 05:59:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529777#M1070616</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T05:59:13Z</dc:date>
    </item>
    <item>
      <title>Re: * Commit work on table  using UPDATE statement.*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529778#M1070617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anil, &lt;/P&gt;&lt;P&gt;Use the statement commit work and wait. This will solve your issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Farzan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 13:57:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529778#M1070617</guid>
      <dc:creator>former_member137336</dc:creator>
      <dc:date>2008-09-23T13:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: * Commit work on table  using UPDATE statement.*</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529779#M1070618</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;Is this code is any user exit?  or any update task, which may be failing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If this is just an independent program, just use commit work. Should work . . . without wait also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 14:50:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/commit-work-on-table-using-update-statement/m-p/4529779#M1070618</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T14:50:16Z</dc:date>
    </item>
  </channel>
</rss>

