Deletion of Redefined Method

Hello,
in se80 I work on class which has a super class.
I redefined a method of this class.
Later on  I deleted the redefined method.
When activiating, the compiler throws an error that the method is already implemented.
When navigating to the error it shows the method stub, which is supposed to be deleted. In addition, the method  is not shown in the tree view. When navigating to the method definition it shows the definition of the super class.
Can you tell me how I get rid of this method.
Best regards
Michael

Hi ,
thank you for your answer, but I think it does not solve the problem.
The situation is.
class child has super class parent.
In class child I redefined method foo.
Then I delete the redefined  method foo in class child.
Result: The class is deleted in the class definition.
The compiler throws an error "Class already" defined and shows the implementation of child->foo.
A new definition as u suggested is not possible, se80 states, that method is already defined. Only a new redefiniton of the method is possible.
What I hav done now is.
1. delete the defintion of the redefined method
2. Comment or delete the implementation of method
Result: The class can be activated.
But  I am not sure that this this the correct way, but it temporarily solves my problem.
Best regards
Michael

Similar Messages

  • How to delete standard payment method in use

    I am trying to delete some of the standard payment methods from table "V_T042ZL" but wont able to do as its giving error  "The payment method still used by some of the company codes."Now i found its used by some of the company codes.So please let me know where its assigned with company codes which needs to be deleted to delete standard payment method.

    hi
    payment methods which are already  existed, if u wanted to use u can use or you can create by going to new entries
    payment mehtod is defined with single digit code, the same payment mehod is defaulted with a feataure called ZLSCH
    so the payment method is  defaulted in 0009 info type
    that is enough
    in real time scenario, we will create our company code , so there is no such problem
    company codes are defined by fi/co

  • Redefined method is not getting triggered while Debugging

    Hi Experts,
    I have a requirement wherein I need to desplay Role information in Header level. To achieve this I have enhanced component ICCMP_BP_DETAIL and Window ICCMP_BP_DETAIL/MoreWindow. I have redefined method IF_BSP_WD_HISTORY_STATE_DESCR~GET_STATE_DESCRIPTION of class ZL_ICCMP_BP_MOREWINDOW_IMPL. But, surprisingly, while debugging, flow is not coming to this redefined method, though it was coming in standard method. Please guide what can be the possible reason for this.
    Regards,
    Keya
    Edited by: Keya Sit on Oct 14, 2009 2:32 PM

    Hi Keya,
    Hope you have activated your redefined method. Also check the configuration for controller replacement in SPRO and check the View Cluster-BSPWDVC_CMP_EXT.
    Regards
    Prasenjit

  • Delete P payment method

    Hi,
    I have faced problems when trying to delete payment method P from Russia country in FBZP as it is not needed. The problem is with one of the company codes where i should delete this payment method before i will delete it on country level. For 4 co codes out of 5 i have managed and one still showing the problem 'Payment method P is still in use in company code ....'. In Dev system we do not have any vendors or customers so checking MD if there is P somewhere is not valid also here, also no payment runs as MD is missing. So where to find the settings which are blocking deletion...
    One tip for maybe is that this company code created was copied at first stage from German company code so maybe Germany has some specific settings in place for P that should be removed before deletion...
    I would appreciate someone's help and of course will give points if successful.
    Tomek.

    Hi,
    In FBZP, Checkout whether it has something to do with bank determination where you link paying company code,ranking orders etc
    Thanks
    Aravind

  • HT201303 how to delete my payment method?

    how to delete my payment method and my credit card details?

    the none option dissapears when theres a unauthorized or pending operation.. check your purchase history to see if theres a pending charge that couldnt go through..if theres some pending payment, it gets fixed, using another credit/debit card or a itunes gift card once theres no pending operation, the none option returns
    it can also be blocked by too many personal information changes
    to unblock you need to contact apple support, so they can reset your account and try again.. its recommended to make changes at intervals no less than 30 minutes between attempts

  • Redefined methods in class

    hi exprets!!
    i am working in chaning in a class methods. i was given with a class and need to change only in redefined methods. can you please help me how to recognise the redefined methods in class and how to recognize the redefined  methods from other methods.
    plz help me on the same.
    thank you,
    Mahesh

    In a class, all inherited methods are show in 'display' format and the characters are shown in blue (highlighted). You can't change the name of the method, change parameters or whatever. All other methods are shown in 'edit' mode. Now for all methods inherited from superclass(es) only the redefined methods are shown in 'black' characters in stead of blue. These methods are the ones that are redefined. If you double click on the non-redefined methods, you get a pop-up message, saying that this method is implemented in superclass 'XXX'. For the redefined methods, this will not be the case.

  • Table with overview inherited and redefined method of class

    Hi,
    is there a table that indicates which method is inheriting the method of the superclass and which method is redefined ?
    I'm having a superclass with a lot of methods and a lot of subclasses.
    Now i'm checking every subclass separately if the methods are inherited or redefined. A table would be great.
    best regards,
    Hans

    In Class builder you can group them as per the Super Class and Interface methods.
    Go to SE24, open your class
    Utilities > Settings > Class Builder
    Select the Checkbox "Group By Interfaces and Superclasses"
    Redefined methods would appear with Black Color in the Group.
    You can also find the Redefined methods in the table SEOREDEF.
    Regards,
    Naimesh Patel

  • HT204266 How to delete my payment method and only use ITunes?

    If anyone can assists removing payment method and picking iTunes card. 

    iTunes Store: Changing Account Information
              http://support.apple.com/kb/HT1918

  • Syntax error caused by duplicate methods in class.

    We've applied service patches to CRM 7 and afterwards I found that there were two versions of a method in a class. There was the original (shown in blue) which should point to the superclass, but does not and point to the ZL.... class. Then there's the second copy of the method, shown in black, which is the Redefined method. But, I have never seen both in existance at the same time when view via se24 or the component workbench.
    This is what I have tried:
    Redefined the method (shown in blue). But then I have two methods of the same name (SET_COUNTRY)  both shown in black. If I reverse the redefiniation it does successfully remove one of the redefintions, so I'm back to the state that started with, having the origianl superclass method and its redefiinition present. 
    This problem is in out QAS environment. I corrected this issue in DEV by deleting the Redefined method. However, the transport created fails when moved into QAS and gives a syntax error saying that duplicate methods exist, or is called twice. Which happens to be the problem that the transport should fix.
    Can anyone suggest anything to try and fix this?.
    As a last resort I opened our QAS envirnment for changes and within SE24 choose the option Utilities/Check.... But this did not resolved anything as all the sub-options said that everything was okay.
    Desperate now, the ledge of this window is not very wide but it's starting to look appealing, even though the building is only one storey high.
    [RESOLVED]
    My sanity is restored. No matter what I tried I could not get a transport through to correct this issue. In the end I had to open up QAS for changes and delete the redefined method from ZL... class by commenting out the call statement, and then answer yes to the question 'Do you want to delete the method?'. After this I re-activated all and the WebUI now works okay.
    The trouble is I'll need to repeat this process in production after the upgrade.
    When the problem was fixed in DEV a transport was created, but this just gave an error 8 when imported into QAS. The message given was exactly the problem that it was trying to fix.
    Jason
    Edited by: Jason Stratham on Sep 14, 2010 3:10 PM

    I think you should ask this on the ML or open a feture request on the bugtracker.

  • Payment Method Deletion

    Hi,
    We are in 11.5.10
    We defined one payment method & saved it. When we try to delete it, we get the followng error:
    APP-PAY-52999: You cannot delete this payment method as it is being used by Oracle Cash Managemnt for reconcilation.
    We are not using Oracle CM. These methods are not assigned with any payroll or employee payments. Any suggestions how to delete payment methods.
    Tks.

    Hi,
    We are in UK legislation. There is no reconcilation tab in the form. There is a response in metalink for the same error & they ask to hit some tables in the back end.
    We created another payment method of type Cash, this time I removed mandatory segments of GB Bank Deatils FF, removed the values on Bank Details form & then save & was able to delete the payment method. But the same procedure did not work when try to delete payment methods of type BACS. It throws some update trigger failed exceptions.
    Thanks again.

  • Error When Deleting a Method Inside a Class

    I developed a custom class that contained a private method. I removed this method because it was no longer needed. When moving the changes from the development to test client, it failed on import. For some reason, there was still some dependency on the method that was deleted.
    I went back to transaction SE24 and regenerated all the sections. When this was done, it regenerated the class definition and the various sections. I moved a transport that contained these changes and it still failed. The import log has a reference to an include that is failing, but I still see no mention of the method that was deleted.
    To continue going forward, I added the method back so that it resolved syntax error during import.
    I am suspecting that there is some issue with ABAP support pack being used on the development system. Have other people experienced the same issue. I don't have the habit of deleting that many methods once it is created, but would like to understand the above problem and see what should be the corrective action.
    Feedback/comments would be appreciated.
    Regards,
    Vince Castello

    As mentioned in my original post, I did re-generate all the sections using SE24, but the import still failed where the dependency to deleted method still remained.
    I am planning to create a customer message and will post results when they become available.
    Regards,
    Vince Castello

  • How do I redefine a Method of a Final Class?

    Hi,
    Is it possible to redefine a method of a final class and if so, can someone please give me a brief example of that technique?
    Thank you very much!
    Andy

    Hi,
    Please find the example.
    Program Description :      Interface I1 contains two methods : M1 and M2.
    I1 is included and incorporated in class : C1 with M2 as a final method. Both the methods are implemented in class C1.
    Class C2 is a subclass of class C1. It redefines method : I1M1 and re-implements it, but it does not do that for I1M2 as that is declared as final method.
    In the START-OF-SELECTION block, object OREF1 is created from class C1 and OREF2 from class C2 and both the methods M1 and M2 are called using both the objects.
    Example:
    report ytest .
    interface i1 .
      methods : m1 ,
                m2 .
    endinterface.
    class c1 definition.
      public section.
       interfaces : I1 final methods m2 .
    endclass.
    class c1 implementation.
      method i1~m1.
       write:/5 'I am m1 in c1'.
      endmethod.
      method i1~m2.
       write:/5 'I am m2 in c1'.
      endmethod.
    endclass.
    class c2 definition inheriting from c1.
      public section.
       methods : i1~m1 redefinition .
    endclass.
    class c2 implementation.
      method : i1~m1.
       write:/5 'I am m1 in c2'.
      endmethod.
    endclass.
    start-of-selection.
      data : oref1 type ref to c1,
             oref2 type ref to c2 .
       create object : oref1 , oref2.
       call method  : oref1->i1~m1 , u201C Output : I am m1 in c1
                      oref2->i1~m1 , u201C Output : I am m1 in c2
                      oref1->i1~m2 , u201C Output : I am m2 in c1
                      oref2->i1~m2 . u201C Output : I am m2 in c1
    Output :      I am m1 in c1 
    I am m1 in c2 
    I am m2 in c1 
    I am m2 in c1 
    Thanks,
    Anitha

  • Deletion of a Payment method

    Dear comcast I had set up two payments method in my profile. Want to delete on payment method in the online profile.Please guide me for this.

    How I did this after failing to find the answer anywhere on 7/27/2015Step 1: Click "My Account" in the black bar at the top of the screen
    Step 2: Click "Billing & Payments" in the white bar just below that
    Two columns appear. At the top of the right column is a box titled "Account Profile" in red. "Stored payment methods" are listed here.
    Step 3: Click "Manage" next to "Stored payment methods"Step 4: Delete and confirm

  • Redefination of Method in Inherited Class

    dear Gurrus i am facing an issu.
    I have defined and implimented 2 classes A and B,
    B is inherited by A and B has also redefined an inherited method of A. at runtime i have created an  object of B and called a redifined method. and its working properly, but i have a requirment that i want to get result of the method orginally defined by class A and also at the same time i also want to see the result of redefined method by B.
    can i access the method of A class althoug i have redefiend the same method in B class using the object of B?
    Edited by: Shadab Ali on Jun 4, 2009 8:55 PM

    I spent a while looking into this after reading your question, and came to much the same conclusion you had. Here's the best I could come up with, but it suffers from all the flaws you mentioned:
         public static Type report(Method method, Class contextClass) {
              Type grt = method.getGenericReturnType();
              Class dc = method.getDeclaringClass();
              TypeVariable[] tva = dc.getTypeParameters();
              Class directDescendent = contextClass;
              while( !directDescendent.getSuperclass().equals(dc)) {
                   directDescendent = directDescendent.getSuperclass();
              Type t = directDescendent.getGenericSuperclass();
              if( t instanceof ParameterizedType ) {               
                   ParameterizedType pt = (ParameterizedType)t;
                   int index = 0;
                   for( Type ta : pt.getActualTypeArguments() ) {
                        if( tva[index++].equals(grt) ) return ta;
              return null;
         }Might be worth asking this again in the Generics forum.

  • Deleting Payment method

    Frnds
    i am trying to delete one of the payment method form the company code, but it gave  me error that pmt method is in use, so i went to bank determination and deleted all the bank accounts related to this particular pmt method.
    but now it give me message no F3113.
    what do i have to do to delete this pmt method.
    please reply asap
    thanks

    Hi,
    In transaction code FBZP first delete in Bank determination , next in Company Code and lastly in Payment methods in country. Are you trying to delete in Production client or in Development client? If it is Production client, you would have used the payment method in some payment runs and also it may be there in some Vendor masters / Vendor invoice documents. If it is used in some Vendor Masters / open Vendor invoice items system will not allow to delete the payment method.
    Thanks
    Murali.

Maybe you are looking for

  • E5 - unable to open. object type not supported

    hi.  2 Month back i brought Nokia E-5 Mobile and after few weeks i upgraded the Memory from 2Gb to 8GB. After copying all files from 2gb to 8gb am not able to open or install any existing programs and files. Even maps are not working. When trying to

  • Dreamweaver CS6 Fluid Grid Layout

    I fear there may not be a solution to this issue! I have placed several hotspots on an image in a Fluid Grid Layout div in DW CS6 and the problem is quite straightforward. Whilst the "image" reduces perfectly when viewed in Tablet and Smartphone scre

  • SSO configuration in BW system

    Hi, We configure SSO between EP and BW system.The basis people maintain th eportal in the below path .   1.In SPRO >select sap netweaver>Business intelligence >Bi integrated Planning>settings for starting the planning modeler. There u can give free U

  • OBIEE 10g - Ability to overlay Area Chart?

    Hi Experts, I am using OBIEE 10g. I have a requirement to plot Total Market Units with Brand units over time in an Area Chart. The requirement here is that the area of Brand Units should overlay on the Market units measure thus signifying that Brand

  • Disappearing Password in Mail

    From time to time I get in Mail the message that " no incoming mail can be received". I then have to go to >Mail >Preferences > Account information >Password and re-type my password >Safe. This opens up the incoming mail again. The strange thing is t