Symptom
When trying to delete a KUT extension field while on adaptation mode, the below error message prevents the field being deleted:
- Can't delete extension field; delete all related references and try again; Field deletion not possible; field is used in customer-specific solutions
Environment
- SAP Cloud for Customer
- SAP Business ByDesign
- SAP Cloud Applications Studio
Reproducing the Issue
- Go to the related work center and view.
- Start Adaptation mode.
- Select the field which you want to delete.
- Click on Delete button.
Cause
- As long as a customer-specific field (KUT extension field) is referenced by an add-on solution from the Cloud Applications Studio, it cannot be deleted anymore.
- Another possibility is that the Extension Field is still with Extension Scenario and also maintained in the Data Source and Reports, and Services.
Resolution
If you want to delete a reference to a customer-specific field in your solution, make sure that you delete it in the script file which uses the field first and uncheck it from the .ref file.
However, in case the field is being referenced by the original solution, deletion is not supported.
You may overcome this with one of the suggestions below:
- Hide the field using the Adaptation mode, so it is not visible to the business users;
- Delete the CT which adds the field to the screen;
- Assemble and download the latest patch solution which does not contain the field on the .ref file and deploy it on top of the original solution. After that, you may delete the field.
- Deactivate all the Extension Scenarios in the Show Further Usage.
- Deactivate all the Services in the Show Further Usage.
- Deactivate all the Data Source and Reports in the Show Further Usage.
See Also
Keywords
PDI, SDK, Extension Field, Unable, Cannot, Delete, Remove, nothing happens, No error. , KBA , can't delete extension field; , BC-DWB-REP-EXT , Extensibility , AP-RC-UIF-FLX , Page Layout & Key User Configuration , How To
SAP Knowledge Base Article - Public