cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Cloud SDK (Javascript) does not generate bound actions/functions

DanielSchneider
Explorer
0 Kudos
76

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

Accepted Solutions (0)

Answers (0)