<?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: two methods with the same name in one class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050970#M1501975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have a look at table TMDIR which contains the class methods. Perhaps you find two records which have a different index yet the same method name. If so then try delete one of the duplicated entries.&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>Sun, 18 Jul 2010 21:47:56 GMT</pubDate>
    <dc:creator>uwe_schieferstein</dc:creator>
    <dc:date>2010-07-18T21:47:56Z</dc:date>
    <item>
      <title>two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050969#M1501974</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;&lt;/P&gt;&lt;P&gt;I would like to ask you for help as I do not know how to get from the following situation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By mistake I managed to create in one class two methods with the same name. I deleted one of those methods. However the whole class is stell in error after validation and the error message says 'method x has already been implemented'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea what steps i need to do to remove the whole method at all. I cannot see it in the list of methods under the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 18 Jul 2010 16:00:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050969#M1501974</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-18T16:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050970#M1501975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may have a look at table TMDIR which contains the class methods. Perhaps you find two records which have a different index yet the same method name. If so then try delete one of the duplicated entries.&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>Sun, 18 Jul 2010 21:47:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050970#M1501975</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2010-07-18T21:47:56Z</dc:date>
    </item>
    <item>
      <title>Re: two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050971#M1501976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the advise. But unfortunately there is only one entry in the table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically now I can see in the class only one method x. When I validate the class it gives error that the method x has already been implemented. And when I click on the message it says that Method x does not exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I can try to remove the other method with name x. But I am a bit afraid that it will not solve the problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how to solve this? Due to this I cannot move forward.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 04:55:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050971#M1501976</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T04:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050972#M1501977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI &lt;/P&gt;&lt;P&gt;Please confirm that you deleted the method from the definition as well as implementation part of the class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lalit Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 09:53:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050972#M1501977</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T09:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050973#M1501978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you perform these actions (from the "Menu Functions"):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Utilities --&amp;gt; Clean Up --&amp;gt; Method Includes (basically select the one which is relevant in your case).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Utilities --&amp;gt; Regenerate Sections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 09:59:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050973#M1501978</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-19T09:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050974#M1501979</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;Can you please advise me where to delete it from the implementation part?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tahnks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 09:59:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050974#M1501979</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T09:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: two methods with the same name in one class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050975#M1501980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;First of all I want to know that where you created your class, In SE24 or in any programm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if in SE24, then go to se24 open that class go to methods tab and check if that method name accurs at two places, if not, then &lt;/P&gt;&lt;P&gt;click on that method and check the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or if in a program.&lt;/P&gt;&lt;P&gt;then you must have defined like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class &amp;lt;class name&amp;gt; definition.&lt;/P&gt;&lt;P&gt;public section&lt;/P&gt;&lt;P&gt;method &amp;lt;method name&amp;gt;&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;class &amp;lt;class name&amp;gt; implementation.&lt;/P&gt;&lt;P&gt;method &amp;lt;method name&amp;gt;&lt;/P&gt;&lt;P&gt;  code for that method.&lt;/P&gt;&lt;P&gt;endclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be possible you have set the implementation part twice for that particular method, So please check and delete one implementation for that method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Lalit Gupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 10:06:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/two-methods-with-the-same-name-in-one-class/m-p/7050975#M1501980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-19T10:06:26Z</dc:date>
    </item>
  </channel>
</rss>

