‎2021 Jun 02 3:50 AM
Hello Experts:
I am working with Purchase Order (A_PurchaseOrder) standard OData API on S4/Hana on Prem version.
The service exposed is a V2 service.
The issue is I have 2 fields that I need to filter from the expaned object to_PurchaseOrderItem. And this is not possible because the 1:N issue, and a bit of research point to the fact that filter in 1:N relationship expand object is not allowed in V2.
In the S4Hana Cloud version, I could use A_PurchaseOrderItem than expand to_PurchaseOrder. But this is not available in the current version of S4Hana on-prem, the to_PurchaseOrder expand Object.
1. Anyway I can upgrade standard API to V4 from V2, or to the same version as Cloud where I can either do filter against sub structure.
2. Anyway i can filter 1:N substructure in the current version?