<?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: problem in interfaces in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932620#M1333183</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As your test results say, we have to implement all the methods in the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I taught we can implement either of the method depending on the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In this type of scenario, create two different interfaces with required methods in them and implement them in respective implementing classes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2009 13:25:07 GMT</pubDate>
    <dc:creator>naimesh_patel</dc:creator>
    <dc:date>2009-07-09T13:25:07Z</dc:date>
    <item>
      <title>problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932616#M1333179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;      I have some queires on ooabap interfaces-&lt;/P&gt;&lt;P&gt;1) Is it mandatory to implement all the methods thats are declared in an interface.&lt;/P&gt;&lt;P&gt;***************************************&lt;/P&gt;&lt;P&gt;interface ifac.&lt;/P&gt;&lt;P&gt;methods: i1.&lt;/P&gt;&lt;P&gt;methods:i2.&lt;/P&gt;&lt;P&gt;endinterface.&lt;/P&gt;&lt;P&gt;*************************************&lt;/P&gt;&lt;P&gt;from above example  is it mandatory to implement both the methods i1,i2 in a class/every class in the current program.&lt;/P&gt;&lt;P&gt;2)can i implement a particular method(say i2) in a class and vomit i1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 09:51:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932616#M1333179</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T09:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932617#M1333180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This message was moderated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 09:56:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932617#M1333180</guid>
      <dc:creator>premal_mistry2</dc:creator>
      <dc:date>2009-07-09T09:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932618#M1333181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; hi all,&lt;/P&gt;&lt;P&gt;&amp;gt;       I have some queires on ooabap interfaces-&lt;/P&gt;&lt;P&gt;&amp;gt; 1) Is it mandatory to implement all the methods thats are declared in an interface.&lt;/P&gt;&lt;P&gt;&amp;gt; ***************************************&lt;/P&gt;&lt;P&gt;&amp;gt; interface ifac.&lt;/P&gt;&lt;P&gt;&amp;gt; methods: i1.&lt;/P&gt;&lt;P&gt;&amp;gt; methods:i2.&lt;/P&gt;&lt;P&gt;&amp;gt; endinterface.&lt;/P&gt;&lt;P&gt;&amp;gt; *************************************&lt;/P&gt;&lt;P&gt;&amp;gt; from above example  is it mandatory to implement both the methods i1,i2 in a class/every class in the current program.&lt;/P&gt;&lt;P&gt;&amp;gt; 2)can i implement a particular method(say i2) in a class and vomit i1.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you mean "omit 1"....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway - why don't you try it and see what happens.  Please post the results back here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 11:34:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932618#M1333181</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-07-09T11:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932619#M1333182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi matt,&lt;/P&gt;&lt;P&gt;            I tried , but its asking for the other method to implement in the same class itself.I taught we can implement either of the method depending on the requirement.what yo say???please let me know if iam wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 11:47:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932619#M1333182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T11:47:11Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932620#M1333183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As your test results say, we have to implement all the methods in the interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I taught we can implement either of the method depending on the requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;In this type of scenario, create two different interfaces with required methods in them and implement them in respective implementing classes..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 13:25:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932620#M1333183</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2009-07-09T13:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932621#M1333184</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;it is mandatory to implemet the all methods of the interface in the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if the interface is added in class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interfaces is added at public section of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Prabhudas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 13:27:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932621#M1333184</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-09T13:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932622#M1333185</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;all methods of an interface have to be implemented. That's the purpose of an interface, to make sure, that all the methods and attributes defined in an interface are available in all classes implementing this interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 15:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932622#M1333185</guid>
      <dc:creator>dirk_wittenberg</dc:creator>
      <dc:date>2009-07-09T15:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932623#M1333186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi guys,&lt;/P&gt;&lt;P&gt;            Thank you  problem solved..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Jul 2009 05:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932623#M1333186</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-10T05:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: problem in interfaces</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932624#M1333187</link>
      <description>&lt;P&gt;Hint : Set Default { FAIL / IGNORE } for the methods which you don't want to&lt;/P&gt;&lt;P&gt; impl in the implementing class.&lt;/P&gt;&lt;P&gt;Thanks and rewards if Your problem solved.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Oct 2021 14:47:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-in-interfaces/m-p/5932624#M1333187</guid>
      <dc:creator>former_member765822</dc:creator>
      <dc:date>2021-10-27T14:47:36Z</dc:date>
    </item>
  </channel>
</rss>

