on 2024 Jul 16 12:11 PM
Hi community,
I'm using SAP Cloud SDK for JavaScript to generate a client for SAP standard API services, OData v4 protocol (e.g. https://api.sap.com/api/WAREHOUSEORDER_0001/overview). The resulting client does not generate bound actions (there are many in the mentioned services above, one would be ConfirmWarehouseTaskExact on the WarehouseTask entity). This is not an issue related to this specific service. It seems to me that bound functions are simply not supported by the generator. Is that true and if yes, do you know if there is any plan to introduce this feature?
According to the documentation it is (in general) possible to call bound actions with Cloud SDK:
https://sap.github.io/cloud-sdk/docs/js/features/odata/v4-client#operations-functions-and-actions
Right now I'm using a workaround, calling the action manually with sap-cloud-sdk/http-client. But I would much prefer calling it with the generated client (most of all to be able to make batch calls conveniently).
Thanks for any input!
Daniel
User | Count |
---|---|
62 | |
12 | |
7 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.