<?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 Problem in DATABASE updation ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459618#M1250940</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;I have a custom table with fields say , F2 , F3 , F4 , F5   where  F2 , F3  are key fields .  Now added one more key field , F1 , in the begining ( Now the  primary key is F1 , F2 , F3 ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this table is having data for all the fields before  F1 additon , Now I want to fill the F1 where ever it is blank with a default one programmatically . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But DATABASE "UPDATE"  statements  is  not working as it is searching for similar key values in DATABASE table , Whcih is not the case because F1 is blank . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT and MODIFY are actually inserting another row , instead of updating the same row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So , Please advise me how to advise on this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance , &lt;/P&gt;&lt;P&gt;Dharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2009 14:42:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-04-24T14:42:59Z</dc:date>
    <item>
      <title>Problem in DATABASE updation ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459618#M1250940</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;I have a custom table with fields say , F2 , F3 , F4 , F5   where  F2 , F3  are key fields .  Now added one more key field , F1 , in the begining ( Now the  primary key is F1 , F2 , F3 ) . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since this table is having data for all the fields before  F1 additon , Now I want to fill the F1 where ever it is blank with a default one programmatically . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But DATABASE "UPDATE"  statements  is  not working as it is searching for similar key values in DATABASE table , Whcih is not the case because F1 is blank . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INSERT and MODIFY are actually inserting another row , instead of updating the same row. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So , Please advise me how to advise on this . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance , &lt;/P&gt;&lt;P&gt;Dharma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 14:42:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459618#M1250940</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T14:42:59Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in DATABASE updation ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459619#M1250941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Insert new records with new value in F1 and delete old records..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 14:50:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459619#M1250941</guid>
      <dc:creator>Pawan_Kesari</dc:creator>
      <dc:date>2009-04-24T14:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in DATABASE updation ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459620#M1250942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;dear dharma,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i'm sorry, but as far as i'm concerned. you have to do an insert with filled f1 and an deleteion of the entry where the f1 field is empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;modify/update won't work, because obviously there is no entry to update. What you want to do, is creating an new entry an delete the old one. so you have to choose these commands.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;robert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 14:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459620#M1250942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T14:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem in DATABASE updation ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459621#M1250943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dharama,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read the table first with old entries ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then update primary with new field by varying the F2,f3 and other fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 14:54:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-database-updation/m-p/5459621#M1250943</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-04-24T14:54:36Z</dc:date>
    </item>
  </channel>
</rss>

