<?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: how to empty current user sap memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933924#M1333436</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;To clear the memory ID,&lt;/P&gt;&lt;P&gt;Suppose if your memory id is VC_APPL,&lt;/P&gt;&lt;P&gt;DELETE FROM MEMORY ID 'VC_APPL'.&lt;/P&gt;&lt;P&gt; FREE MEMORY ID 'VC_APPL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You global search on "MEMORY ID" in the transactions main program to get the memory ID's used in it. I'am not sure wether it solves your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Adithya M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jul 2009 11:08:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-21T11:08:10Z</dc:date>
    <item>
      <title>how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933921#M1333433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had just an issue regarding 2 subsequent CALL TRANSACTION with same data and same transaction code (*). In the second call there was an error because one of the screens was not displayed anymore. It was because a sap memory was initially empty and was set (SET PARAMETER) during the first call, then the second call did not display a screen because the sap memory was set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the future, if I encounter again this kind of issue, I'd like to reset whole sap memory between the 2 calls, to check quickly if the issue comes from sap memory or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to know programmatically which sap memories are defined in the current transaction, so that to clear them ? The classic debugger displays them, but how can we do it by ourselves.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(*) For info, it was sap memory DDY and transaction XD07 (with XD02 between 2 transactions). I also found that maybe the problem might occur with sap memory KDY and transaction KD07 (+ KD02).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 10:34:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933921#M1333433</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-07-21T10:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933922#M1333434</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 to free the SAP memory.&lt;/P&gt;&lt;P&gt;The FREE MEMORY statement without the ID addition deletes the entire ABAP memory of the current external session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Milan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 10:39:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933922#M1333434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T10:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933923#M1333435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thx but FREE MEMORY ID is about "ABAP memory". I know how to "empty" a given SAP memory, for instance SET PARAMETER ID 'DDY' FIELD space. What I want is to empty all existing SAP memories, but I want a generic way to do it any time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 10:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933923#M1333435</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-07-21T10:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933924#M1333436</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;To clear the memory ID,&lt;/P&gt;&lt;P&gt;Suppose if your memory id is VC_APPL,&lt;/P&gt;&lt;P&gt;DELETE FROM MEMORY ID 'VC_APPL'.&lt;/P&gt;&lt;P&gt; FREE MEMORY ID 'VC_APPL'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You global search on "MEMORY ID" in the transactions main program to get the memory ID's used in it. I'am not sure wether it solves your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Adithya M.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 11:08:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933924#M1333436</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T11:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933925#M1333437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;look at documentation, "abap memory" (export ... to memory id ..., etc.) is not "sap memory" (set parameter id ...). My question is about sap memory. Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 11:12:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933925#M1333437</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-07-21T11:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933926#M1333438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frn ,&lt;/P&gt;&lt;P&gt;   if  you want to free the SAP memory ... use below code  (iindirect approch )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET parameter ID 'MAT' field SPACE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; thanks and regards ..&lt;/P&gt;&lt;P&gt;  Priyank&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 11:13:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933926#M1333438</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T11:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933927#M1333439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If your program is not a class you can use free memory statement without ID addition. But this will clear all memory which is not recommended. Search free memory keyword in standard abap documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What do want to clear any sample ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Gungor Ozcelebi on Jul 21, 2009 1:15 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 11:14:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933927#M1333439</guid>
      <dc:creator>former_member194416</dc:creator>
      <dc:date>2009-07-21T11:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933928#M1333440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Frankly this was the question I ansked myself couple days ago. And didn't find appropriate way to do it.&lt;/P&gt;&lt;P&gt;I think two "replacement" solutions are possible:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) You may clear field by field and set parameters once again - this you  probably already thought of and it requires knowing all parameters in that memory, so it is ugly approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) you can use &lt;STRONG&gt;CALL TRANSACTION tcode STARTING NEW TASK&lt;/STRONG&gt; - this opens up new user session (not external one), accross which SAP memory doens't apply. So here you will be sure that no data will occupy it once you enter tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course there has to be some nicer solution which I would like to get to know too. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 11:34:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933928#M1333440</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-21T11:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933929#M1333441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcin / Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Had the same issue &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_macro_name="message" id="6140380"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used the first approach&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second one, if i set any paramter in my program and call another transaction then the data which i set won't be transferred. Am i right Marcin ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 11:42:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933929#M1333441</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-21T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933930#M1333442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rajvansh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes that's correct. SAP memory is valid only b/w external GUI sessions (but within one user session). Here we have separate user sessions, so SAP memory will be initialized for each new call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 12:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933930#M1333442</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-21T12:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933931#M1333443</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Marcin, at last someone who understands the question (thank you &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL TRANSACTION ... STARTING NEW TASK doesn't exist. I guess it's a "typo" error. You mean a CALL FUNCTION 'ABAP4_CALL_TRANSACTION' STARTING NEW TASK  'X' for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know an existing function module which has all parameters same as CALL TRANSACTION ? (especially for OPTIONS FROM keyword, I use it very often), so that to easily replace CALL TRANSACTION by a function module if I need to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another solution I was investigating is to use the new debugger, as it is able to get the list of sap memories, but the new debugger can't be enhanced as far as I know &lt;SPAN __jive_emoticon_name="sad"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:23:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933931#M1333443</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-07-21T14:23:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933932#M1333444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, of course I mixed it with calling FM, but you got the point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for similar FM I am looking at &lt;STRONG&gt;CALL_TRANSACTION_FROM_TABLE_CO&lt;/STRONG&gt; which might fulfill your requirement. Inside it parameter &lt;STRONG&gt;options from&lt;/STRONG&gt; is filled based on FM parameters &lt;EM&gt;i_mode&lt;/EM&gt; and &lt;EM&gt;i_update&lt;/EM&gt; (all in all &lt;STRONG&gt;options from&lt;/STRONG&gt; is just other way of supplying all these parameters in CALL TRANSACTION). Other way would be writitng a custom (RFC-enabled) FM, but of course it's  better to find some standard solution to apply it on different systems if necessary.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try that FM. I think the one you mentioned about &lt;STRONG&gt;ABAP4_CALL_TRANSACTION&lt;/STRONG&gt; should also be bring similar functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 14:50:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933932#M1333444</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-07-21T14:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to empty current user sap memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933933#M1333445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I meant OPTIONS FROM, it was about other fields like NOBINPT or RACOMMIT which are sometimes useful.&lt;/P&gt;&lt;P&gt;About the FM, I'll see later, when I need it, it won't be an issue. Thx a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jul 2009 15:00:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-empty-current-user-sap-memory/m-p/5933933#M1333445</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2009-07-21T15:00:39Z</dc:date>
    </item>
  </channel>
</rss>

