<?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 Shared Memory changes to table entries possible? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587881#M1757216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a main program I have a 20MB table that I write to a Shared Memory Table to process in 4 batches - each batch processing a quarter of data. Within each batch I keep track of processing error messages. I want to know how I can append the error messages back to a shared memory table once each batch finishes. It should be possible to lock the shared memory area for write until it's done and the other batches can just wait for a second if the Shared Memory Area is locked at the time. However, my biggest problem is that the Shared Memory Tables are cleared when I ATTACH_FOR_WRITE( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I apply changes to Shared Memory Tables without wiping all data contained?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 11:38:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-07-17T11:38:39Z</dc:date>
    <item>
      <title>Shared Memory changes to table entries possible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587881#M1757216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a main program I have a 20MB table that I write to a Shared Memory Table to process in 4 batches - each batch processing a quarter of data. Within each batch I keep track of processing error messages. I want to know how I can append the error messages back to a shared memory table once each batch finishes. It should be possible to lock the shared memory area for write until it's done and the other batches can just wait for a second if the Shared Memory Area is locked at the time. However, my biggest problem is that the Shared Memory Tables are cleared when I ATTACH_FOR_WRITE( ).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I apply changes to Shared Memory Tables without wiping all data contained?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:38:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587881#M1757216</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-17T11:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory changes to table entries possible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587882#M1757217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Found it, use method ATTACH_FOR_UPDATE( )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:54:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587882#M1757217</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-07-17T11:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory changes to table entries possible?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587883#M1757218</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;Have you checked the transaction SHMA. Check the link below. You may get help on the task you want to achieve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://help.sap.com/saphelp_nw70/helpdata/En/c5/85634e53d422409f0975aa9a551297/content.htm" title="http://help.sap.com/saphelp_nw70/helpdata/En/c5/85634e53d422409f0975aa9a551297/content.htm"&gt;http://help.sap.com/saphelp_nw70/helpdata/En/c5/85634e53d422409f0975aa9a551297/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Arindam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 11:58:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-changes-to-table-entries-possible/m-p/9587883#M1757218</guid>
      <dc:creator>arindam_m</dc:creator>
      <dc:date>2013-07-17T11:58:03Z</dc:date>
    </item>
  </channel>
</rss>

