<?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: Deleting data from memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034294#M1349866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use FREE MEMORY ID id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2009 15:51:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-08-20T15:51:29Z</dc:date>
    <item>
      <title>Deleting data from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034292#M1349864</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;&lt;/P&gt;&lt;P&gt;I am using a Enhancement for my requirement. The enhancement &lt;/P&gt;&lt;P&gt;contains 2 Function exits., FE1 &amp;amp; FE2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In FE2, I export data in 'ABC' to memory and In FE1 I import data in &lt;/P&gt;&lt;P&gt;memory to a variable 'XYZ' from memory.After importing,I delete the memory area.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Everything works fne till here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, suppose in a certain scenario after importing memory to variable 'XYZ' from memory, &lt;/P&gt;&lt;P&gt;before I delete the memory area due to some exception the program stops in the middle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, again when I start the same process, I find my old data in the memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is causing me a lot of headache. Agreed, I use a memory area, I need to delete it to make sure evrything runs smoothly in &lt;/P&gt;&lt;P&gt;future scenarios.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Right now am using database indexes as follows:--&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export it to database indx(mm) id 'ZABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import it from database indx(mm) id 'ZABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;delete from database indx(mm) id 'ZABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are there any means of using memory areas for storage of my data , &lt;/P&gt;&lt;P&gt;so that when I start a new process the memory area which I used earlier should be freed by itself autmatically &lt;/P&gt;&lt;P&gt;and start afresh, even if I didnt delete the memory area earlier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Shivaa...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 14:44:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034292#M1349864</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T14:44:31Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034293#M1349865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually i add a "spy" (reference number or the like, timestamp) in the data exported, so i can make a plausabilty check when IMPORT find some data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 14:49:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034293#M1349865</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2009-08-20T14:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034294#M1349866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use FREE MEMORY ID id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raj Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 15:51:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034294#M1349866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034295#M1349867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    You can use memory ids for storing variables or even internal tables. The syntax for that would be &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;export p1 = gt_mara to memory id 'ZABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and import p1 = gt_mara from memory id 'ZABC'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No need to declare p1 anywhere.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and when ur work is done. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;free memory id 'ZABC'  which will clear the value. ( free the memory )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Kshitijsaxena on Aug 20, 2009 5:54 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 15:53:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034295#M1349867</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-08-20T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Deleting data from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034296#M1349868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another reference (see Raymond answer) might be the Transaction ID (TH_GET_TRANSACTION_ID): if the transaction fails, the TID will change. If the data in memory belongs to another TID than the current one, then you know that it is obsolete. Of course, the TID also changes after each COMMIT WORK or ROLLBACK WORK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2009 20:38:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/deleting-data-from-memory/m-p/6034296#M1349868</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-08-20T20:38:31Z</dc:date>
    </item>
  </channel>
</rss>

