<?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 Function Modules in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020732#M413533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1&amp;gt; Assume we are calling 2 FMs in our custom program. These 2 FMs belongs two a common FG where ITAB is declared as a global data.  Now with the execution of FM1 the internal table is populated . After that when FM2 has called will ITAB hold the same data populated earlier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt; I have used a FM in some programs. Now i made some modifications to the FM . My aim is the modification should not affect the previous programs.  How to &lt;/P&gt;&lt;P&gt;achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Mar 2007 12:30:10 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-03-09T12:30:10Z</dc:date>
    <item>
      <title>Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020732#M413533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1&amp;gt; Assume we are calling 2 FMs in our custom program. These 2 FMs belongs two a common FG where ITAB is declared as a global data.  Now with the execution of FM1 the internal table is populated . After that when FM2 has called will ITAB hold the same data populated earlier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt; I have used a FM in some programs. Now i made some modifications to the FM . My aim is the modification should not affect the previous programs.  How to &lt;/P&gt;&lt;P&gt;achieve this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:30:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020732#M413533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:30:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020733#M413534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1a) FM2 will hold the same data as ITAB has earlier.... i.e., if u are callin the function module after populating the data into ITAB, FM2 holds the data in ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2a) If u modify the function module, it will definitely affect the programs in which it was used.. To avoid this copy the FM to another and perform the respective operations....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pavan P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020733#M413534</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020734#M413535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1&amp;gt; Yes  ITAB holds data of the previous data.. because all the FG will be stored in a new program group, in the same internal session... ( for the first FM call itself) and this will not be deleted even if the end function reaches.... When u call the second FM of the same FG this FG will not be loaded again into the program group....&lt;/P&gt;&lt;P&gt;i hope u understood what am saying...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2&amp;gt; No , u cannot do that... u need to copy the same FM into someother and do the modifications... B'coz these function modules are globally available routines.. and data consistency is the main objective of these FM's...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 12:36:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020734#M413535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T12:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Function Modules</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020735#M413536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya got it.&lt;/P&gt;&lt;P&gt;Thanks Body.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2007 13:11:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-modules/m-p/2020735#M413536</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-03-09T13:11:55Z</dc:date>
    </item>
  </channel>
</rss>

