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
Wow...sounds interesting. Have you checked OSS for anything that resembles this problem. I would suggest checking there first.
Regards,
Rich Heilman
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