Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Delete Package and associated Function group via SE80 - "Object xyz is still assigned to package"

0 Kudos

When trying to delete the highlighted package via right-click->Delete, i get the error message in 1.png

.

However, I can't find the function group that the message says is still assigned to the package. SE80 says the function group doesn't exist: (see 2.png)

TADIR shows the following corresponding entries: (see 3.png)

SE01 shows no unreleased change requests.

How do I get rid of the of the FUGR (function group) object, and its association with the highlighted package in screenshot 1, so that I can delete the package?

1 ACCEPTED SOLUTION

DominikTylczyn
Active Contributor

Hello c_fortmueller30

See note 1156585 - How to delete packages on the background of package deletion procedure and 1915543 - An object that has been deleted still exists in TADIR on TADIR entries for deleted objects and how to deal with those entries.

Best regards

Dominik Tylczynski

7 REPLIES 7

abo
Active Contributor

I've had this happen to me for an object which I had deleted but in a CR that was not yet released, slightly different situation.

Since this was in a demo system, I used a combination of "OO*DELETE" functions and TADIR clobbering (not recommended...). The system was otherwise pretty bare so not much risk in doing that.

EDIT: the other answers, in particular the one by 3a9e4ce873a94034b33dc62b0ce600ee, are far better. I'm leaving this one here for reference, but otherwise just ignore it.

BiberM
Active Participant

Deleting an object only Sets the deleted-flag in TADIR. Only when you release the transport the TADIR entry is deleted. So release the transport Request and then delete the package with a Second transport Request.

abo
Active Contributor
0 Kudos

Does it make a difference if the object and the package are local? With respect to TADIR and the in-use check, specifically.

BiberM
Active Participant
0 Kudos

I would have to Check. I never tested this. That is why I try to use package with an invalid transport layer Over subpackages of $tmp.

DominikTylczyn
Active Contributor

Hello c_fortmueller30

See note 1156585 - How to delete packages on the background of package deletion procedure and 1915543 - An object that has been deleted still exists in TADIR on TADIR entries for deleted objects and how to deal with those entries.

Best regards

Dominik Tylczynski

c_fortmueller30 Read these notes and do as they say. To synthesize, I guess that for the function group, you have to create a transport request, add manually the entry R3TR FUGR M...FUNCTIONGROUP and release the transport request. The TADIR entry of the function group should then be removed.

Thanks Dominik! After having reread 1156585 - How to delete packages, I was able to delete the function group and subsequently also the package by following the steps in the "Broken Objects" section of said note. I.e. recreating the function group that was still mentioned in TADIR, releasing associated transport request, and then deleting the just-created function group and again releasing the associated transport request. After this, I was able to delete the package that contained the function group, and TADIR now shows no more entries for said function group / package.