<?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: Call Method from other method defined in same class. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884440#M1479153</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 May 2010 15:26:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-21T15:26:46Z</dc:date>
    <item>
      <title>Call Method from other method defined in same class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884438#M1479151</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'm trying to call a method from other method defined in the same class using class object. But its showing error message saying class object is not defined. let me explain you with example&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Inlucde xyz.&lt;/P&gt;&lt;P&gt;class c1 definition.&lt;/P&gt;&lt;P&gt;methods : a1,&lt;/P&gt;&lt;P&gt;                 b1.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class c1 implementation.&lt;/P&gt;&lt;P&gt; method a1.&lt;/P&gt;&lt;P&gt;  &lt;/P&gt;&lt;P&gt; endmethod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;method b1.&lt;/P&gt;&lt;P&gt; call method obj-&amp;gt;a1. -&amp;gt; Error is here  &lt;STRONG&gt;Field OBJ is unknown not defined by DATA&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;endmethod.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;include abc.&lt;/P&gt;&lt;P&gt;data : obj type ref to c1.&lt;/P&gt;&lt;P&gt;create object obj.&lt;/P&gt;&lt;P&gt;call method obj-&amp;gt;b1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;program klm.&lt;/P&gt;&lt;P&gt;include abc.&lt;/P&gt;&lt;P&gt;include xyz.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody please let me know how can i call one method from other method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 15:19:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884438#M1479151</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T15:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Call Method from other method defined in same class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884439#M1479152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you reference the same instance, use 'me' keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call method me-&amp;gt;a1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or alternatively:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;me-&amp;gt;a1( ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 15:22:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884439#M1479152</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T15:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Call Method from other method defined in same class.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884440#M1479153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 May 2010 15:26:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/call-method-from-other-method-defined-in-same-class/m-p/6884440#M1479153</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-21T15:26:46Z</dc:date>
    </item>
  </channel>
</rss>

