<?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: Difference between Function Module Vs Method in Class Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825786#M352349</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Baskar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to answer (1):&lt;/P&gt;&lt;P&gt;Function modules correspond to &amp;lt;b&amp;gt;static&amp;lt;/b&amp;gt; methods of classes because all global attributes of the function group are valid all the time when calling one of its function modules. We cannot have instances, i.e. specific dataset combined with coding.&lt;/P&gt;&lt;P&gt;Thus far we cannot call class methods remotely but we have to use RFC-enabled function modules. However, if you check the possible categories of classes (SE24, tabstrip &amp;lt;i&amp;gt;Properties&amp;lt;/i&amp;gt;) there will be great changes in the (near) future ahead!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jan 2007 03:54:33 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2007-01-09T03:54:33Z</dc:date>
    <item>
      <title>Difference between Function Module Vs Method in Class Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825783#M352346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Can you please tell the difference between the Function module used in abap program and the method of the class module used in abap programming.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) does it necessary to do commit statement after calling the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thankyou for you time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bhaskar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 03:20:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825783#M352346</guid>
      <dc:creator>former_member577909</dc:creator>
      <dc:date>2007-01-09T03:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function Module Vs Method in Class Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825784#M352347</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;1)&lt;/P&gt;&lt;P&gt;Check this difference..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main difference between real object orientation and function groups is that although a program can work with the instances of several function groups at the same time, it cannot work with several instances of a single function group. Suppose a program wanted to use several independent counters, or process several orders at the same time. In this case, you would have to adapt the function group to include instance administration, for example, by using numbers to differentiate between the instances.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) COMMIT WORK is required for BAPI..And not required when you normally call a function module..Unless required ..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="-----------" /&gt;&lt;P&gt;Update function modules requires COMMIT WORK to execute the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 03:32:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825784#M352347</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T03:32:48Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function Module Vs Method in Class Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825785#M352348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bhaskar,&lt;/P&gt;&lt;P&gt; Please check this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm"&amp;gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm&amp;lt;/a&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Satya Priya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 03:34:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825785#M352348</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-01-09T03:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function Module Vs Method in Class Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825786#M352349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Baskar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to answer (1):&lt;/P&gt;&lt;P&gt;Function modules correspond to &amp;lt;b&amp;gt;static&amp;lt;/b&amp;gt; methods of classes because all global attributes of the function group are valid all the time when calling one of its function modules. We cannot have instances, i.e. specific dataset combined with coding.&lt;/P&gt;&lt;P&gt;Thus far we cannot call class methods remotely but we have to use RFC-enabled function modules. However, if you check the possible categories of classes (SE24, tabstrip &amp;lt;i&amp;gt;Properties&amp;lt;/i&amp;gt;) there will be great changes in the (near) future ahead!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jan 2007 03:54:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825786#M352349</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-01-09T03:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function Module Vs Method in Class Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825787#M352350</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;I also want to know the difference between the FM and methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. "program can work with the instances of several function groups at the same    &lt;/P&gt;&lt;P&gt;     time, it cannot work with several instances of a single function group".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That means i cannot call a function module(instance of Function grp) more than once in a program. &lt;/P&gt;&lt;P&gt;Please tell me whether i am right or wrong. Could u please explain me what is the meaning of insatnce of function group..&lt;/P&gt;&lt;P&gt;Is there any other difference between these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. what is the difference between static and instance method and function module?&lt;/P&gt;&lt;P&gt; in which scenario we need to use static and instance methods.?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudhansu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 07:02:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-module-vs-method-in-class-module/m-p/1825787#M352350</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-02T07:02:57Z</dc:date>
    </item>
  </channel>
</rss>

