<?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: Public Method defined in a subclass cannot be used in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046611#M1701522</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;Can you please elaborate on - &lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;methods must be called via dynamic algorithm&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;What exactly is the "dynamic algorithm" you're talking about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Nov 2012 03:58:04 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2012-11-01T03:58:04Z</dc:date>
    <item>
      <title>Public Method defined in a subclass cannot be used</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046609#M1701520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm struggling with a subclass defined in the abstract class CL_BROWSER.&amp;nbsp; An added method is Public, but the compiler reports the method is unknown or protected or private.&amp;nbsp; Looked through the Netweaver document on Abstract classes, but did not find that subclasses can not be extended.&lt;/P&gt;&lt;P&gt;Did I miss something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 21:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046609#M1701520</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-31T21:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Public Method defined in a subclass cannot be used</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046610#M1701521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found it.&amp;nbsp; For abstract class subclasses, methods must be called via dynamic algorithm.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Oct 2012 21:41:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046610#M1701521</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-10-31T21:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Public Method defined in a subclass cannot be used</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046611#M1701522</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;Can you please elaborate on - &lt;PRE&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; font-size: 12px; background-color: #ffffff;"&gt;methods must be called via dynamic algorithm&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/P&gt;&lt;P&gt;What exactly is the "dynamic algorithm" you're talking about?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 03:58:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046611#M1701522</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2012-11-01T03:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Public Method defined in a subclass cannot be used</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046612#M1701523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the SAP 7.0 Netweaver documentation, find "Declaring and Calling Methods" and search for Dynamic Method Call.&amp;nbsp; &lt;/P&gt;&lt;P&gt;One will find:&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="DE" style="color: black;"&gt;Using the standard ABAP &lt;BR /&gt;parenthesis semantics you can call methods dynamically.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp; Calling an instance method &lt;STRONG style=": ; Courier New&amp;amp;quot: ; mso-ansi-language: EN-US; font-family: &amp;amp;quot;"&gt;meth&lt;/STRONG&gt;:&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserInput1"&gt;CALL METHOD ref-&amp;gt;(f)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Basically, the name of the method being called is placed in variable f.&amp;nbsp; In my case, there is also a parameter in the method I defined, so I had to create an itab of type ABAP_PARMBIND_TAB and pass it in the call using the addition &lt;STRONG style=": ; Courier New&amp;amp;quot: ; color: black; mso-ansi-language: EN-US; font-family: &amp;amp;quot;"&gt;PARAMETER-TABLE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="UserInput1"&gt;CALL METHOD ref-&amp;gt;(f)&amp;nbsp; &lt;/SPAN&gt;PARAMETER-TABLE itab&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This compiles clean.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Nov 2012 13:36:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/public-method-defined-in-a-subclass-cannot-be-used/m-p/9046612#M1701523</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-11-01T13:36:09Z</dc:date>
    </item>
  </channel>
</rss>

