<?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: OverWrite Exits for Classes in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548998#M1429265</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wondering if anybody has answer for this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i create over-write exit for a method in class by using new enhancement framework, it creates local class i mentioned earlier in this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this local class i need to call &lt;STRONG&gt;private method of the global class&lt;/STRONG&gt; is it possible or forbidden by SAP??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know in general, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;whether local classes in Global classes can access private methods of global classes??&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;whether global classes which itself has local classes def and implementations in it can access local classes methods????*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Suggest!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kranthi kumar on Sep 20, 2010 4:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Mar 2010 10:40:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-03-08T10:40:57Z</dc:date>
    <item>
      <title>OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548992#M1429259</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;I am trying to create Overwrite exit for the class, while doing this SAP is creating local class in some include and giving me chance to put my code in the same method for which i am trying to create over write exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is from  this local class i am not able to access the global class methods in which i am doing all this stuff.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i use the methods of global class, though instation of this global class requires some mandatory parameters which i cannot provide...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any restrictions in using exits for class enhancements..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;need your inputs....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 07:47:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548992#M1429259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-12T07:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548993#M1429260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to call another public method in your class and call that public method in the OverWrite method. Since this public method would be a part of the main class itself, you would be able to access all method / attributes of the class.&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>Fri, 12 Feb 2010 14:44:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548993#M1429260</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-02-12T14:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548994#M1429261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi kranthi (or who feels good for), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me learn how to "create Overwrite exit" and where and how SAP creates what kind of local class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really do not understand what you are talking about.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Feb 2010 23:53:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548994#M1429261</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2010-02-12T23:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548995#M1429262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As part of the Implicit enhancement for a class, you can create an overwtie method. &lt;/P&gt;&lt;P&gt;Go to SE24, enter the class name and menu class &amp;gt; Enhance.&lt;/P&gt;&lt;P&gt;Edit &amp;gt; Enhancement Operations &amp;gt; Add Overwrite Method&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try creating one, so, you would see how SAP creates Local class and links it back the Class.&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>Tue, 16 Feb 2010 14:13:49 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548995#M1429262</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-02-16T14:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548996#M1429263</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;May be possibility is that,the data of the class which you are accessing through your class is Protected....so first inherit the global class in your local class so that variables are visible to your local class ......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another way is through access any public method method of that global class in which required data is passed....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Gaurav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 05:04:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548996#M1429263</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T05:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548997#M1429264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's part of New Enhancement Framework. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mohaiyuddin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 06:10:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548997#M1429264</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-02-18T06:10:57Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548998#M1429265</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just wondering if anybody has answer for this??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i create over-write exit for a method in class by using new enhancement framework, it creates local class i mentioned earlier in this thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;using this local class i need to call &lt;STRONG&gt;private method of the global class&lt;/STRONG&gt; is it possible or forbidden by SAP??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know in general, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;whether local classes in Global classes can access private methods of global classes??&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;whether global classes which itself has local classes def and implementations in it can access local classes methods????*&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Suggest!!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: kranthi kumar on Sep 20, 2010 4:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Mar 2010 10:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548998#M1429265</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-03-08T10:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548999#M1429266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you can make the Local class as the LOCAL FRIEND of the Global Class than yes, you can access the private attributes / methods of the Global Class in the Local Class. If you can write this type of code in the LOCAL TYPES of global class, than you can access the components of the Global Class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
class LCL_ZTEST_NP_TESTING DEFINITION DEFERRED.   " Local class
class ZCL_TEST_NP_2 DEFINITION LOCAL FRIENDS LCL_ZTEST_NP_TESTING.  " Global Class
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But we can't Change to LOCAL TYPES of the Standard Class without registering the object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you should create a Public Method in the Global Class and access the private components. Then you should call this public method in your Local class.&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>Mon, 20 Sep 2010 14:13:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6548999#M1429266</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-09-20T14:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6549000#M1429267</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, it seems SAP has restricted this type of enhancement i presume,  however for the reverse case like,  global class accessing the local class implemenatations ( which are implemented inside global class ) i have read some article "Accessing the inaccessible" but i could not understand, can you please brief with example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 16:14:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6549000#M1429267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-20T16:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6549001#M1429268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Accessing the inaccessible - Article link?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Sep 2010 20:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6549001#M1429268</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2010-09-20T20:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: OverWrite Exits for Classes</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6549002#M1429269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the link &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Accessing the Inacessible - Local Classes within Global Classes |http://wiki.sdn.sap.com/wiki/display/ABAP/Accessing&lt;EM&gt;the&lt;/EM&gt;Inacessible&lt;EM&gt;-&lt;/EM&gt;Local&lt;EM&gt;Classes&lt;/EM&gt;within&lt;EM&gt;Global&lt;/EM&gt;Classes]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Sep 2010 05:21:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/overwrite-exits-for-classes/m-p/6549002#M1429269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-21T05:21:26Z</dc:date>
    </item>
  </channel>
</rss>

