<?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: ABAP OO Abstract Methods in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072644#M95285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Daniel,&lt;/P&gt;&lt;P&gt;   Please close the thread , by assigning points if any of the answers helped you.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2005 13:37:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-12-09T13:37:53Z</dc:date>
    <item>
      <title>ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072639#M95280</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 want to use abstract methods in ABAP. I created an abstract class as base and another 'child' class that extends that class. Now, I want to have different implementations in different child classes. The problem is that the IDE redirects me to the base class when trying to to this. There is no possibility to set the method as abstract.&lt;/P&gt;&lt;P&gt;Do you know if that concept is implemented at all? Maybe I just forgot to configure something?!&lt;/P&gt;&lt;P&gt;What do you propose?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you and best regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 12:54:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072639#M95280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T12:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072640#M95281</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;  You should REDEFINE the method in your child class,&lt;/P&gt;&lt;P&gt;there is a button (next to Find Next, looking like a pencil) in SE24, Class Overview screen. If you place the cursor on the inherited method and click on this button then you can have a different implementation in your child class..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Hope this helps..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072640#M95281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072641#M95282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can definately create a abstract class and method in OO ABAP. The only care you need to take is you implement all the abstract methods in child class or declare child class as abstract too. if you dont want to implement all the methods then declare a interface rather than declaring a abstract class. You can have syntaxes from the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:19:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072641#M95282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072642#M95283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;         In the child class,assign the super class as your abstract class and save it.You will get the methods.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Click on the method and Go to redefine button at the corner before the undo button.By this you will be able to write in the child class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this will solve.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vamsi.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:21:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072642#M95283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072643#M95284</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;thanks. The redefinition button seems to be new...however it should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:29:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072643#M95284</guid>
      <dc:creator>former_member474082</dc:creator>
      <dc:date>2005-12-09T13:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072644#M95285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Daniel,&lt;/P&gt;&lt;P&gt;   Please close the thread , by assigning points if any of the answers helped you.&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Vamsi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:37:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072644#M95285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: ABAP OO Abstract Methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072645#M95286</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;If you are creating Local class using SE38, then just by writing "abstact" to the method it behaves like an abstract method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are creating global class SE24, then genrally all interface methods are "abstract" methods so that we can ihberit and can redefine the methods for example: "IF_FLUSH_NOTIFY~BEFORE_FLUSH_NOTIFY" symbol ~ shows that it is an abstract method in the interface before to that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, even if it refer to its base class you can just implement them in the child classes by inheriting it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you if yes try to assign some app. points.&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;Suman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2005 13:38:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/abap-oo-abstract-methods/m-p/1072645#M95286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-12-09T13:38:37Z</dc:date>
    </item>
  </channel>
</rss>

