<?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 vs Internal Table in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-vs-internal-table/m-p/9837450#M1784841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am a BW developer with some ABAP skills. One of my ABAP collegues mentined something about 'shared memory' and I understand that shared memory can be accessed across sessions and that it is stored in the application layer thereby making access times smaller.&lt;/P&gt;&lt;P&gt;I got a few questions though,&lt;/P&gt;&lt;P&gt;- Where is an internal table stored? I think it is also in the application layer. Am i right/wrong?&lt;/P&gt;&lt;P&gt;- Does a READ on an shared memory area have any advantage over READing an internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read a few documents and even tried a sample program, but I am not sure how to measure the difference between the two methods. SE30 looks different in my system and the help documents and I do not know what to read from all the numbers&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote jiveImage" height="1" src="https://community.sap.com/1904/images/emoticons/confused.gif" width="1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 14:34:40 GMT</pubDate>
    <dc:creator>BenedictV</dc:creator>
    <dc:date>2013-10-25T14:34:40Z</dc:date>
    <item>
      <title>Shared Memory vs Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-vs-internal-table/m-p/9837450#M1784841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am a BW developer with some ABAP skills. One of my ABAP collegues mentined something about 'shared memory' and I understand that shared memory can be accessed across sessions and that it is stored in the application layer thereby making access times smaller.&lt;/P&gt;&lt;P&gt;I got a few questions though,&lt;/P&gt;&lt;P&gt;- Where is an internal table stored? I think it is also in the application layer. Am i right/wrong?&lt;/P&gt;&lt;P&gt;- Does a READ on an shared memory area have any advantage over READing an internal table?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I read a few documents and even tried a sample program, but I am not sure how to measure the difference between the two methods. SE30 looks different in my system and the help documents and I do not know what to read from all the numbers&lt;SPAN __jive_emoticon_name="confused" __jive_macro_name="emoticon" class="jive_macro jive_macro_emoticon jive_emote jiveImage" height="1" src="https://community.sap.com/1904/images/emoticons/confused.gif" width="1"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Benedict&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 14:34:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-vs-internal-table/m-p/9837450#M1784841</guid>
      <dc:creator>BenedictV</dc:creator>
      <dc:date>2013-10-25T14:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Shared Memory vs Internal Table</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-vs-internal-table/m-p/9837451#M1784842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Benedict,&lt;/P&gt;&lt;P&gt;Internal table is also stored in application layer&amp;nbsp; and available only with in session and with that user only. But Shared Memory (Objects) is available across sessions, users and even application servers. So if you want same data or even some business logic across the users,sessions then you should use use Shared memory.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If you want use data in single session for single user then internal table give better &lt;/SPAN&gt;performance&lt;SPAN style="font-size: 10pt;"&gt;,but want to use across sessions and users shared memory will gives gives better performance because we read data from data base and make available to other sessions and users.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;To feel difference create program and note down time taken to select the data &amp;lt;select * from Dtab&amp;gt;. Let it is x. If we use 10 different user doing same so total time taken will be 10. But if we use shared memory ,read first user data from data base so it takes x, remaining&amp;nbsp; 9 user read data from shared memory let find out time taken is y. Then compare 10x with x+9y .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more details go through &lt;A href="http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307d791b-3343-2e10-f78a-e1d50c7cf89a?overridelayout=true"&gt;http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/307d791b-3343-2e10-f78a-e1d50c7cf89a?overridelayout=true&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Sreenivas.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Oct 2013 20:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/shared-memory-vs-internal-table/m-p/9837451#M1784842</guid>
      <dc:creator>former_member219762</dc:creator>
      <dc:date>2013-10-27T20:42:03Z</dc:date>
    </item>
  </channel>
</rss>

