a month ago
Hi Experts,
We’re working on a Node.js(CAP) backend integration with a custom SAP OData service (ZP_MM_XXXXXXXXX). Our requirement is to:
Send a $batch request
Which includes multiple PUT operations (to update ASN items)
Followed by a POST to /to_shipheaddet (to finalize the delivery creation)
All wrapped inside a changeset for transactional behavior
We currently build the multipart/mixed batch body manually using raw fetch or axios. The format closely mimics what SAP GUI or Gateway Client generates — with nested boundaries, embedded HTTP headers, and CRLF handling.
So far, this works perfectly.
So now my question is,
Can this be done using an OData client in Node.js? For example:
simple-odata-client
odata-client
@sap-cloud-sdk
If not directly supported — is there a known workaround?
E.g., using executeHttpRequestRaw() with custom headers?
@sap @cap @NodeJs @BTP @SAP
Request clarification before answering.
User | Count |
---|---|
73 | |
21 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.