<?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: ABAP Memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429843#M1997837</link>
    <description>&lt;P&gt;done, thx &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Sep 2021 16:33:32 GMT</pubDate>
    <dc:creator>andrzej_97</dc:creator>
    <dc:date>2021-09-23T16:33:32Z</dc:date>
    <item>
      <title>ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429839#M1997833</link>
      <description>&lt;P&gt;Hi guys, &lt;/P&gt;
  &lt;P&gt;I wrote some sample code to understand ABAP memory mechanism&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;DATA: lv_is_true TYPE BOOLEAN VALUE ABAP_TRUE, 
lv_test TYPE BOOLEAN VALUE ABAP_FALSE.

EXPORT lv_is_update = lv_is_true TO MEMORY ID 'SOMETHING'.

IMPORT lv_is_update TO lv_test FROM MEMORY ID 'SOMETHING'.

write lv_test.

DELETE FROM MEMORY ID 'SOMETHING'.&lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Is there any standard table where can I find this record with id 'SOMETHING'. How long this id will be accessible and what is the scope of accessibility?&lt;/P&gt;
  &lt;P&gt;Kind regards,&lt;/P&gt;
  &lt;P&gt;Andrzej&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 13:51:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429839#M1997833</guid>
      <dc:creator>andrzej_97</dc:creator>
      <dc:date>2021-09-23T13:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429840#M1997834</link>
      <description>&lt;P&gt;There's no "standard table" for memory IDs. You can choose the names you want.&lt;/P&gt;&lt;P&gt;ABAP memory is valid while the ABAP session runs.&lt;/P&gt;&lt;P&gt;See diagram how memory is organized in ABAP documentation: &lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenmemory_organization.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenmemory_organization.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 14:16:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429840#M1997834</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-09-23T14:16:27Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429841#M1997835</link>
      <description>&lt;P&gt;Please in future use the code button in the site editor to nicely format your abap. &lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 15:25:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429841#M1997835</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-09-23T15:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429842#M1997836</link>
      <description>&lt;P&gt;You can view the memory ids in the debugger. I forget exactly how.&lt;/P&gt;&lt;P&gt;Or write a test like this:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA is_true TYPE abap_bool VALUE abap_true.
DATA test TYPE abap_bool VALUE abap_false.
EXPORT is_update = is_true TO MEMORY ID 'SOMETHING'.
IMPORT is_update TO test FROM MEMORY ID 'SOMETHING'.
ASSERT test EQ is_true.
DELETE FROM MEMORY ID 'SOMETHING'.
CLEAR test.
IMPORT is_update TO test FROM MEMORY ID 'SOMETHING'.
ASSERT test IS INITIAL.

&lt;BR /&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 23 Sep 2021 15:25:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429842#M1997836</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-09-23T15:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429843#M1997837</link>
      <description>&lt;P&gt;done, thx &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 16:33:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429843#M1997837</guid>
      <dc:creator>andrzej_97</dc:creator>
      <dc:date>2021-09-23T16:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429844#M1997838</link>
      <description>&lt;P&gt;In the 6.40 backend ABAP debugger &amp;gt; Switch or new tool &amp;gt; Special tools &amp;gt; System areas &amp;gt; Memories (also possible in the very first ABAP debugger, but not in the Eclipse ADT ABAP debugger)&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 16:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429844#M1997838</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-09-23T16:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429845#M1997839</link>
      <description>&lt;P&gt;With pics&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1978504-annotation-2021-09-24-074024.png" /&gt;&lt;/P&gt;&lt;P&gt;Add a new tool&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1978505-annotation-2021-09-24-074749.png" /&gt;&lt;/P&gt;&lt;P&gt;Choose MEMORIES&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 05:49:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429845#M1997839</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-09-24T05:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429846#M1997840</link>
      <description>&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/1978506-annotation-2021-09-24-074808.png" /&gt;&lt;/P&gt;&lt;P&gt;And you see your memory ID (Use the Arrow Up &amp;amp; Down)&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 05:49:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429846#M1997840</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2021-09-24T05:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429847#M1997841</link>
      <description>&lt;P&gt;The statement EXPORT "zips" ABAP data to data clusters in an SAP internal format and stores the clusters in different storage media, that are listed here: &lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapexport_data_cluster_medium.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abapexport_data_cluster_medium.htm&lt;/A&gt; &lt;/P&gt;&lt;P&gt;The storage media can be program fields (BUFFER, INTERNAL TABLE), memory areas (MEMORY, SHARED MEMORY, SHARED BUFFER) and database tables (DATABASE).&lt;/P&gt;&lt;P&gt;The data clusters are identified by keys ID - and area (ar) for some of them.&lt;/P&gt;&lt;P&gt;Of course, you don't find you cluster in the database, if you store it in the ABAP Memory (https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenabap_memory_glosry.htm).&lt;/P&gt;&lt;P&gt;To inspect the clusters in the memory,  you might use the ABAP Debugger (as already was pointed out).&lt;/P&gt;&lt;P&gt;Only if you export to the database, you can lookup the database table specified in the EXPORT statement and find the ID in the third column (that can have any name).&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenexport_data_cluster_indx.htm" target="test_blank"&gt;https://help.sap.com/doc/abapdocu_latest_index_htm/latest/en-US/index.htm?file=abenexport_data_cluster_indx.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Horst&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 06:19:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429847#M1997841</guid>
      <dc:creator>retired_member</dc:creator>
      <dc:date>2021-09-24T06:19:08Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP Memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429848#M1997842</link>
      <description>&lt;P&gt;I like the way it's still called "new", 20+ years later...&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:59:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-memory/m-p/12429848#M1997842</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2021-09-24T07:59:57Z</dc:date>
    </item>
  </channel>
</rss>

