on 02-08-2014 7:45 AM
Hello Experts,
I am Performing a Batch Operation to Query as described below.
But i am unable to see the content in the response.
I have followed the standard way to implement Batch operation as per suggested by Gateway experts in this forum.
Still i am unable to get the content in the response of the batch.
I Kindly request all Gateway experts to provide your valuable inputs to resolve this issue and suggest/guide me if anything is wrong from my side so that i can correct.
The below are the details :
Both /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_BEGIN & /IWBEP/IF_MGW_APPL_SRV_RUNTIME~CHANGESET_END are redefined.
METHOD -
URL -
http://********/sap/opu/odata/sap/<; My Service Name >/$batch
HEADER -
Authorization: SAP ID & PASSWORD
x-csrf-token: Enter Token
Content-Type: multipart/mixed; boundary=batch
BODY -
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/json
GET get_rec_types1?$filter=ImWhttype eq 'XX' and ImCountry eq 'IN' HTTP/1.1
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/json
GET get_rec_types1?$filter=ImWhttype eq 'XX' and ImCountry eq 'IN' HTTP/1.1
--batch--
RESPONSE -
RESPONSR BODY -
Thanks & Regards,
Ashwin
Hello Arun,
I also noticed that 400 Bad Request comes only when i apply filters.
With out filters data is coming ( i.e., entity collection ).
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 |
---|---|
78 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.