<?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 update data element in persistent class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456821#M1742073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a DDIC-table, of which I generated a persistent class.&lt;/P&gt;&lt;P&gt;Now I have to change a data type/ data element of a table field. If I go to the persistent class, the data type is still the "old" one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to update the attributes of the class on the basis of the renewed table - or I have to delete this attribute out of the class and add it again afterward!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 09:16:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-05-23T09:16:31Z</dc:date>
    <item>
      <title>update data element in persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456821#M1742073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have a DDIC-table, of which I generated a persistent class.&lt;/P&gt;&lt;P&gt;Now I have to change a data type/ data element of a table field. If I go to the persistent class, the data type is still the "old" one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to update the attributes of the class on the basis of the renewed table - or I have to delete this attribute out of the class and add it again afterward!?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andreas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 09:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456821#M1742073</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-23T09:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: update data element in persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456822#M1742074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you try regenerating/re-activating the class after the change?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;~Athreya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 12:12:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456822#M1742074</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-23T12:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: update data element in persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456823#M1742075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I tried reactivating. And a function like "regeneration" I couldn't find in the persistence peresentation mode..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 09:33:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456823#M1742075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T09:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: update data element in persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456824#M1742076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andreas,&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;or I have to delete this attribute out of the class and add it again afterward!?&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You just need to delete the field from the OR (persistence mapping) and then add the field back. This should do it for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/221752" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;And a function like "regeneration" I couldn't find in the persistence peresentation mode&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;There is no such option for the OR mapping. You have to do it manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 10:32:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456824#M1742076</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2013-05-24T10:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: update data element in persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456825#M1742077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, thanks. I did it like this..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 May 2013 12:05:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/update-data-element-in-persistent-class/m-p/9456825#M1742077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-05-24T12:05:00Z</dc:date>
    </item>
  </channel>
</rss>

