cancel
Showing results for 
Search instead for 
Did you mean: 

Value Help Text not showing up in Object Page

brunobrito2
Explorer
0 Kudos
326

 

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

brunobrito2_4-1744433333427.png

Consumption CDS:

brunobrito2_3-1744433312132.png

Metadata Extension

brunobrito2_0-1744433584621.png

 

It works fine in the Worklist Page

brunobrito2_5-1744433388302.png

 

But not in the Object Page when creating, Editing or just displaying

brunobrito2_2-1744432568993.png

 

Is there something I'm missing?

 

View Entire Topic
EldaL
Advisor
Advisor

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

brunobrito2
Explorer
0 Kudos
yeah... that was it... so stupid and I was not able to see it... Thanks