<?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: Removing program from memory in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074680#M1178809</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;That is what i want. I need to remove all the global variables of FG1 program from memory. All the relevant data of the program FG1 should be removed from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinath S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2009 17:59:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-04T17:59:36Z</dc:date>
    <item>
      <title>Removing program from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074677#M1178806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know how to remove a program from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will explain exactly my requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 3 main programs with me, as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Report                         - program name : PRG1&lt;/P&gt;&lt;P&gt;2. function module: FM1   - main program : FG1&lt;/P&gt;&lt;P&gt;3. function module : FM2  - main program : FG2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am calling these two function modules inside the report in FM1 and FM2 sequence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Report PRG1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'FM1'&lt;/P&gt;&lt;P&gt;call function 'FM2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When i call the first function module FM1 the main program FG1 will be loaded to memory.&lt;/P&gt;&lt;P&gt;When i call the second function module FM2 the main program FG2 will also be loaded into memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now my memory will have three main programs : PRG1, FG1, FG2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is to remove the main program FG1 from memory, which means to say i should not be able to access any variable from FG1 through ASSIGN statement : ASSIGN ('(FG1)VAR1') to &amp;lt;fs&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically after removing FG1 program, the memory should have : PRG1, FG2 programs only. &lt;/P&gt;&lt;P&gt;Please suggest how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinath S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 13:37:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074677#M1178806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T13:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Removing program from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074678#M1178807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would it be sufficient if FM1 cleared all global data at end of processing?&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 15:21:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074678#M1178807</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-04T15:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: Removing program from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074679#M1178808</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;That is what i want. I need to remove all the global variables of FG1 program from memory. All the relevant data of the program FG1 should be removed from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinath S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 17:58:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074679#M1178808</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T17:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: Removing program from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074680#M1178809</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;That is what i want. I need to remove all the global variables of FG1 program from memory. All the relevant data of the program FG1 should be removed from memory.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Srinath S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2009 17:59:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074680#M1178809</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-04T17:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing program from memory</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074681#M1178810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What I meant is that instead of using whatever erase functionality (I wouldn't know one), the code inside the function modules of FG1 should clear all global data with CLEAR and REFRESH statements before returning to the calling program. Even better would be to not use any global data in FG1 in the first place, if possible, rather work with local data declarations only inside the function modules.&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2009 08:33:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/removing-program-from-memory/m-p/5074681#M1178810</guid>
      <dc:creator>ThomasZloch</dc:creator>
      <dc:date>2009-02-05T08:33:13Z</dc:date>
    </item>
  </channel>
</rss>

