<?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: Error: Method is not declared or inherited in class in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737748#M35076</link>
    <description>&lt;P&gt;The easiest way out of these is to transport the whole class. Create a TR and manually add it as R3TR / CLAS / ZCL...&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2018 13:23:44 GMT</pubDate>
    <dc:creator>pokrakam</dc:creator>
    <dc:date>2018-08-14T13:23:44Z</dc:date>
    <item>
      <title>Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737747#M35075</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
  &lt;P&gt;I have created one utility class ZCL_ABAP_REPORT_UTILITIES with different methods. Initially, I have created 3 methods and moved to production successfully. Later created a new method 'M1'(Transport T1) and moved to QA system and then created another new method 'M2'(Transport T2) and moved to QA system. Till then it is fine. Due to some urgency, we have moved T2 TR to production and the T2 TR got failed due to transport sequence issue. To fix this issue, we have tried to move the TR T1 to production and it went failed with error "Method 'M2 is not declared or inherited in class "ZCL_ABAP_REPORT_UTILITIES". &lt;/P&gt;
  &lt;P&gt;I have captured all the methods in the new TR and tried to move to production, it still got the same error. I'm stuck here and couldn't resolve the error. &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Can you please help in resolving this issue. Issue is in production, so can't clean up the errors using Utilities-&amp;gt;Clean Up-&amp;gt;Method Includes.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Please suggest any other alternatives in resolving the issue ASAP.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Saleem.&lt;/P&gt;
  &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:21:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737747#M35075</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-08-14T13:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737748#M35076</link>
      <description>&lt;P&gt;The easiest way out of these is to transport the whole class. Create a TR and manually add it as R3TR / CLAS / ZCL...&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737748#M35076</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-08-14T13:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737749#M35077</link>
      <description>&lt;P&gt;In my new TR i have captured all the methods. Please find the below screen shot. But from the Transport Object I dont find entry R3TR / CLAS / ZCL. Is this the reason my issue not resolved? Do i have to maintain manually "R3TR / CLAS / ZCL." in my transport request?&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/193373-capture.jpg" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 13:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737749#M35077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-08-14T13:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737750#M35078</link>
      <description>&lt;P&gt;You ask:&lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Do i have to maintain &lt;STRONG&gt;manually &lt;/STRONG&gt;"R3TR / CLAS / ZCL." in my transport&lt;/EM&gt;&lt;/P&gt;
  &lt;P&gt;Mike has already said &lt;/P&gt;
  &lt;P&gt;&lt;EM&gt;Create a TR and &lt;STRONG&gt;manually &lt;/STRONG&gt;add it as R3TR / CLAS / ZCL...&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 14:15:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737750#M35078</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-08-14T14:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737751#M35079</link>
      <description>&lt;P&gt;See Matthew's answer.Just add the entry as I described to an empty transport, nothing more, nothing less.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Aug 2018 07:21:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737751#M35079</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-08-15T07:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737752#M35080</link>
      <description>&lt;P&gt;Hi Mike,&lt;/P&gt;
  &lt;P&gt;Thanks a lot, I'm able to solve the class issue by maintaining manually "R3TR / CLAS / ZCL." in my new transport. However, when I re-import old error TR1(which has only method M1) new method(M2) got deleted and TR went into error again. Can you please suggest how to resolve these error TR's. &lt;/P&gt;
  &lt;P&gt;TR1--&amp;gt;Method M1&lt;/P&gt;
  &lt;P&gt;TR2--&amp;gt;Method M2&lt;/P&gt;
  &lt;P&gt;Really appreciate your suggestions. &lt;/P&gt;
  &lt;P&gt;Thanks,&lt;/P&gt;
  &lt;P&gt;Saleem.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 12:21:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737752#M35080</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-03T12:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737753#M35081</link>
      <description>&lt;P&gt;What &lt;STRONG&gt;EXACTLY &lt;/STRONG&gt;are the contents of each transport?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Sep 2018 13:35:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737753#M35081</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-09-03T13:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737754#M35082</link>
      <description>&lt;P&gt;&lt;/P&gt;
  &lt;P&gt;Here the TR details: TR1 and TR2. I have initially moved TR2 to production before TR1 and so caused an issue.&lt;/P&gt;
  &lt;P&gt;As suggested by you, I have captured my class manually in TR R3TR / CLAS / ZCL..." and moved, so my class issue got resolved. But when i re-imported my TR1 it overrides the whole class and went into an error saying that method 'CREATE_XLS_FROM_ITAB' is not declared or inherited in class "ZCL_ABAP_REPORT_UTILITIES" though this method doesn't exist in my TR1.&lt;/P&gt;
  &lt;P&gt;&lt;STRONG&gt;&lt;U&gt;TR1&lt;/U&gt;&lt;/STRONG&gt;:&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/210410-tr1.png" /&gt;&lt;/P&gt;
  &lt;P&gt;TR2:&lt;BR /&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/210411-tr1.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 06:42:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737754#M35082</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-04T06:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737755#M35083</link>
      <description>&lt;P&gt;It works exactly how it's designed to work.&lt;BR /&gt;TR1 contains an outdated version of your Class, without the declaration of your M2, so, when you move it into Production, the declaration of M2 is overwritten with the "old" TR1 version.&lt;/P&gt;
  &lt;P&gt;You have 2 choices:&lt;/P&gt;
  &lt;P&gt;1-Import in Production TR1, TR2 and the new manual TR3 you created (there is the option to do that in STMS): in this way you take everything to production and you have no more problems.&lt;/P&gt;
  &lt;P&gt;2-Create a new TR4, type Transport of Copies, and attach the TR1, TR2, TR3 to it, bring TR4 to production, forget the other three TRs&lt;/P&gt;
  &lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/attachments/210413-tr.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 07:01:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737755#M35083</guid>
      <dc:creator>SimoneMilesi</dc:creator>
      <dc:date>2018-09-04T07:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737756#M35084</link>
      <description>&lt;P&gt;As Simone already explained, this is as designed. If you follow up the failed transport with another TR containing the complete class R3TR/CLAS/ZCL_ABAP_REPORT_UTILITIES, you should end up in a consistent state. No further action required.&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 07:46:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737756#M35084</guid>
      <dc:creator>pokrakam</dc:creator>
      <dc:date>2018-09-04T07:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737757#M35085</link>
      <description>&lt;P&gt;That's to be expected. You're overwriting the public section of the fixed class with the old public section which doesn't have that method.&lt;/P&gt;
  &lt;P&gt;There is no way to import TR1 so that it doesn't produce an error.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Sep 2018 08:04:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737757#M35085</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-09-04T08:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737758#M35086</link>
      <description>&lt;P&gt;Thanks Mike, Matthew, and Simone for your suggestions. I have created new TR(Transport of copies) and captured all the existing TR's and my class is now in the consistent state. But my client wants to make those earlier TR's in green status. He doesn't want any TR in rc=8 status. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;
  &lt;P&gt;For this, I have retrieved the older version of my class and moved all the previous error TR's in sequence. Now TR's went into production without any issues. &lt;/P&gt;
  &lt;P&gt;Thank you so much for all your support on this issue. &lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 13:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737758#M35086</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2018-09-07T13:46:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error: Method is not declared or inherited in class</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737759#M35087</link>
      <description>&lt;P&gt;Hmm. Your client needs education. What matters is a consistent system... Not green imports. That's just spending money for no reason. &lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;
  &lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Sep 2018 17:33:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/error-method-is-not-declared-or-inherited-in-class/m-p/737759#M35087</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2018-09-07T17:33:45Z</dc:date>
    </item>
  </channel>
</rss>

