<?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 access a parent class methods using child class object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219073#M135692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try Super-&amp;gt;parent_method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Mar 2006 10:49:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-24T10:49:40Z</dc:date>
    <item>
      <title>How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219072#M135691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;In ABAP&lt;/P&gt;&lt;P&gt;I have a Parent class with a method parent_method().&lt;/P&gt;&lt;P&gt;Child class in inheriting from Parent and redefining the parent_method().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my z_program&lt;/P&gt;&lt;P&gt;I am creating a object of Child class and i want to access the parent_method in the Parent class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Restrictions:&lt;/P&gt;&lt;P&gt;==&amp;gt;I don't want to call the child class method and then   from there call the super class method.&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;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 08:23:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219072#M135691</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T08:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219073#M135692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you try Super-&amp;gt;parent_method?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note : Please mark the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 10:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219073#M135692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T10:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219074#M135693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following link shows you how to do that - &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_46c/helpdata/en/1d/df5f57127111d3b9390000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_46c/helpdata/en/1d/df5f57127111d3b9390000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 11:05:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219074#M135693</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T11:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219075#M135694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;Thanks ...&lt;/P&gt;&lt;P&gt;As i had mentioned that i don't want to call the child method that inturn will call super-&amp;gt;parent_method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any otherway of doing it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 11:13:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219075#M135694</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T11:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219076#M135695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The keyword SUPER points to the Superclass directly. It is &amp;lt;b&amp;gt;not&amp;lt;/b&amp;gt; routed through the subclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the SUPER keyword can only be used within a method of the subclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand Mandalika.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 11:20:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219076#M135695</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T11:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219077#M135696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Murugesh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unless its inside the code of child method, it will not know which class is the parent class. Other wise you will have to find out manually which is the super class and call the method. But again I am not sure if you can specify the name of the class dynamically !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Mar 2006 11:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219077#M135696</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-24T11:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to access a parent class methods using child class object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219078#M135697</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 trying to use something like this,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;child-&amp;gt;method2();&lt;/P&gt;&lt;P&gt;method2()"child class method.&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;super-&amp;gt;parent_method().&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got an error saying that we can't call like this..which is possible in case of JAVA.&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Murugesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 May 2006 03:53:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-access-a-parent-class-methods-using-child-class-object/m-p/1219078#M135697</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-05-08T03:53:27Z</dc:date>
    </item>
  </channel>
</rss>

