Skip to Content
0
Feb 09, 2015 at 04:07 AM

Not getting Mulltiple records from ODATA Service

653 Views

Hi ,



I am not getting the Multiple records for a Gateway ODATA service.


For example:

http://123.XXXX/sap/opu/odata/sap/ZXXX_ORDARRY_SRV/ORDDETSet(Userid='XYZ',Type='11')?$format=json


The requirement : I need to get multiple orders data from based on the User id 'XYZ'.


If I give the URL as '['http://123.XXXX/sap/opu/odata/sap/ZXXX_ORDARRY_SRV/ORDDETSet",
| http://123.XXXX/sap/opu/odata/sap/ZXXX_ORDARRY_SRV/ORDDETSet]

I will get the multiple orders.


Entity set Mapping is referred to a Function module where the User ID is passed to Custom table and we are able to get the Multiple values in the Tables Parameter.


But still the ODATA service returns the Single record.


Thanks,
Shreedhar