<?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: Create static class dynamically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-static-class-dynamically/m-p/12052183#M1968779</link>
    <description>&lt;P&gt;You cannot create instances of an &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abapclass_options.htm#!ABAP_ADDITION_3@3@"&gt;abstract&lt;/A&gt; class, this is a key part of the concept. Only concrete subclasses derived from ZCL_ABSTRACT_CLASS can be instantiated.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Aug 2019 06:35:54 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2019-08-15T06:35:54Z</dc:date>
    <item>
      <title>Create static class dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-static-class-dynamically/m-p/12052182#M1968778</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
  &lt;P&gt;I would like to create an abstract class dynamically.&lt;/P&gt;
  &lt;P&gt;I can instantiate a public class via:&lt;/P&gt;
  &lt;P&gt;data: lva_object type ref to zif_class,&lt;/P&gt;
  &lt;P&gt; lva_type type string value 'ZCL_CLASS'.&lt;/P&gt;
  &lt;P&gt;create object lva_object type (lva_type).&lt;/P&gt;
  &lt;P&gt;But how do i do that if i have a abstract class?&lt;/P&gt;
  &lt;P&gt;For example i have a interface:&lt;/P&gt;
  &lt;P&gt;ZIF_ABSTRACT_INTERFACE.&lt;/P&gt;
  &lt;P&gt;From this interface i made a class:&lt;/P&gt;
  &lt;P&gt;ZCL_ABSTRACT_CLASS.&lt;/P&gt;
  &lt;P&gt;And if i have an object:&lt;/P&gt;
  &lt;P&gt;data:&lt;/P&gt;
  &lt;P&gt;lva_abstract_object type ref to zif_abstract_interface,&lt;/P&gt;
  &lt;P&gt;lva_abstract_type type string value 'ZCL_ABSTRACT_CLASS'.&lt;/P&gt;
  &lt;P&gt;How do i assign this type dynamically to the class variable?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 06:00:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-static-class-dynamically/m-p/12052182#M1968778</guid>
      <dc:creator>AntonPierhagen</dc:creator>
      <dc:date>2019-08-15T06:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Create static class dynamically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-static-class-dynamically/m-p/12052183#M1968779</link>
      <description>&lt;P&gt;You cannot create instances of an &lt;A href="https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abapclass_options.htm#!ABAP_ADDITION_3@3@"&gt;abstract&lt;/A&gt; class, this is a key part of the concept. Only concrete subclasses derived from ZCL_ABSTRACT_CLASS can be instantiated.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Aug 2019 06:35:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-static-class-dynamically/m-p/12052183#M1968779</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2019-08-15T06:35:54Z</dc:date>
    </item>
  </channel>
</rss>

