cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Additional Binding in Consumption.valueHelpDefinition annotation not working.

max_mueller007
Explorer
2,574

I want to filter the results of my Value Help coming from another CDS View based on certain values, for which I am using the following code:

 

@Consumption.valueHelpDefinition: [{ qualifier: '', entity: { name: 'Z_ELEMENTS', element: 'ElementUuid' }, 
        distinctValues: true, enabled: '', 
        additionalBinding: [{localParameter: '', localElement: 'Board', localConstant: '', parameter: '', element: 'MetaBoard', 
        usage: #FILTER_AND_RESULT }], label: '', presentationVariantQualifier: '' }]

 

 

when I filter in the SQL console using the values and the join condition, it works fine, however, here the additional binding to filter does not work and gives me the whole unfiltered list, except in the case of using #FILTER, wherein in I get usually an empty result when used in Info View, and still the whole list when used in Projection Views.

 

I also do not understand the role of 'enabled' property, because n selecting anything, the application stops working.

 

Thank You

Accepted Solutions (0)

Answers (0)