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 the collection is not to be imported to the target system, it can be discarded 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.
The collections can only be discarded if they are not imported yet. They can have the following status: Ready for Import, Automation Import Validation Failed, 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
SAP Knowledge Base Article - Public