Skip to Content
0
Feb 18, 2021 at 11:39 AM

Filter Value help results in Child entity based on parent entity field value

388 Views

Hi Experts,

I have a RAP based oData service, which is composed on a parent and its child entities. Now, we have a requirement to add a Value Help for one of the child entity field. I have 2 issues here:

1. The source CDS of this Value help is a parametrized CDS. How can I pass parameters along with entity name in @consumption.valuehelpDefinition annotation?

2. I want to filter records in this Value help on the basis of a field value from its parent entity.

Could you please help?

Thanks,

Aman Garg