4 weeks ago
I am trying to test $batch for GET request in ABAP Gateway tcode, but I am getting error Malformed syntax. However when i execute the get entity seperately it works.
I have attached the snapshots for the same.
Body
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
Accept: application/json
GET SalesOrderHeaderSet('5100000030') HTTP/1.1
--batch--
Also, if I understand correctly since I am going to use only GET requests inside the $batch so there is no need to redefine or implement the CHANGESET method.
Request clarification before answering.
Hi,
Can you try this.
keep two empty lines between "GET " and "--batch--" lines
--batch
Content-Type: application/http
Content-Transfer-Encoding: binary
GET SalesOrderHeaderSet('5100000030') HTTP/1.1
--batch--Thanks,
Bhargava
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.