SAP Knowledge Base Article - Public

2776397 - Cloud Studio Assemble and Dowload Error - 123.xbo Element 'ABC' referenced by node 'DEF' of business object extension '456';Deletion not possible.

Symptom

You See the following error when you try to Assemble and Download your custom PDI Solution in Cloud Application Studio.

"123.xbo Element 'ABC' referenced by node 'DEF' of business object extension '456';Deletion not possible."

(123.xbo refers to an extension business object(XBO), ABC refers to an element of that XBO, DEF refers to a node, '456' refers to a second extension business object )

Environment

  • SAP Cloud Application Studio
  • SAP Hybris Cloud for Customer
  • SAP Business ByDesign

Reproducing the Issue

  1. Open your custom Solution in the cloud studio.
  2. Click Assemble & Download from the Implementation Manager window.
  3. Assemble and Download fails with errors
  4. You observe the above error in the pop up window.
  5. Navigate to the version history tab of Implementation Manager
  6. You see in the Log File that Activation has failed.

 

Cause

You have used the [Relation], [Decimal] or [Transient] annotation in combination with the [References] Annotation which is not allowed.

In the error message '123.xbo Element 'ABC' referenced by node 'DEF' of business object extension '456';Deletion not possible.' :

  • 123.xbo refers to an extension business object(XBO) in which you have declared an element with the [Relation], [Decimal] or [Transient] annotations.
  • Element 'ABC' refers the element on extension business object 123.xbo.
  • DEF refers to a business object node.
  • '456' refers to a second extension business object on which you have used the Element ABC with the annotation [References].

Please see section 7.2.3.14  Relation (Business Object Extension) of the SAP Cloud Application Studio Help Manual.

NOTE: The [Relation] annotation enables you to create a reference to a business object by using the identifier of an element, for example, ID, PartyID, or UUID as the target of the reference. Thus, you can create an element that is like the element you are referring to and retrieve the data of this element, for example, for an object value selector or a query. Tooltips and labels are not retrieved from the element you are referring to. You need to specify the namespace in the annotation, if the namespace has not yet been specified in the definition of the business object extension.

 You can combine the Relation annotation with the Scenario, Label, and Tooltip annotations and with default values but not with the Reference, Decimal, and Transient annotations.

 

Resolution

Revise your custom code and remove the [Relation], [Decimal] or [Transient] annotation from those elements which you wish to reference on a second Business Object or Node.

Keywords

Assemble, Download. Activation, Referenced, Deletion, [References] , Error - 123.xbo Element 'ABC' referenced by node 'DEF' of business object extension '456';Deletion not possible. , KBA , AP-RC-BDS-LM , ByDesign Studio Lifecycle Management , AP-RC-BDS-BO , ByDesign Studio BO definition/generation , Problem

Product

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