<?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: Table entry becomes null when field name is updated using database utility in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767999#M37916</link>
    <description>&lt;UL&gt;&lt;LI&gt; @joby chacko i.e. your data is now lost forever. &lt;/LI&gt;&lt;LI&gt;So to rename a column emp_address to emp_address1, you should:&lt;/LI&gt;&lt;LI&gt;1) add a new column emp_address1 and keep the old one (emp_address)&lt;/LI&gt;&lt;LI&gt;2) activate the table&lt;/LI&gt;&lt;LI&gt;3) Via any SQL editor, do : "update ZYOURTABLE set emp_address1 = emp_address"&lt;/LI&gt;&lt;LI&gt;4) delete the column emp_address&lt;/LI&gt;&lt;LI&gt;5) activate the table via the database utility.&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Sun, 06 Jan 2019 12:30:22 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2019-01-06T12:30:22Z</dc:date>
    <item>
      <title>Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767994#M37911</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
  &lt;P&gt;I created a table in se11. I added entries to the table but after some time i changed a field name. So to activate the table i go to database utility and activate it with option persist data.&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/258569-capture.png" /&gt;&lt;/P&gt;
  &lt;P&gt;But strangely the data in the field becomes null after the change.&lt;/P&gt;
  &lt;P&gt;The table fields are provided in below screenshot&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/258567-capture.png" /&gt;&lt;/P&gt;
  &lt;P&gt;I make the changes to the field &lt;STRONG&gt;emp_address to EMP_ADDRESS1. The new output from se16 is below.&lt;/STRONG&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/258568-capture.png" /&gt;&lt;/P&gt;
  &lt;P&gt;Can anyone tell why this is happening? &lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 15:39:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767994#M37911</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-04T15:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767995#M37912</link>
      <description>&lt;P&gt;Strange ?  No I don't think so.  You removed EMP_ADDRESS and added EMP_ADDRESS1.  The DB Utility recognises fields by name when saving data,  not by position so since EMP_ADDRESS1 is not the same as EMP_ADDRESS your data was not preserved.&lt;/P&gt;&lt;P&gt;Rich&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 16:16:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767995#M37912</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-04T16:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767996#M37913</link>
      <description>&lt;P&gt;thanks Richard.&lt;/P&gt;&lt;P&gt;So it is an expected behaviour.&lt;/P&gt;&lt;P&gt; Is there a way to keep the data as it is and change the column name? &lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 05:25:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767996#M37913</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-06T05:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767997#M37914</link>
      <description>&lt;P&gt;Richard gives you the correct answer ==&amp;gt; you should have choose his answer as the best answer&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 12:13:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767997#M37914</guid>
      <dc:creator>chaouki_akir</dc:creator>
      <dc:date>2019-01-06T12:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767998#M37915</link>
      <description>&lt;P&gt;I second Chaouki Akir !&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 12:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767998#M37915</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-06T12:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767999#M37916</link>
      <description>&lt;UL&gt;&lt;LI&gt; @joby chacko i.e. your data is now lost forever. &lt;/LI&gt;&lt;LI&gt;So to rename a column emp_address to emp_address1, you should:&lt;/LI&gt;&lt;LI&gt;1) add a new column emp_address1 and keep the old one (emp_address)&lt;/LI&gt;&lt;LI&gt;2) activate the table&lt;/LI&gt;&lt;LI&gt;3) Via any SQL editor, do : "update ZYOURTABLE set emp_address1 = emp_address"&lt;/LI&gt;&lt;LI&gt;4) delete the column emp_address&lt;/LI&gt;&lt;LI&gt;5) activate the table via the database utility.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Sun, 06 Jan 2019 12:30:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/767999#M37916</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2019-01-06T12:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Table entry becomes null when field name is updated using database utility</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/768000#M37917</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; Thank you. I understood it now.&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jan 2019 15:58:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/table-entry-becomes-null-when-field-name-is-updated-using-database-utility/m-p/768000#M37917</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-01-06T15:58:19Z</dc:date>
    </item>
  </channel>
</rss>

