SAP Knowledge Base Article - Public

3040937 - Error: UI Designer has caught an exception. XRepositoryException (4)Element [ABC] is transient but has no valuation source, hence it cannot be resolved [BO/node: [BO /Node]

Symptom

The customer reports the following error when binding a standard BO element/field to the UI data model or when activating their screen:

  • UI Designer has caught an exception. XRepositoryException (4)Element 'FORMATTED_NAME' is transient but has no valuation source, hence it cannot be resolved [BO/node: IDENTITY/ROOT]
  • The usage of this BO entity is not allowed in mode 'UI': 'Element 'FORMATTED_NAME' is transient but has no valuation source, hence it cannot be resolved [BO/node: IDENTITY/ROOT]'
  • SADL View generation failed
  • An exception was raised

Environment

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

Reproducing the Issue

  1. Bind the UI data field to the standard BO field
  2. Activate the screen
  3. Error Appears 
  4. Open the SADL Query - You will see the field in the error message is checked in the result set. 

In this example, the field FormattedName should have the "Result" checkbox removed:

 

Cause

The error happens because a UI data model field is bound to a transient field and is used in a SADL query.
A transient field can never be used in a SADL Query as it will have no value on loading.

Resolution

To resolve the issue, the field should be unchecked from the result column in the SADL Query.

See Also

[Enter your See Also here...]

Keywords

PDI, SDK, Custom, OWL, EC, OVS, transient, valuation, source, bind, binding, activation, usage, BO, entity, not, allowed, mode , KBA , AP-RC-UIF-DT , UI Framework Designtime , AP-RC-UIF , C4C UI Framework , Problem

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 2102