<?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 classs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545536#M853029</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Can any one explain about persistent class.&lt;/P&gt;&lt;P&gt;I want definition .&lt;/P&gt;&lt;P&gt;And functionality&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;There is a nice explanation here:&lt;/P&gt;&lt;P&gt;[Concepts Used in Persistence|http://help.sap.com/saphelp_nw04s/helpdata/en/f5/a3682ebc6911d4b2e80050dadfb92b/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply put, Persistent Objects are objects which don't disappear after a program ends. Technically, &lt;STRONG&gt;Persistent Object is connected to a Transparent Table&lt;/STRONG&gt; and all its data (attributes) are saved there and can be loaded later on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try SE80 and create a Persistent Object for yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Sep 2010 15:05:25 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-17T15:05:25Z</dc:date>
    <item>
      <title>Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545531#M853024</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;Could anyone send a snippet with a "how-to-use" example of the method IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_OID??&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;Rafael Menezes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 17:50:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545531#M853024</guid>
      <dc:creator>rafael_menezes</dc:creator>
      <dc:date>2008-03-17T17:50:05Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545532#M853025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;there are lots of blogs and other help on this. Just do a search in SDN for them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like this blog from Thomas. /people/thomas.jung3/blog/2004/12/08/abap-persistent-classes-coding-without-sql &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;Graham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 20:53:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545532#M853025</guid>
      <dc:creator>GrahamRobbo</dc:creator>
      <dc:date>2008-03-17T20:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545533#M853026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Graham. Thanks for your help. But this is the way I know how to use persistent class. I'd like to see an example using Instance-GUID like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Mapping by Instance-GUID and Business Key|http://help.sap.com/saphelp_nw04s/helpdata/en/b1/82309cd26611d4b2e90050dadfb92b/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've browsed tons of documents here in SDN and couldn't find any with a practical example.&lt;/P&gt;&lt;P&gt;I mean, like SAP Help, they mention the Instance-GUID way, but don't show an example.&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;Rafael Menezes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Mar 2008 21:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545533#M853026</guid>
      <dc:creator>rafael_menezes</dc:creator>
      <dc:date>2008-03-17T21:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545534#M853027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rafael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The interface method GET_PERSISTENT_BY_OID might not be having any implementations in the versioning of SAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Better check some function modules &lt;STRONG&gt;GET&lt;/STRONG&gt;GUID* and write your own implementation with help of these findings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are number of functions for &lt;STRONG&gt;GET&lt;/STRONG&gt;GUID*.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you find outthe function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Mar 2008 12:44:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545534#M853027</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-03-18T12:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545535#M853028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can any one explain about persistent class.&lt;/P&gt;&lt;P&gt;I want definition .&lt;/P&gt;&lt;P&gt;And functionality&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2008 07:30:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545535#M853028</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-23T07:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545536#M853029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Can any one explain about persistent class.&lt;/P&gt;&lt;P&gt;I want definition .&lt;/P&gt;&lt;P&gt;And functionality&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;There is a nice explanation here:&lt;/P&gt;&lt;P&gt;[Concepts Used in Persistence|http://help.sap.com/saphelp_nw04s/helpdata/en/f5/a3682ebc6911d4b2e80050dadfb92b/frameset.htm]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simply put, Persistent Objects are objects which don't disappear after a program ends. Technically, &lt;STRONG&gt;Persistent Object is connected to a Transparent Table&lt;/STRONG&gt; and all its data (attributes) are saved there and can be loaded later on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try SE80 and create a Persistent Object for yourself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 15:05:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545536#M853029</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T15:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Persistent classs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545537#M853030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Hello Graham. Thanks for your help. But this is the way I know how to use persistent class. I'd like to see an example using Instance-GUID like in&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mapping by Instance-GUID and Business Key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've browsed tons of documents here in SDN and couldn't find any with a practical example.&lt;/P&gt;&lt;P&gt;I mean, like SAP Help, they mention the Instance-GUID way, but don't show an example.&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;Rafael Menezes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I know it's quite a time, but it might help someone else. I am just looking into this technique but I think it's like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, if you want to use OID, you have to create a field in a Transparent Table which is of a type OS_GUID. You can see this guide for details: [Mapping by Instance-GUID|http://help.sap.com/saphelp_nw04s/helpdata/en/b1/82309fd26611d4b2e90050dadfb92b/frameset.htm] &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you have probably read that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, you will see, that the method IF_OS_CA_PERSISTENCY~GET_PERSISTENT_BY_OID gets automatically implemented. And by calling this method, you can get your Persistent Object after supplying this method with an OID parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of use:&lt;/P&gt;&lt;P&gt;I would use it for example when I would want to remember data currently being edited by a certain user and display the same conent next time the user runs a transaction. To achieve this I would create a table with a user name as a key field and OID as a second field. And this way I would remember Persistent Object's OID for each user .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Sep 2010 15:20:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/persistent-classs/m-p/3545537#M853030</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-17T15:20:34Z</dc:date>
    </item>
  </channel>
</rss>

