Skip to Content
author's profile photo Former Member
Former Member

BUG(?): delete a class in object navigator

Hello,

I think I encountered a rather major bug in the ABAP-Workbench / Object Navigator yesterday and still suffer from it:

I created an Interface - let's say IF_A - as well as an implementing class CL_A.

Later I moved both into another package by copying them.

Let's say they are now called IF_B and CL_B.

Obviously CL_B still contains references to IF_A when inspected or edited in the class builder. Any attempt to make CL_B implement IF_B failed.

As I saved the source code of each method of CL_A in wise foresight I now wanted to delete CL_B and rebuild it from scratch.

Deletion of class CL_B is not possible and gives numerous errors including something like '... class is already deleted...' but - sad enough - it still does exist.

So right now I have no chance to get rid of CL_B but I need to implement this class under the name CL_B - which is obviously a major problem - as soon as possible...

If anyone has a solution to this problem I would be more then happy !

Thanks in advance and best regards,

Patrick Baer

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on Feb 19, 2005 at 09:22 PM

    Wow...sounds interesting. Have you checked OSS for anything that resembles this problem. I would suggest checking there first.

    Regards,

    Rich Heilman

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2005 at 08:46 AM

    Hello,

    this morning I solved the problem.

    The key step in the solution was to use:

    Utilities -> Clean Up -> Method includes

    from the menu bar in the class builder.

    This finally removed all References to the old IF_A and I was able to implement the new IF_B successfully.

    SAP should nevertheless consider to improve consistency when moving / renaming / copying / deleting classes and interfaces.

    P.S.: I'm on Release 6.20 Level 46

    Best regards,

    Patrick Baer

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.