<?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 Difference between Function and Method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636507#M875794</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a beginner of ABAP now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anybody can explain what's different between Function and Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could find pre-defined Function from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu -&amp;gt; Edit -&amp;gt; Pattern&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but could't do the same thing with Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method  I wanted to find was CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps.Any tips to find method is going to be welcomed too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Apr 2008 04:31:49 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-04-03T04:31:49Z</dc:date>
    <item>
      <title>Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636507#M875794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a beginner of ABAP now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anybody can explain what's different between Function and Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I could find pre-defined Function from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Menu -&amp;gt; Edit -&amp;gt; Pattern&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but could't do the same thing with Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The method  I wanted to find was CL_GUI_FRONTEND_SERVICES=&amp;gt;FILE_OPEN_DIALOG.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ps.Any tips to find method is going to be welcomed too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:31:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636507#M875794</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T04:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636508#M875795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Select AABAP Object Patterns Radio button  which is just below call function radio button . Then give the instance which u'v created and class name and then u can get methods existing for that particular Class.&lt;/P&gt;&lt;P&gt;Check Pattern button just before Pretty Printer button on the application tool bar.&lt;/P&gt;&lt;P&gt;Reward if helpful,&lt;/P&gt;&lt;P&gt;Iyswarya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:39:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636508#M875795</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T04:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636509#M875796</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; Follow the same path Menu -&amp;gt; Edit -&amp;gt; Pattern ... check the radio button below the defaulted radio button and press enter ... that takes you to another popup screen ... there give the class( CL_GUI_FRONTEND_SERVICES) and method(FILE_OPEN_DIALOG) name to call the method ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:41:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636509#M875796</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T04:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636510#M875797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then I'd like to know the difference between Function and Method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They looks the same but &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think there would be a resaon that they are separated in defferent name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody explain?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:45:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636510#M875797</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T04:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636511#M875798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to the below related threads which has the answer for your query ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3070411"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3004443"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:48:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636511#M875798</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T04:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636512#M875799</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;Please look into this...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods are calling using objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FUNCTIONS ARE DIRECTLY CALLING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The major difference between methods and functions is that methods called by the reference variables called objects where as the functions do not having any reference variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if its useful reward points&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636512#M875799</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T04:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636513#M875800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Functions:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt; are part of function groups. They are designed for global use and have a unique name. Function Modules also have a formal interface using IMPORTING, EXPORTING, CHANGING and TABLES parameters. The interface parameters can be passed BY VALUE or BY REFERENCE. Specific EXCEPTIONS can be defined for error handling. A function module can also have local data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In theory, a function module can only use data a)from the interface parameters, b) defined locally in the function module and c) defined globally in the function group. However, it is possible to see global data from calling programs using field-symbols. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remote Function Modules are function modules that can be called from other SAP or NON-SAP systems. BAPI's are examples of RFC-enabled function modules. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function Groups and Function Modules are maintained using transaction SE37 (or SE80). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Methods&lt;/STRONG&gt;: &lt;/P&gt;&lt;P&gt;are part of CLASSES. Here we are talking about ABAP Objects, supporting inheritance, instantiation, encapsulation, polymorphism, events, Interfaces, visibility sections (PUBLIC, PROTECTED, PRIVATE) and lifetime options STATIC and INSTANCE. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Classes can be defined locally or globally: a) Local Classes are classes, defined as part of an ABAP program. They can be used only within this program. b) The functionality of Global Classes is identical, but these classes are maintained using the Class Builder (SE24 or SE80). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The name of a method is not unique; you always need the name of the object to create the unique name. As a result, several classes will have exactly the same method name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Methods also have a formal interface using IMPORTING, EXPORTING, CHANGING and RETURNING parameters. The interface parameters can be passed BY VALUE or BY REFERENCE. Specific EXCEPTIONS can be defined for error handling. A method can also have local data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general, using classes is considered a much better alternative to using subroutines and function modules, especially with regards to maintenance costs. Actually, you do not need subroutines anymore. Function Modules are only needed is some cases, for example as RFC's because the classes don't support remote calls.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 04:52:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636513#M875800</guid>
      <dc:creator>former_member491078</dc:creator>
      <dc:date>2008-04-03T04:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636514#M875801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I roughly understand the difference between Function module and Method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 05:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636514#M875801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T05:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between Function and Method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636515#M875802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check out this ....&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/c3/225b5954f411d194a60000e8353423/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2008 05:05:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/difference-between-function-and-method/m-p/3636515#M875802</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-03T05:05:17Z</dc:date>
    </item>
  </channel>
</rss>

