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 )
SAP Cloud Application Studio
SAP Hybris Cloud for Customer
SAP Business ByDesign
Reproducing the Issue
Open your custom Solution in the cloud studio.
Click Assemble & Download from the Implementation Manager window.
Assemble and Download fails with errors
You observe the above error in the pop up window.
Navigate to the version history tab of Implementation Manager
You see in the Log File that Activation has failed.
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 188.8.131.52 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.
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.
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