<?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: Persistent Object Catch 22 - Base Class Inconsistency in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-catch-22-base-class-inconsistency/m-p/10683120#M1869206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I no longer have this concern.&amp;nbsp; I just created a new class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Nov 2014 14:40:30 GMT</pubDate>
    <dc:creator>mike_mcinerney</dc:creator>
    <dc:date>2014-11-24T14:40:30Z</dc:date>
    <item>
      <title>Persistent Object Catch 22 - Base Class Inconsistency</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-catch-22-base-class-inconsistency/m-p/10683119#M1869205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a persistent class that sits atop a single Z-Table. (Its long established and has various additional methods for business logic).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recently, I added a currency field to the underlying base table.&amp;nbsp; Then I added the reference field WAERS.&amp;nbsp; I was having some issues, and went back and forth a few times. I regenerated the persistence model a few times as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Somehow, the base class (which I cannot edit) and the ZCL are out of synch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried two approaches:&lt;/P&gt;&lt;P&gt;I removed the fields from the underlying table, and from the persistence mapping.&lt;BR /&gt;When I activate the ZCL class, I get the message &lt;BR /&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;&amp;nbsp; Field RECORDNAME of mapping is inconsistent (header &amp;lt;-&amp;gt; attribute) &lt;/STRONG&gt;&lt;BR /&gt;And sure enough, when I try to use the object, it dumps, saying I have methods in the BASE class for the deleted attributes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other approach was to add the fields back, but when I use the persistence editor to move them up to the mapping, I am told that the WAERS field is a &lt;/P&gt;&lt;P&gt; &lt;STRONG style="color: #0000ff;"&gt;Redefinition of existing mapping: Remove old mapping..&lt;/STRONG&gt;&lt;BR /&gt;(SOS_MAPPING' type 'S' number '136'.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Short of rebuilding the (productive) class, I’m not sure where to go from here…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts…?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 18:47:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-catch-22-base-class-inconsistency/m-p/10683119#M1869205</guid>
      <dc:creator>mike_mcinerney</dc:creator>
      <dc:date>2014-11-13T18:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent Object Catch 22 - Base Class Inconsistency</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-catch-22-base-class-inconsistency/m-p/10683120#M1869206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I no longer have this concern.&amp;nbsp; I just created a new class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 14:40:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-object-catch-22-base-class-inconsistency/m-p/10683120#M1869206</guid>
      <dc:creator>mike_mcinerney</dc:creator>
      <dc:date>2014-11-24T14:40:30Z</dc:date>
    </item>
  </channel>
</rss>

