Symptom
When attempting to delete a Software Collection, you're getting the error "Collection XXX is already exported and thus can't be deleted.".
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Go to Export Software Collection app
- Open the Software Collection that you want to delete
- Click on "Delete" button
- Error message will be triggered
Cause
It's not possible to delete a Software Collection that was already exported.
Resolution
If you don't want to import it in the target system, you can discard it in Import Collection app.
A discarded collection version is automatically transported to all subsequent systems so that any dependencies on the current version no longer exist.
You can only discard collections that were not imported yet. They can have the following status: Ready for Import, Automation Import Validation Failed, Partially Imported, Imported with Errors, Not Forwarded, Forwarding Failed, Restart Required.
Kindly note that SAP Central Business Configuration collection versions can’t be discarded.
See Also
For more information, check the following documentations:
Keywords
import, collection, export, software, delete, remove, discard, cannot be deleted , KBA , BC-SRV-APS-EXT-SL , Manage and Import Software Collections , Problem