<?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: Problem Create object from superclass in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181169#M1823120</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that you defined the instantiation level of the superclass as PROTECTED &amp;amp; from the screenshot i can see that the instantiation level is protected &amp;amp; the class is marked as "Final".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you having a factory method which returns the instance of the abstract class &amp;amp; you use it to achieve polymorphism?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be a little bit insight into your coding can help us &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/684/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&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, 03 Apr 2014 19:20:53 GMT</pubDate>
    <dc:creator>SuhaSaha</dc:creator>
    <dc:date>2014-04-03T19:20:53Z</dc:date>
    <item>
      <title>Problem Create object from superclass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181167#M1823118</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 have a problem with classes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one abstract superclass which has a method to create objecto for its children class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;CREATE OBJECT R_FLIGHT &lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;(&lt;/SPAN&gt;l_class_name&lt;SPAN class="L0S55"&gt;)&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;EXPORTING&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i_sflight &lt;SPAN class="L0S55"&gt;= &lt;/SPAN&gt;l_sflight&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN class="L0S52"&gt;l_class_name: has the name of my children class&lt;BR /&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;My children class has this properties:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/425221" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A dump its triggered when I try to create object from the superclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 15:31:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181167#M1823118</guid>
      <dc:creator>adrian_mejido</dc:creator>
      <dc:date>2014-04-03T15:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Create object from superclass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181168#M1823119</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 have already solved my problem. The problem was that I had forgotten to put the superclass in the "Friends" tabscript of children class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Apr 2014 15:57:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181168#M1823119</guid>
      <dc:creator>adrian_mejido</dc:creator>
      <dc:date>2014-04-03T15:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Create object from superclass</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181169#M1823120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that you defined the instantiation level of the superclass as PROTECTED &amp;amp; from the screenshot i can see that the instantiation level is protected &amp;amp; the class is marked as "Final".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you having a factory method which returns the instance of the abstract class &amp;amp; you use it to achieve polymorphism?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be a little bit insight into your coding can help us &lt;SPAN __jive_emoticon_name="silly" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/684/images/emoticons/silly.gif"&gt;&lt;/SPAN&gt;&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, 03 Apr 2014 19:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-create-object-from-superclass/m-p/10181169#M1823120</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2014-04-03T19:20:53Z</dc:date>
    </item>
  </channel>
</rss>

