<?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 class for a database view; cannot activate in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051771#M1352457</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David, I was thinking the same, it probably just doesn't work with tables joined in a view. Though I was hoping I might have done something wrong creating the persistent class.&lt;/P&gt;&lt;P&gt;So I guess I'll have to write the class to access the view myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Aug 2009 13:07:24 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-27T13:07:24Z</dc:date>
    <item>
      <title>Persistent class for a database view; cannot activate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051769#M1352455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a database view which represents data from multiple ECC tables, joined on several fields.&lt;/P&gt;&lt;P&gt;Now I want to access the data available from that view through a persistent class.&lt;/P&gt;&lt;P&gt;I have mapped all fields as readonly, but it doesn't work. The error I'm getting when I check the mapping is:&lt;/P&gt;&lt;P&gt;"Database operations with view ZMYVIEW are not allowed".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: René van Mil on Aug 24, 2009 2:27 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2009 12:27:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051769#M1352455</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-24T12:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent class for a database view; cannot activate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051770#M1352456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello René,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an assumption:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The persistency framework provides functionality to create, read, update and delete objects (through the agent class). If you have marked all the properties of this object as "read only", this is only relevant when you work with existing object (so they are protected against updates). But the framwork will also create code which inserts or deletes complete records. If the view is read-only (which it is if you used several tables with a join), this cannot work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 12:51:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051770#M1352456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T12:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent class for a database view; cannot activate</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051771#M1352457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;David, I was thinking the same, it probably just doesn't work with tables joined in a view. Though I was hoping I might have done something wrong creating the persistent class.&lt;/P&gt;&lt;P&gt;So I guess I'll have to write the class to access the view myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Aug 2009 13:07:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-class-for-a-database-view-cannot-activate/m-p/6051771#M1352457</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-27T13:07:24Z</dc:date>
    </item>
  </channel>
</rss>

