<?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: UPDATE statement not working , please help in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940516#M1487227</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;Are you sure that you have a record in Ztable as per WHERE condition? What is the SY-SUBRC after update? If zero, add &lt;STRONG&gt;COMMIT WORK&lt;/STRONG&gt; statement after update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 May 2010 20:07:05 GMT</pubDate>
    <dc:creator>vinod_vemuru2</dc:creator>
    <dc:date>2010-05-11T20:07:05Z</dc:date>
    <item>
      <title>UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940512#M1487223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please see the below code and its not working. please help if thers is any bug.&lt;/P&gt;&lt;P&gt;   UPDATE table &lt;/P&gt;&lt;P&gt;          SET field1 = 'X'&lt;/P&gt;&lt;P&gt;          WHERE condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 19:37:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940512#M1487223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T19:37:34Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940513#M1487224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would help to know the condition and table used.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 19:39:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940513#M1487224</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T19:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940514#M1487225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alright, here is the complete code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT &lt;STRONG&gt;itab&lt;/STRONG&gt; INTO &lt;STRONG&gt;work_area&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;   UPDATE &lt;STRONG&gt;Ztable&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;   SET field1 = 'X'&lt;/P&gt;&lt;P&gt;   WHERE field2 = &lt;STRONG&gt;work_area&lt;/STRONG&gt;-field2.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank guys,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: SAPBW2010 on May 11, 2010 10:01 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:00:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940514#M1487225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T20:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940515#M1487226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I must use the UPDATE statement inside LOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940515#M1487226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T20:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940516#M1487227</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;Are you sure that you have a record in Ztable as per WHERE condition? What is the SY-SUBRC after update? If zero, add &lt;STRONG&gt;COMMIT WORK&lt;/STRONG&gt; statement after update.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940516#M1487227</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-05-11T20:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940517#M1487228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;added COMMIT WORK but its not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes we have matching records.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940517#M1487228</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T20:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940518#M1487229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you really want help, don't say things like "it's not working". This gives no information. You have to say what is not working. Are you getting a dump? A return code? No changes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And you haven't given you real source code. You also have to look at the WHERE to see if there really are any matches. Conversion exits may be confusing the issue as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please do some analysis and let the forum know what the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:29:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940518#M1487229</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T20:29:22Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940519#M1487230</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;There may be a possibility of having conversion exit for that field. If yes, you can convert and then use in update statement. &lt;/P&gt;&lt;P&gt;Check if the where clause field is case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For testing purpose, can you write a select query on that table with the same WHERE condition just before the update statement and see if you have the data. I am sure that your select should also fail.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, you didn't tell the sy-subrc value after the update statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940519#M1487230</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-05-11T20:30:00Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940520#M1487231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-SUBRC = 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 20:30:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940520#M1487231</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-11T20:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940521#M1487232</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;If sy-subrc is zero and commit work is used, i can't see any possibility of failure. Check with your basis team if the update work processes are fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 May 2010 21:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940521#M1487232</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2010-05-11T21:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: UPDATE statement not working , please help</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940522#M1487233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all guys, there was some problem in code, now its fixed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good  luck yuo all,&lt;/P&gt;&lt;P&gt;Angelo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 May 2010 18:40:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-statement-not-working-please-help/m-p/6940522#M1487233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-14T18:40:46Z</dc:date>
    </item>
  </channel>
</rss>

