Skip to Content
0
Apr 13, 2017 at 08:33 AM

SAP OData returns no response on batch operation

95 Views Last edit Apr 13, 2017 at 08:58 AM 3 rev

Hi,

I am trying to retrieve multiple entity set data in batch operation below is my URL with post operation

http://<server>/sap/opu/odata/SAP/ZEMPLOYEE_SRV/$batch

and body contents are as below

--batch


Content-Type: application/http
Content-Transfer-Encoding: binary


GET EmployeeSet?$format=json HTTP/1.1

--batch


Content-Type: application/http
Content-Transfer-Encoding: binary


GET loginSet?$format=json HTTP/1.1


--batch

Passing the X-CSRF-TOKEN, Content-Type, and Authorization content in header correctly. The Status is 202 but returns "no response data". Any idea what can be the reason.

Regards,

Narayan