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

  • Cloud Applications Studio
  • UI Designer
  • SAP Hybris Cloud for Customer
  • SAP BusinessByDesign

Reproducing the Issue

  1. Open SDK.
  2. Load correspondent Solution.
  3. Try to delete a file which was referred by another UI component.
  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 it's parent UI component.

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

WCF, WCVIEW, OWL, QC, QV, TI, TT

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

This scenario requests interaction from SAP Support. Raise an incident and Support will follow up with the changes.

Keywords

'Please activate and check in the object'; 'is inactive. Please activate it in the UI-Designer'; , KBA , AP-RC-BDS-UI , ByDesign Studio UI Generation , Problem

Product

SAP Business ByDesign all versions ; SAP HYBRIS C4C CORE all versions