<?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: Implementation of method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156923#M1194660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ROHIT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i double click on the interface it shows me that it is implemented in the superclass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As interface is always implemented in public section of a class, it is already implemented in all its subclasses. Therefore you already have the implementation done. As my predecessors said you cannot control were it is implemented (besides your implementation), but you can redefine it. It will then have a different implementation than it has in superclass. Without this your class cannot impelemnt it once again as name conflict would arise. This is because you already have one implementation of that interface method in you public section (made in supperclass).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Feb 2009 13:07:18 GMT</pubDate>
    <dc:creator>MarcinPciak</dc:creator>
    <dc:date>2009-02-01T13:07:18Z</dc:date>
    <item>
      <title>Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156918#M1194655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have got a class which is having a interface method. I want to implement that method in that class only. but when i Double Click on it then it is showing that it is implementated in a different class.&lt;/P&gt;&lt;P&gt;how can i implement it in that class only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 13:48:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156918#M1194655</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T13:48:48Z</dc:date>
    </item>
    <item>
      <title>Re: Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156919#M1194656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interface methods can only be implementaed during the run time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to assign the interface in the interface tab of the class t code se24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you activate the class the available methods of the interface are displayed in the mehods tab of the class T code se24&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you create an instance of this class in your program you can use the interface methods with the created object reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you understand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:24:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156919#M1194656</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T14:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156920#M1194657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will have define a local private method in that case. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An interface can be used in many classes, it is not possible to control where it can be implemented.&lt;/P&gt;&lt;P&gt;But the implementation of that method can be different in different classes and you can also add more parameters other than those that are inherited from the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is called polymorphism concept of OOPs and is the standard way.&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;Advait&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2009 14:41:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156920#M1194657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-30T14:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156921#M1194658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI Frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a zclass . The interface is also zinterface which i can view in se24. Actualy my zclass is having a superclass. SO when i double click on the interface it shows me that it is implemented in the superclass . So i want to implement that method in that class only. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Jan 2009 11:49:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156921#M1194658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-01-31T11:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156922#M1194659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rohit,&lt;/P&gt;&lt;P&gt;   You have to redefine this method. Just put cursor on this method, now click on redefine button&lt;/P&gt;&lt;P&gt;( Just next to FIND NEXT button ). Now you can implement this method in your class, but in redefined method you cannot change its import-export parameters i.e signature of 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;Abhijeet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2009 12:09:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156922#M1194659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-01T12:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156923#M1194660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ROHIT,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i double click on the interface it shows me that it is implemented in the superclass&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As interface is always implemented in public section of a class, it is already implemented in all its subclasses. Therefore you already have the implementation done. As my predecessors said you cannot control were it is implemented (besides your implementation), but you can redefine it. It will then have a different implementation than it has in superclass. Without this your class cannot impelemnt it once again as name conflict would arise. This is because you already have one implementation of that interface method in you public section (made in supperclass).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is clear&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Feb 2009 13:07:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156923#M1194660</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-02-01T13:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: Implementation of method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156924#M1194661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Frnds,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;got the perfect answer i was looking for. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rohit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2009 09:05:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/implementation-of-method/m-p/5156924#M1194661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-02T09:05:11Z</dc:date>
    </item>
  </channel>
</rss>

