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
- Bind the UI data field to the standard BO field
- Activate the screen
- Error Appears
- 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