<?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: Finding out what Subtype a reference is in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-out-what-subtype-a-reference-is/m-p/1222570#M136946</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;Sure, we do have runtime type identification for each object instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Class CL_ABAP_CLASSDESCR  to get the RTTI of any object instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more on how to use this class in Class documentation.&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;Regards,&lt;/P&gt;&lt;P&gt;Nagaraju Chidurupalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Apr 2006 19:40:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-04-14T19:40:51Z</dc:date>
    <item>
      <title>Finding out what Subtype a reference is</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-out-what-subtype-a-reference-is/m-p/1222569#M136945</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'm trying to bulid an applicaton with abab &lt;STRONG&gt;g&lt;/STRONG&gt; and as a Java developer I'm doing it with Abap Objects. Now I have a nice abstract superclass and now I have to check references what type they have, before casting them into the subclasses. I'm looking for something like "instanceof" in java. Does someone know how to do that in Abap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;Patrick Lehmann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Apr 2006 07:28:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-out-what-subtype-a-reference-is/m-p/1222569#M136945</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-11T07:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Finding out what Subtype a reference is</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/finding-out-what-subtype-a-reference-is/m-p/1222570#M136946</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;Sure, we do have runtime type identification for each object instance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Class CL_ABAP_CLASSDESCR  to get the RTTI of any object instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read more on how to use this class in Class documentation.&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;Regards,&lt;/P&gt;&lt;P&gt;Nagaraju Chidurupalli.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Apr 2006 19:40:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/finding-out-what-subtype-a-reference-is/m-p/1222570#M136946</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-14T19:40:51Z</dc:date>
    </item>
  </channel>
</rss>

