on 10-13-2015 3:41 PM
Hi there
I have the following $expand query with filter option:
/sap/opu/odata/sap/ZMYSERVICE_SRV/entitySet('ABC')?$format=json&$expand=parent/child1/childOfChild&$filter=parent/child1/childOfChild/propertyOfchildOfChild eq 4
I tried to use the filter with parent/propertyOfParent, which was working. Is it possible to use $filter with nested ($expand) structures like my example?
thanks for your reply
Sandro
You can only filter on the properties of parent - In your case entity('ABC'). You cannot filter on 'child1' or 'child of child1'.
I am not sure if this is limitation or the way oDATA is supposed to work. But I tried it before and it did not work for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Sandro,
You are using Keys and also filters to pass inputs along with expand which i don't think its supported.
Either use Keys with expand or filters with expand.
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.