SAP Knowledge Base Article - Public

2757770 - Error "File /YABC_XX/SRC/.../XYZ.uicomponent can not be cleanup because it is referred by file /YABC_XX/SRC/STABLE_ANCHORS/.../PQR.uianchor "

Symptom

You are receiving an error when you try to delete an UI Component file from your solution.

File /YABC_XX/SRC/.../XYZ.uicomponent can not be cleanup because it is referred by file /YABC_XX/SRC/STABLE_ANCHORS/.../PQR.uianchor (YABC stands for the PDI Solution ID, XYZ Stands for the UI Component Name, PQR stands for the Stable Anchor ID)

Environment

  • SAP Cloud for Customer
  • SAP Business ByDesign
  • SAP Cloud Applications Studio

Reproducing the Issue

  1. Login to SDK
  2. Open the solution
  3. Right click on the UI Component file that you want to delete
  4. Select Delete option
  5. Error pop ups: File /YABC_XX/SRC/.../XYZ.uicomponent can not be cleanup because it is referred by file /YABC_XX/SRC/STABLE_ANCHORS/.../PQR.uianchor

Cause

The issue is caused due to the stable anchors which you have created using the UI Designer.
Stable Anchors are not supposed to be create for certain UI Components as QA, for example. If created then solution will give such inconsistencies.

Resolution

The stable anchor reference should be deleted from the backend as you would be able to see this reference in the UI designer.  Please kindly report an incident for deleting stable anchor.

See Also

See also 2182459 - Error When Deleting an UI Component of a Solution from SDK (Internal Use Only)

Keywords

Delete UI Component Stable Anchor , KBA , AP-RC-BDS-UI , ByDesign Studio UI Generation , How To

Product

SAP Business ByDesign 1902 ; SAP Cloud Applications Studio 1902 ; SAP Cloud for Customer add-ins 1902