<?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/Modify not working in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507112#M843488</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;key field means unique record.&lt;/P&gt;&lt;P&gt;if u try to change a key field it will add a new entry.&lt;/P&gt;&lt;P&gt;to an existing entry with a key combination u can change only the non-key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else u need to delete the record combination and add the new combination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Mar 2008 13:20:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-03-05T13:20:41Z</dc:date>
    <item>
      <title>Update/Modify not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507110#M843486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;i have ztable &lt;/P&gt;&lt;P&gt;mandt key field&lt;/P&gt;&lt;P&gt;ztest1  key field&lt;/P&gt;&lt;P&gt;ztest2  key field&lt;/P&gt;&lt;P&gt;ztest2  non key field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i'm trying to modify any key field, MODIFY keyword is actually adding a new record in the Database. it is because the new combination of key fields is unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i tried using update statement . Update is not working as the combination key is creating a new record which is not present in Db and hence , its not updating.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do we have any workaround on this ??&lt;/P&gt;&lt;P&gt;if i update the key field same field should be updated with other fields intact&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:08:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507110#M843486</guid>
      <dc:creator>former_member5472</dc:creator>
      <dc:date>2008-03-05T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Update/Modify not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507111#M843487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pratyush,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case UPDATE key word works. You must be passing wrong parameters.&lt;/P&gt;&lt;P&gt;Just check your code once again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:10:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507111#M843487</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update/Modify not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507112#M843488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;key field means unique record.&lt;/P&gt;&lt;P&gt;if u try to change a key field it will add a new entry.&lt;/P&gt;&lt;P&gt;to an existing entry with a key combination u can change only the non-key fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;else u need to delete the record combination and add the new combination.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 13:20:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507112#M843488</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T13:20:41Z</dc:date>
    </item>
    <item>
      <title>Re: Update/Modify not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507113#M843489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;correct me if i'm wrong.&lt;/P&gt;&lt;P&gt;Update keyword works for existing records in the DB table? if after changing the record , the comdination of key fields are already present in the DB, then it will update or else it won't update.(sy-subrc = 4).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 14:18:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507113#M843489</guid>
      <dc:creator>former_member5472</dc:creator>
      <dc:date>2008-03-05T14:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Update/Modify not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507114#M843490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. Your understanding is correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Atish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Mar 2008 14:58:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507114#M843490</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-05T14:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Update/Modify not working</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507115#M843491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;thanks for all your replies.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2008 05:02:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-modify-not-working/m-p/3507115#M843491</guid>
      <dc:creator>former_member5472</dc:creator>
      <dc:date>2008-03-06T05:02:03Z</dc:date>
    </item>
  </channel>
</rss>

