<?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: what is wrong with this UPDATE code... in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872458#M673967</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;pls check whether values are passed in ls_add_spec-mkoar, ls_add_spec-vkont, ls_add_spec-bkont and uv_bukrs&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;because if these are blank then all rows in table will be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update table set fld1 = wa-fld1 where fld2 = wa-fld2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Sep 2007 09:42:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-09-24T09:42:39Z</dc:date>
    <item>
      <title>what is wrong with this UPDATE code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872455#M673964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is wrong in this code..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is updating all the records of the table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE t001b CLIENT SPECIFIED&lt;/P&gt;&lt;P&gt;                     SET : frpe1 = uv_pperiod,&lt;/P&gt;&lt;P&gt;                           frye1 = uv_pyear,&lt;/P&gt;&lt;P&gt;                           tope1 = uv_npperiod,&lt;/P&gt;&lt;P&gt;                           toye1 = uv_npyear&lt;/P&gt;&lt;P&gt;                   WHERE   mandt = sy-mandt&lt;/P&gt;&lt;P&gt;                     AND   rrcty = '0'&lt;/P&gt;&lt;P&gt;                     AND   bukrs = uv_bukrs&lt;/P&gt;&lt;P&gt;                     AND   mkoar = ls_add_spec-mkoar&lt;/P&gt;&lt;P&gt;                     AND   vkont = ls_add_spec-vkont&lt;/P&gt;&lt;P&gt;                     AND   bkont = ls_add_spec-bkont.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title was edited by: &lt;/P&gt;&lt;P&gt;        Alvaro Tejada Galindo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:30:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872455#M673964</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T09:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with this UPDATE code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872456#M673965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pl make sure the values in thw WHERE clause are NOT blank/initial.. else your sitaution will occur ie ALL UPDATE..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Arya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:33:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872456#M673965</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T09:33:31Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with this UPDATE code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872457#M673966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can you please check the values before executing the UPDATE satatment, please check the valuesin the where condition, only those values will be updated ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt; Sudheer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:36:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872457#M673966</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T09:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with this UPDATE code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872458#M673967</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;pls check whether values are passed in ls_add_spec-mkoar, ls_add_spec-vkont, ls_add_spec-bkont and uv_bukrs&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;because if these are blank then all rows in table will be updated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;syntax is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;update table set fld1 = wa-fld1 where fld2 = wa-fld2.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:42:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872458#M673967</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-09-24T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: what is wrong with this UPDATE code...</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872459#M673968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what error u r getting?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 09:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/what-is-wrong-with-this-update-code/m-p/2872459#M673968</guid>
      <dc:creator>hymavathi_oruganti</dc:creator>
      <dc:date>2007-09-24T09:42:47Z</dc:date>
    </item>
  </channel>
</rss>

