<?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 Persistent objects : a good idea? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720825#M631231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking into the &amp;lt;a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm"&amp;gt;Persistent objects&amp;lt;/a&amp;gt; in ABAP and was wondering if anyone has used this in a production environment.&lt;/P&gt;&lt;P&gt;How is the performance?&lt;/P&gt;&lt;P&gt;How do you implement it for a more complex relational database structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows where I can find more information, I would be glad to hear it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Dries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Aug 2007 13:17:57 GMT</pubDate>
    <dc:creator>dhorions</dc:creator>
    <dc:date>2007-08-27T13:17:57Z</dc:date>
    <item>
      <title>Persistent objects : a good idea?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720825#M631231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was looking into the &amp;lt;a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/ab/9d0a3ad259cd58e10000000a11402f/frameset.htm"&amp;gt;Persistent objects&amp;lt;/a&amp;gt; in ABAP and was wondering if anyone has used this in a production environment.&lt;/P&gt;&lt;P&gt;How is the performance?&lt;/P&gt;&lt;P&gt;How do you implement it for a more complex relational database structure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If anyone knows where I can find more information, I would be glad to hear it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Dries&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 13:17:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720825#M631231</guid>
      <dc:creator>dhorions</dc:creator>
      <dc:date>2007-08-27T13:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent objects : a good idea?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720826#M631232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Look at these links:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd650822#q-20"&amp;gt;Object Services Example&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f2dac69e-0e01-0010-e2b6-81c1e8e5ce50"&amp;gt;Best Practices&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c1be1003-0701-0010-3795-f87160de6483"&amp;gt;NetWeaver Developer&amp;#146;s Guide&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;You can look for Share Memory Enable:&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://wiki.sdn.sap.com/wiki/display/ABAP/ABAP&lt;EM&gt;Objects&lt;/EM&gt;Share&lt;EM&gt;Memory&lt;/EM&gt;Enable+%28SHMA%29"&amp;gt;Share Memory Enable&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/04/storing&lt;EM&gt;and&lt;/EM&gt;accessing&lt;EM&gt;the&lt;/EM&gt;internal&lt;EM&gt;table&lt;/EM&gt;values&lt;EM&gt;in&lt;/EM&gt;Shared&lt;EM&gt;Memory&lt;/EM&gt;Area.&amp;amp;"&amp;gt;Shared Memory Area - Wiki Example&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c5/85634e53d422409f0975aa9a551297/frameset.htm"&amp;gt;SHMA Help&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;Don't forget to close this Thread and reward points when your question be answered.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Aug 2007 15:29:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720826#M631232</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2007-08-27T15:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent objects : a good idea?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720827#M631233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you have to be VERY careful in moving on this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see the point of some  persistence for example  say you have a sales order class  you could usefully use this without having to "re-calculate" all the attributes etc every time you "re-instantiate" the object (sales order).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However as SAP persistent objects don't have any locking mechanisms (yet)  and data base updates need to be "committed" there seems to me a lot of scope here for creating "duplicate"or redundant data which is certainly NOT what you want to have in a productive system. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In any case if you store the same data in more than one place you are likely to get corrupt / missing / inconsistent data so with current SAP methodology this could be a real pronblem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is certainly some merit in the idea of encapsulating the data ("attributes")  within an instance of a class and storing it somewhere but this needs to be implemented VERY CAREFULLY. Bare in mind also that depending on the complexity of the class and the number of instances you want to save your data storage requirements will dramatically increase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAP was essentially designed on a "Relational Data base" system where everything was mainatined in sets of linked tables - For example you'd have the sales order base data in a sales order table (VBAK/VBAP etc).  Business partners would be pointed to by a field in VBAK and stored in another set of tables.&lt;/P&gt;&lt;P&gt;Similarly deliveries and schedule lines for the order would be held in yet another set of tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now a real sales order class would contain ALL this information in a single object. However trying to encapsulate all this data into instances of the sales order and maintain consistency with Standard SAP so that "Normal transactions" such as VA01 - create sales order  would still work properly would IMO be well nigh impossible without maintaining 2 distinct sets of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The entire SAP system would essentially have to be re-designed to really provide for useful persistent classes -in theory an excellent idea but we are some ways off this yet. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the answer to your question I'm afraid is a vague&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes   - possibly&lt;/P&gt;&lt;P&gt;No    - possibly&lt;/P&gt;&lt;P&gt;Maybe - possibly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jimbo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Aug 2007 08:12:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720827#M631233</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-28T08:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent objects : a good idea?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720828#M631234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess i'll wait untill this is more mature.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2008 13:26:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-objects-a-good-idea/m-p/2720828#M631234</guid>
      <dc:creator>dhorions</dc:creator>
      <dc:date>2008-03-11T13:26:40Z</dc:date>
    </item>
  </channel>
</rss>

