cancel
Showing results for 
Search instead for 
Did you mean: 

unable to delete a package

Former Member
0 Kudos

Hello,

I have the following problem and error message :

- I cannot delete a package which was created by me

   and also contained some ABAP programs developed by me.

- It´s known that if a package is not empty it#s not possible to

delete. The browser ( SE80 ) shows there are no programs inside

but gives me error message :

cannot delete package still contains subobjects

Trying SE21 , delete , results in same error

I also checked that object ( package ) is not locked.

Now I don´t know how to progress. I have seen this subject

is handled several times but it seems that deleting objects

is sometimes more complicate than to write a program.

Thanks for your help

Regards,

Oskar

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member215739
Participant

Hi,


You get the error message "Package still contains the subobjects" even when you deleted all of them. It's because the entries in TABDIR are still existed (the link between the package with the objects).

You have to delete those links in SE03 by doing as follow.

After that you can delete the package.

Best regards,

Thanh

Former Member
0 Kudos

Hi,

Have you gone through this thread

http://scn.sap.com/thread/3680

Regards,

Venkata S Pagolu.

Former Member
0 Kudos

Venkat,

I have gone through this thread but not in detail.

Just some seconds before you send me your mail,

I wanted to make an add to my subject.

I have seen that SE80 shows the package which

I cannot delete, while "SE16n" with table TADIR

shows a program inside that package. So there

are definitly inconsistence between those.

My only remaining question is, how to delete

this program from "TADIR" the best way.

Would you recommend the way which is described

in that thread ?

Thanks for your answer.

Regards,

Oskar

Former Member
0 Kudos

Right-click on the package that you are trying to delete -> 'Other Functions' -> 'Rebuild Object List'.

Once you rebuild, the ‘problematic’ sub-objects will reappear and you can delete them again. Release the respective TR and then delete the main package.