<?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: Problems in actvating a persistent class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816499#M349518</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Indrajit, for the solution. Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Feb 2007 20:06:16 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-12T20:06:16Z</dc:date>
    <item>
      <title>Problems in actvating a persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816497#M349516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a persistent class. When I am trying to activate it I am getting a&lt;/P&gt;&lt;P&gt;message in status bar that &lt;/P&gt;&lt;P&gt;'There is no mapping defined for one or more fields'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have defiend 4 attributes in the class - then clicked on the PERSISTENCE tab in &lt;/P&gt;&lt;P&gt;in the main toolbar, gave the table name and mapped the table fields to the class attributes. Still I am getting the message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone please suggest why this is happening?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also could anyone please explain to me why do we always need to define the instantiation as "protected" when creating a persistent class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2007 10:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816497#M349516</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-27T10:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in actvating a persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816498#M349517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is solved. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was of the understanding that I can take only few of the table fields and map it to class attributes. So I took only 4 fields of the table SPFLI and mapped it to the corresponding 4 attributes of the persistent class. So I was getting the message that&lt;/P&gt;&lt;P&gt;'There is no mapping defined for one or more fields'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I tried by defining class attributes corresponding to all fields of the table and mapped accordingly all table fields. This time I could activate the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This I believe is a constarint because one may not be really interested in all fields of the database table. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Indrajit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Jan 2007 12:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816498#M349517</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-27T12:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems in actvating a persistent class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816499#M349518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Indrajit, for the solution. Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 20:06:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problems-in-actvating-a-persistent-class/m-p/1816499#M349518</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-12T20:06:16Z</dc:date>
    </item>
  </channel>
</rss>

