<?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: Changing methods in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001573#M1606727</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If I delete the ZCL class, can I get the original program access the standard CL class instead of ZCL?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You must change manually the original program. I think you'd better change manually the program to refer to CL instead of ZCL. By the way, you'd better have a look at the transport request used to work on that custom enhancement to see the list of all the objects concerned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;In meantime, what I did was to manually comment out all the custom lines in the ZCL methods and make it same as CL. I am not sure if this is the correct way to do this.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As I said above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I am not able to view any "enhance" option. I checked in Se24 and se80. Could you walk me through this?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Forget it as you are not working on the standard class. Note that it's available only on NetWeaver 7.0 (ECC 6 and so on)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Please advise what is the best way to RESET (remove all the custom changes and use standard SAP delievered class) the ZCL class to CL...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As I said above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2011 20:57:00 GMT</pubDate>
    <dc:creator>Sandra_Rossi</dc:creator>
    <dc:date>2011-06-15T20:57:00Z</dc:date>
    <item>
      <title>Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001570#M1606724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am relatively new to ABAP and was wondering if one of you could give me a hand with this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am asked to reset a certain Z methods to standard class. Is it possible to delete this Z method completely? I tried via se80/se24 but it gives the message "You cannot perform this action in modification mode ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abaplerner on Jun 13, 2011 9:26 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 15:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001570#M1606724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-13T15:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001571#M1606725</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;by "reset", do you mean delete? I think this message is because you tried to maintain a standard class, in which custom methods have been added through the enhancement framework. If yes, then you must click menu Class -&amp;gt; Enhance, and then you'll be able to operate on the custom methods (and maybe you'll have to select the corresponding enhancement option).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jun 2011 21:41:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001571#M1606725</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-06-13T21:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001572#M1606726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sandra.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am asked to delete the custom enhancements done to the methods (basically reset it to SAP's standard class). The standard CL_XX_XXX was copied to ZCL_XX_XXX and three methods were modified. The dump we are getting is pointing to ZCL_XX_XXX. If I delete the ZCL class, can I get the original program access the standard CL class instead of ZCL? In meantime, what I did was to manually comment out all the custom lines in the ZCL methods and make it same as CL. I am not sure if this is the correct way to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not able to view any "enhance" option. I checked in Se24 and se80. Could you walk me through this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advise what is the best way to RESET (remove all the custom changes and use standard SAP delievered class) the ZCL class to CL...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:09:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001572#M1606726</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-15T20:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001573#M1606727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;If I delete the ZCL class, can I get the original program access the standard CL class instead of ZCL?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;You must change manually the original program. I think you'd better change manually the program to refer to CL instead of ZCL. By the way, you'd better have a look at the transport request used to work on that custom enhancement to see the list of all the objects concerned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;In meantime, what I did was to manually comment out all the custom lines in the ZCL methods and make it same as CL. I am not sure if this is the correct way to do this.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As I said above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I am not able to view any "enhance" option. I checked in Se24 and se80. Could you walk me through this?&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Forget it as you are not working on the standard class. Note that it's available only on NetWeaver 7.0 (ECC 6 and so on)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Please advise what is the best way to RESET (remove all the custom changes and use standard SAP delievered class) the ZCL class to CL...&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;As I said above&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2011 20:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001573#M1606727</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-06-15T20:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001574#M1606728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program is a standard SAP program and the BADI (user exit) was changed to ZCL. Checking the transports shows the methods that were changed. When I used the "where used" list to see if I can find the program that uses it, it takes me to the methods that are used within the Z class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a minute can you give me some pointers to check where this BADI is used in the standard program? If there is a way to delete this Z class that would be another option, but I am not sure how.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate you help and thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 14:50:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001574#M1606728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-20T14:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001575#M1606729</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'm sorry to not be able to help you, but I don't understand what you say. So, you are saying that the standard BAdI was &lt;STRONG&gt;renamed&lt;/STRONG&gt; and the standard program was also repaired to use the renamed BAdI? Are you sure that you are not talking about custom Z* implementation (with a ZCL* class) of the standard BAdI?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you paste the interesting portions of the code (calling program, called BAdI definition and implementation), I'm sure we will better understand...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 21:08:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001575#M1606729</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-06-20T21:08:54Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001576#M1606730</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;dear abaplearner: do you mean to say that you copied a default BADI implementation (provided by SAP) into the Z namespace, and now you want to revert back to the original SAP BADI implementation?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, you do not have to delete anything at all. You should use transaction SE19 to change which implementation is used (the original one).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;Joerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 14:47:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001576#M1606730</guid>
      <dc:creator>joerg_wegener</dc:creator>
      <dc:date>2011-06-22T14:47:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001577#M1606731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, that is exactly what I wanted to do. A consultant who worked on this copied the standard BADI and modified few methods in it. Now those changes are giving us a short dumps. Per recommendation from SAP we are trying to change it back to how it was delivered by SAP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you mentioned, I could now see the Z* implementation name changes when I went to SE19. I deactivated the Z changes there. I hope I did it correct and thinking this would make the standard SAP program access the standard BADI instead of Z. Please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: abaplerner on Jun 22, 2011 6:32 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 16:22:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001577#M1606731</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T16:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001578#M1606732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Joerg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WELL DONE! Thank you for having clarified the situation!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 16:37:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001578#M1606732</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-06-22T16:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001579#M1606733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandra,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please see my response to Jeorg. Thank you for trying to help me. I am sorry that was the best I could explain. Unfortunately, I am  not permitted to copy the code here. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you for your help. I appreciate it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 16:48:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001579#M1606733</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T16:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Changing methods</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001580#M1606734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Closing this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 16:50:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/changing-methods/m-p/8001580#M1606734</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-22T16:50:50Z</dc:date>
    </item>
  </channel>
</rss>

