on 06-28-2018 11:15 AM
Hi!
I am working on an XsJob for a new Customer and I am having issues to send a batch request from XsJob side to Service Layer.
My goal is to do two operations (update on sales order & add new pick list) within a single transaction, so that a rollback is done if one of the operations fails. The httpdest for Service Layer is already configured, login/logout and other single (GET/POST) operations are working. I am having issues with the batch request because I cannot set the request body correctly for multipart content type within JavaScript.
Ahhh and I tested the batch request with postman and it worked (see here -> How to use Batch operation of SAP HANA Service layer for multiple transaction in one request), but I need a solution for JavaScript with $.web.WebRequest.
I was hoping that you can send me a tutorial link or code sample.
Thanks in advance,
Dénes Albert
We've got a very raw (but working) sample in the HANA Elearning repository.
But I am sure you can make it more pretty 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
106 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.