<?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 Can we create a Object for the Interface. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535961#M1071810</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Can we create a Object for the Interface.  How it is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me an example. if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Sep 2008 06:47:29 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-09-23T06:47:29Z</dc:date>
    <item>
      <title>Can we create a Object for the Interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535961#M1071810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;Can we create a Object for the Interface.  How it is possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Give me an example. if possible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 06:47:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535961#M1071810</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-09-23T06:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can we create a Object for the Interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535962#M1071811</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;No need to create an object for interface and will get an error if try creating it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Directly specify the interface name and then the method name..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or else.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Data
   w_ref type ref to &amp;lt;interface name&amp;gt;. " No need to instantiate the object

w_ref~&amp;lt;interface method&amp;gt;.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this would help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck&lt;/P&gt;&lt;P&gt;Narin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Sep 2008 08:17:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535962#M1071811</guid>
      <dc:creator>narin_nandivada3</dc:creator>
      <dc:date>2008-09-23T08:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can we create a Object for the Interface.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535963#M1071812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Krishna&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For sure you can create interface instance provided that there is an implementing class around. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: go_msglist   TYPE REF TO if_reca_message_list.

go_msglist = cf_reca_message_list=&amp;gt;create( ).&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a more elaborate example you may have a look at [Message Handling - Finding the Needle in the Haystack |https://wiki.sdn.sap.com/wiki/display/profile/2007/07/09/Message&lt;EM&gt;Handling&lt;/EM&gt;-&lt;EM&gt;Finding&lt;/EM&gt;the&lt;EM&gt;Needle&lt;/EM&gt;in&lt;EM&gt;the&lt;/EM&gt;Haystack]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Final remark: The previous posting is a bit odd because interface methods never have any implementation.&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, 23 Sep 2008 08:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-create-a-object-for-the-interface/m-p/4535963#M1071812</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2008-09-23T08:39:59Z</dc:date>
    </item>
  </channel>
</rss>

