cancel
Showing results for 
Search instead for 
Did you mean: 

Filter Transformation in SAP CAP JAVA

jyotsna_singam
Explorer

Hi All,

We have a scenario in CAP JAVA project to add property from item level entity (1..n cardinatlity) to header entity filters. Ex: PO Headers to be filtered by PO Item's Material in UI list report. This is possible via virtual elements and Filter transformation in ABAP CDS. Is there any alternative to it in CAP entities? We are using ODATA V2 to support smart controls in UI. Please help with your inputs.

View Entire Topic
0 Kudos

If you are using OData v4, then in the v4 query you can use the filter at any level.

Kindly refer to the link.

https://blogs.sap.com/2021/02/05/is-it-time-to-switch-to-odata-v4/