‎2007 Sep 04 2:55 PM
Hello everybody!
I have a big problem with class deletion. In SE80, I created a new custom class for my BSP application. But I made a typo in the class name and wanted to rename it. After renaming, the old class was still there, and I could not delete it.
I got a message "Objekttyp wurde bereits gelöscht" which means "object type is already deleted".
I made several refreshes of the item tree in SE80 and signed off and on several times. But still the old class is there.
I also tried removing it with SE24, with no success either.
The class is not used anywhere, i just created it and renamed it.
How can I get rid of the unused class?
Any help would be appreciated.
Stefan
‎2007 Sep 04 3:16 PM
Try this -
Utilities -> Clean Up -> Method includes
from the menu bar in the class builder.
~ As found in forum.
Regards,
Amit
Reward all hepful replies.
‎2007 Sep 04 3:42 PM
I forgot to mention that I already did this, with no effect.
‎2007 Sep 04 8:51 PM
With the item tree up in SE80 and the item selected, do Utilities --> Update Navigation Index.
However, you may be prevented from doing this if you cannot select the item due to it being deleted.
good luck
Brian
‎2007 Sep 05 2:39 PM
Exactly, the menu item is not accessible.
What else could I do to get rid of that class?
‎2007 Sep 05 9:00 PM
Hello Stefan
First I would try to use function module <b>OO_CLASS_DELETE</b> (which has a parameter FORCE !!!).
If this does not work then you can try the <i>brute force</i> approach:
1. Create a class having the same misspelled name in <i>another </i>development system (does not matter which one).
2. Release the transport request (A) containing the class.
3. Delete the class and release the transport request (B) containing the deletion entry, too.
First I would try to import request (B) with option "Overwrite originals".
If the class is still there then I would try to import (A) first followed by (B).
Regards
Uwe