SAP Knowledge Base Article - Public

2670788 - Unable to Delete Partner Created UI in Cloud Studio Due to Reference From Other UI Components/PDI Anchor

Symptom

You are trying to delete an object that is still being referenced from other UI component/PDI Anchor, but this is prompting errors.

Environment

  • SAP Cloud Applications Studio
  • SAP Cloud for Customer
  • SAP BusinessByDesign

Reproducing the Issue

  1. Open SAP Cloud Applications Studio.
  2. Load correspondent solution. 
  3. Try to delete a UI component file.
  4. Error is prompted.

Cause

Screens created by Partner using navigation (Thing Based or Object Based) usually face issue in deletion due to being referred by other UI component.

When a screen is created by selecting navigation scenario in Cloud Studio, a set of UI components are created based on the selected navigation. All the UI components are referenced by one another. For deleting such UI components, you need to delete them from top to bottom level reference approach. This is because all the child level UI components will have a reference in its parent UI component.

For example: OWL will have a reference in WCVIEW which in turn will be referred by Work Center (WCF).

In case, WCF is referred by any PDI anchor then first this PDI anchor or the reference needs to be removed then follow above steps.

Resolution

Try deleting the screens in this order:

WCF, WCVIEW, OWL, QC / QA, QV, TI / OIF, TT / PTP

Keywords

PDI, SDK, inactive, please, activate, it, in, UI, designer, File, can, not, be, cleanup, because, it, is, refered, by, file , KBA , AP-RC-UIF-DT , UI Framework Designtime , How To

Product

SAP Business ByDesign all versions ; SAP Cloud Applications Studio all versions ; SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions