cancel
Showing results for 
Search instead for 
Did you mean: 

Replace SAP delivered CDS value help associations

Former Member
0 Kudos

Hi SCN,

We would like to replace a standard CDS view's value help associations with custom ones, in order to restrict associated objects selection based on the value of our custom field.

Seems it is not possible to override the standard association in an extend view.

What would be the best approach to achieve this?

Thanks,

T

gasparerdelyi
Active Participant
0 Kudos

Is metadata extension allowed for the standard CDS view?

Former Member
0 Kudos

Hey gasparerdelyi. Yes it is.

Accepted Solutions (0)

Answers (1)

Answers (1)

gasparerdelyi
Active Participant
0 Kudos

No need to replace the association (that can be also a foreign key association at the same time, used for other purposes as well).

In case Metadata Extension is allowed, make use of @Consumption.valueHelp or @Consumption.valueHelpDefinition annotations (and subannotations of them).

See Help Portal content on these annotations here for example.