<?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: Shared Objects: How to store and read multiple instances in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-objects-how-to-store-and-read-multiple-instances/m-p/9673904#M1766473</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling attach_for_write you can pass "inst_name" parameter this will create a unique instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When reading again you can give the same "inst_name".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Aug 2013 12:34:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-08-23T12:34:17Z</dc:date>
    <item>
      <title>Shared Objects: How to store and read multiple instances</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-objects-how-to-store-and-read-multiple-instances/m-p/9673903#M1766472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Can we store multiple instances of Shared Objects in memory and read the desired instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;e.g&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;If i execute the below program twice then also it will create only a single instance in the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Can we create a memory object with a key and then read the instance with the object with key&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;data: handle type ref to ZCL_SHM_AREA_XX,&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; root&amp;nbsp;&amp;nbsp; type ref to ZCL_SHM_AREA_ROOT_XX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;handle = ZCL_SHM_AREA_XX=&amp;gt;attach_for_write( ).&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;create object root AREA HANDLE handle.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;handle-&amp;gt;set_root( root ).&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;handle-&amp;gt;detach_commit( ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 08:40:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-objects-how-to-store-and-read-multiple-instances/m-p/9673903#M1766472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-23T08:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Objects: How to store and read multiple instances</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-objects-how-to-store-and-read-multiple-instances/m-p/9673904#M1766473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Patrick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When calling attach_for_write you can pass "inst_name" parameter this will create a unique instance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When reading again you can give the same "inst_name".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Aug 2013 12:34:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-objects-how-to-store-and-read-multiple-instances/m-p/9673904#M1766473</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-08-23T12:34:17Z</dc:date>
    </item>
  </channel>
</rss>

