2025 Apr 12 5:50 AM - edited 2025 Apr 12 5:54 AM
I have a field called Status where it's possible values are stores into a Domain.
In the CDS, I have a value help CDS reading the domain
Consumption CDS:
Metadata Extension
It works fine in the Worklist Page
But not in the Object Page when creating, Editing or just displaying
Is there something I'm missing?
Request clarification before answering.
Hi @brunobrito2,
I think there is an association to ZVH_CONTRACTSTATUS missing in the consumption CDS View.
define view entity [ConsumptionViewName]
as select from [Source]
...
association [0..1] to ZVH_CONTRACTSTATUS as _ContractStatusVH
on $projection.Status = _ContractStatusVH.Status
{
...
@ObjectModel.text.element: ['Text']
@Consumption.valueHelpDefinition: [{entity: { name: 'ZVH_CONTRACTSTATUS',
element: 'Status' } }]
status as Status,
...
_ContractStatusVH.Text as Text
}
I hope this helps you resolve the issue.
BR,
Elda
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
22 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.