<?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: Meta class equivalent? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342772#M1539692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_OO_CLASS was just what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paulo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Oct 2010 16:21:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-26T16:21:50Z</dc:date>
    <item>
      <title>Meta class equivalent?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342770#M1539690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a meta-class equivalent in ABAP Objects?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know I can execute methods (static or otherwise) dynamically if I know the names involved (names of class/object, method, parameters, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But if I don't know all names, how can I find them dynamically? For instance, if I know static method "CREATE_CAKE" from class "CL_CAKE_FACTORY", can I know at run time which parameters I can use (if any)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Paulo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 10:57:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342770#M1539690</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T10:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Meta class equivalent?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342771#M1539691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Paulo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way how to dynamically execute CALL METHOD is described in the ABAP keywords help.&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL METHOD (meth_name) 

Syntax 
CALL METHOD dynamic_meth { parameter_list 
                         | parameter_tables }. 

Effect 
This statement calls the method dynamically specified in dynamic_meth.
Actual parameters are assigned to formal parameters without parentheses,
either statically using parameter_list or dynamically using parameter_tables.
The syntax of parameter_list is the same as that for the static method call. 
...
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to get the signature of methods you can use class &lt;STRONG&gt;CL_OO_CLASS.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 12:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342771#M1539691</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2010-10-26T12:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Meta class equivalent?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342772#M1539692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL_OO_CLASS was just what I was looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Paulo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 16:21:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/meta-class-equivalent/m-p/7342772#M1539692</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T16:21:50Z</dc:date>
    </item>
  </channel>
</rss>

