<?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: Memory ID in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873413#M931048</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;Use the statement free memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 May 2008 16:54:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-12T16:54:29Z</dc:date>
    <item>
      <title>Memory ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873410#M931045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone tell me how can we clear a Memory ID.&lt;/P&gt;&lt;P&gt;Like if we are doing this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT CHANGE TO MEMORY ID 'CHANGE_ID'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I clear CHANGE_ID??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.Its urgent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sirisha Matta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 16:05:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873410#M931045</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T16:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873411#M931046</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;Use FREE MEMORY ID &amp;lt;Memory_ID&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 16:10:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873411#M931046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T16:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873412#M931047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kangana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we need some record of one program into the another program at runtime, we can use a ztable for store the record and retreive the same by another program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using memory id, there is no need to store the same record in the database, you can import and export the record by using memory id statement as below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXPORT Var1 FROM Var1 TO MEMORY ID 'Var1'.&lt;/P&gt;&lt;P&gt;IMPORT Var1 to Var2 FROM MEMORY ID 'Var1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;memory id stores the parameter to a memory location while transporting a parameter from one program to another. Following are the examples of two program which use memory id to transfer the internal table from one to another. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP memory is cleared(and correspondingly all Memory IDs), when the session is deleted(window is closed), not when the transaction ends. The only exception to this rule when a transaction ends through the use of &lt;/P&gt;&lt;P&gt;LEAVE TO TRANSACTION&lt;/P&gt;&lt;P&gt;which is when the entire external session is flushed and the ABAP Memory is cleared&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;codereport z_82235_test1 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of tab1,&lt;/P&gt;&lt;P&gt;a(1),&lt;/P&gt;&lt;P&gt;b(1),&lt;/P&gt;&lt;P&gt;end of tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of tab2,&lt;/P&gt;&lt;P&gt;c(1),&lt;/P&gt;&lt;P&gt;d(1),&lt;/P&gt;&lt;P&gt;end of tab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab1 type table of tab1,&lt;/P&gt;&lt;P&gt;wa1 like line of itab1,&lt;/P&gt;&lt;P&gt;itab2 type table of tab2,&lt;/P&gt;&lt;P&gt;wa2 like line of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa1-a = '1'.&lt;/P&gt;&lt;P&gt;wa1-b = '2'.&lt;/P&gt;&lt;P&gt;append wa1 to itab1.&lt;/P&gt;&lt;P&gt;clear wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa1-a = '3'.&lt;/P&gt;&lt;P&gt;wa1-b = '4'.&lt;/P&gt;&lt;P&gt;append wa1 to itab1.&lt;/P&gt;&lt;P&gt;clear wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export itab1 to memory id '001'.&lt;/P&gt;&lt;P&gt;export itab2 to memory id '002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;submit z_82235_test2 and return exporting list to memory .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import itab1 from memory id '003'.&lt;/P&gt;&lt;P&gt;import itab2 from memory id '004'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ 'ITAB1'.&lt;/P&gt;&lt;P&gt;loop at itab1 into wa1.&lt;/P&gt;&lt;P&gt;write : / wa1-a, wa1-b.&lt;/P&gt;&lt;P&gt;clear: wa1.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;write:/ 'ITAB2'.&lt;/P&gt;&lt;P&gt;loop at itab2 into wa2.&lt;/P&gt;&lt;P&gt;write : / wa2-c, wa2-d.&lt;/P&gt;&lt;P&gt;clear: wa2.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report z_82235_test2 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of tab1,&lt;/P&gt;&lt;P&gt;a(1),&lt;/P&gt;&lt;P&gt;b(1),&lt;/P&gt;&lt;P&gt;end of tab1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types: begin of tab2,&lt;/P&gt;&lt;P&gt;c(1),&lt;/P&gt;&lt;P&gt;d(1),&lt;/P&gt;&lt;P&gt;end of tab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data: itab1 type table of tab1,&lt;/P&gt;&lt;P&gt;wa1 like line of itab1,&lt;/P&gt;&lt;P&gt;itab2 type table of tab2,&lt;/P&gt;&lt;P&gt;wa2 like line of itab2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import itab1 from memory id '001'.&lt;/P&gt;&lt;P&gt;import itab2 from memory id '002'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;itab2] = itab1[.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wa1-a = 'a'.&lt;/P&gt;&lt;P&gt;wa1-b = 'b'.&lt;/P&gt;&lt;P&gt;append wa1 to itab1.&lt;/P&gt;&lt;P&gt;clear wa1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export itab1 to memory id '003'.&lt;/P&gt;&lt;P&gt;export itab2 to memory id '004'.[/code]&lt;/P&gt;&lt;P&gt;Memory ID is to store values for internal sessions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Report statement we have MEssage-ID &amp;amp; not memory ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... MESSAGE-ID mid &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Effect &lt;/P&gt;&lt;P&gt;This addition specifies the standard message class for the main program. This contains the messages used with the simple MESSAGE statement. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note &lt;/P&gt;&lt;P&gt;This message class must not be enclosed in quotation marks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a namespace prefix with message class names. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb2d40358411d1829f0000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve ur problem..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;karthik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;reward  me if usefull&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 16:48:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873412#M931047</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T16:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Memory ID</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873413#M931048</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;Use the statement free memory ID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 May 2008 16:54:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/memory-id/m-p/3873413#M931048</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-12T16:54:29Z</dc:date>
    </item>
  </channel>
</rss>

