Symptom
You are trying to delete a PDI Add-On from Cloud Application Studio, but the deletion failed with the below error:-
"Solution YXYZ_ cannot be deleted before patch solution YPQR_ is discarded"
Where YXYZ_ is the orginal solution namespace and YPQR_ is the patch solution namespace.
Environment
SAP Cloud for Customer
SAP Business ByDesign
SAP Cloud Application Studio
Reproducing the Issue
- Login to the tenant in Cloud Application Studio.
- Right click on the solution under My Solutions.
- Click on Delete Solution.
- Error message appears.
Cause
Deletion of orginal solution is not allowed if a patch exists for the solution.
Resolution
You need to delete the corresponding patch solution first(YPQR_). Once the patch solution is completely deleted, you can proceed with the deletion of orginal solution(YXYZ_).
See Also
Refer to the below knowledge base article to know more about the deletion process from SDK:
Keywords
error while deleting solution, unable to delete pdi solution, how to delete orginal solution, Solution Cannot be Deleted Before Patch Solution is Discarded , KBA , solution deletion , sdk , pdi , solution deletion error , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , AP-RC-BDS-1O , ByDesign Studio OneOffs , Problem