<?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: store an object into database table without using persistence class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564090#M1754536</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry it took a little long on how to achieve your requirement here it is with code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/876355"&gt;http://scn.sap.com/thread/876355&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thread discusses your exact requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can convert an instance into XML and store it and retrieve it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Jun 2013 12:55:58 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-06-18T12:55:58Z</dc:date>
    <item>
      <title>store an object into database table without using persistence class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564086#M1754532</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;I have a z class with some attributes and methods. I created an object to the class and now I want to store this object into database for future use. I mean, I want to dump the object that is in heap memory to database table as it is. and want to retrieve it whenever required with the help of a GUID or a unique identifier that I insert along with object. I am using a relational database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that I can do it with the help of persistent class but for that I will have to create so many custom tables, views etc., and also map. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;want to hear from experts if there is any other alternative to do the same, just as we store a variety files in db by dumping them into index type tables by using export/import.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Karthik&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 10:40:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564086#M1754532</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-17T10:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: store an object into database table without using persistence class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564087#M1754533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check SHMA shared memory access.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can download the document...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=sdn%20shma&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;ved=0CDMQFjAB&amp;amp;url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Fgo%2Fportal%2Fprtroot%2Fdocs%2Flibrary%2Fuuid%2F307d791b-3343-2e10-f78a-e1d50c7cf89a%3Foverridelayout%3Dtrue&amp;amp;ei=BAC_UfH-KsKXrAe5yIGQAg&amp;amp;usg=AFQjCNG175IEjw_n5aOOryp8MJyc2FGY2g&amp;amp;bvm=bv.47883778,d.bmk"&gt;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=sdn%20shma&amp;amp;source=web&amp;amp;cd=2&amp;amp;cad=rja&amp;amp;ved=0CDMQFjAB&amp;amp;url=http%3A%2F%2Fwww.sdn.sap.com%2Firj%2Fscn%2Fgo%2Fportal%2Fprtroot%2Fdocs%2Flibrary%2Fuuid%2F307d791b-3343-2e10-f78a-e1d50c7cf89a%3Foverridelayout%3Dtrue&amp;amp;ei=BAC_UfH-KsKXrAe5yIGQAg&amp;amp;usg=AFQjCNG175IEjw_n5aOOryp8MJyc2FGY2g&amp;amp;bvm=bv.47883778,d.bmk&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 12:25:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564087#M1754533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-17T12:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: store an object into database table without using persistence class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564088#M1754534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yakub,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. using this shared memory concept, The shared memory object now “lives” in SAP memory, and will remain there until the SAP instance goes down. But my objective is to store the object persistently. even when the server is restarted etc..,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In java, we can convert an object to bytearray using serialization and insert that byte array into database table. Using de-serialization, we can reconstruct the object. I want to know if we have any such feasibility in SAP to do the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks &amp;amp; Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 17:16:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564088#M1754534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-17T17:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: store an object into database table without using persistence class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564089#M1754535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; All good aspects of java are including in sap .I hope this will help you&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSFORMATION.htm" title="http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSFORMATION.htm"&gt;http://help.sap.com/abapdocu_70/en/ABAPCALL_TRANSFORMATION.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="active_link" href="https://answers.sap.com/people/patrick.baer/blog/2005/02/24/abap-serialization--part-i-quick-n-easy" title="http://scn.sap.com/people/patrick.baer/blog/2005/02/24/abap-serialization--part-i-quick-n-easy"&gt;http://scn.sap.com/people/patrick.baer/blog/2005/02/24/abap-serialization--part-i-quick-n-easy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenivas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Jun 2013 17:34:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564089#M1754535</guid>
      <dc:creator>former_member219762</dc:creator>
      <dc:date>2013-06-17T17:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: store an object into database table without using persistence class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564090#M1754536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry it took a little long on how to achieve your requirement here it is with code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/thread/876355"&gt;http://scn.sap.com/thread/876355&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thread discusses your exact requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can convert an instance into XML and store it and retrieve it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 12:55:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564090#M1754536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T12:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: store an object into database table without using persistence class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564091#M1754537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yakub and Sreenivas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even I thought of doing the same. i.e., to convert object data to xml and then dump it into database. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yes, I got my answer. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Regards,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 17:25:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/store-an-object-into-database-table-without-using-persistence-class/m-p/9564091#M1754537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-06-18T17:25:05Z</dc:date>
    </item>
  </channel>
</rss>

