<?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 call a method? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928702#M385005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/08/d27c03b81011d194f60000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/08/d27c03b81011d194f60000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kinshuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Feb 2007 10:07:09 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-02-26T10:07:09Z</dc:date>
    <item>
      <title>How to call a method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928698#M385001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the right method to call a method,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is CALL METHOD &amp;lt;class&amp;gt; =&amp;gt; &amp;lt;interface-method&amp;gt;&lt;/P&gt;&lt;P&gt;(or) CALL METHOD &amp;lt;class&amp;gt; =&amp;gt; &amp;lt;interface~method&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Feb 2007 05:56:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928698#M385001</guid>
      <dc:creator>Sultanuddin</dc:creator>
      <dc:date>2007-02-25T05:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928699#M385002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;    The right way to call a method is as follows .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;assume there a class ABC with a method declare and object is lo_abc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the method is not static then it is called as &lt;/P&gt;&lt;P&gt;call method lo_abc-&amp;gt;declare().&lt;/P&gt;&lt;P&gt;if the method is statis then &lt;/P&gt;&lt;P&gt;call method abc-&amp;gt;declare .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reward if useful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Feb 2007 08:05:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928699#M385002</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-25T08:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928700#M385003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the pattern button on ABAP editor (se80),click on radio button ABAP objects in the PATTERNS pop-up,give the object instance and the method you need and click continue.The method will automatically be inserted in your code with all the importing and exporting parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Beejal&lt;/P&gt;&lt;P&gt;**Reward if this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 25 Feb 2007 16:06:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928700#M385003</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-25T16:06:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928701#M385004</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;Assume C1 is class, M1 is method.&lt;/P&gt;&lt;P&gt;fist declare a refrence variable, then create object to the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:obj1 type ref to C1.&lt;/P&gt;&lt;P&gt;create object obj1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now call the method in this way:&lt;/P&gt;&lt;P&gt;call method obj1-&amp;gt;m1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it is static method then also you can call using the object as above or you can directly call static method with the class name without creating object to the class&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method c1=&amp;gt;m1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt; is clas reference variable&lt;/P&gt;&lt;P&gt;-&amp;gt;object reference variable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to call an interface method use tilde (~)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method obj1-&amp;gt;I1~M2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I1 is the interface name and M2 is the method of the interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you got some idea now.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sowjanya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 09:43:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928701#M385004</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T09:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a method?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928702#M385005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Check the following link&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw2004s/helpdata/en/08/d27c03b81011d194f60000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw2004s/helpdata/en/08/d27c03b81011d194f60000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kinshuk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2007 10:07:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-call-a-method/m-p/1928702#M385005</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-02-26T10:07:09Z</dc:date>
    </item>
  </channel>
</rss>

