<?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 Dynamic Instantiation (variable) using the NEW operator in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-instantiation-variable-using-the-new-operator/m-p/12229087#M1984281</link>
    <description>&lt;P&gt;Hi Folks, this code works fine but just out of curiosity is there a way to implement this code using the NEW operator?&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;      DATA lo_obj TYPE REF TO zabstract_class.
      CREATE OBJECT lo_obj TYPE (variable). "variable = 'ZSUB_CLASS'.

      lo_obj-&amp;gt;method1( ).
      &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jul 2020 14:51:09 GMT</pubDate>
    <dc:creator>Rodrigo-Giner</dc:creator>
    <dc:date>2020-07-30T14:51:09Z</dc:date>
    <item>
      <title>Dynamic Instantiation (variable) using the NEW operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-instantiation-variable-using-the-new-operator/m-p/12229087#M1984281</link>
      <description>&lt;P&gt;Hi Folks, this code works fine but just out of curiosity is there a way to implement this code using the NEW operator?&lt;/P&gt;
  &lt;PRE&gt;&lt;CODE&gt;      DATA lo_obj TYPE REF TO zabstract_class.
      CREATE OBJECT lo_obj TYPE (variable). "variable = 'ZSUB_CLASS'.

      lo_obj-&amp;gt;method1( ).
      &lt;/CODE&gt;&lt;/PRE&gt;
  &lt;P&gt;Thanks&lt;/P&gt;
  &lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 14:51:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-instantiation-variable-using-the-new-operator/m-p/12229087#M1984281</guid>
      <dc:creator>Rodrigo-Giner</dc:creator>
      <dc:date>2020-07-30T14:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Instantiation (variable) using the NEW operator</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-instantiation-variable-using-the-new-operator/m-p/12229088#M1984282</link>
      <description>&lt;P&gt;No, you can't.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jul 2020 16:06:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/dynamic-instantiation-variable-using-the-new-operator/m-p/12229088#M1984282</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2020-07-30T16:06:25Z</dc:date>
    </item>
  </channel>
</rss>

