Warm tip: This article is reproduced from serverfault.com, please click

How to call bound functions / actions inside Java client using SAP Cloud SDK?

发布于 2021-02-19 14:51:02

I have question regarding SAP Cloud SDK. First of all, I need to say that this is one really good library for consuming OData services and I just wanted to pointed that you are doing good job! Tutorials on generating VDMs and other stuff are simply awesome!

Onto the question. How can I call Bound Functions or Actions from client? I have searched/watched videos and only thing I found was that on May 5, 2020 in video SAP Cloud SDK: Update Call for SAP Community you said that Bound functions are not yet supported. What is the status of that and how could I implement client using bound functions?

Hope you will be able to help me. Matija

P.S. Get All, Get By Key, Post, Patch, Delete, Unbound Functions and Actions work FLAWLESS

Questioner
Matija Lazar
Viewed
0
MatKuhr 2021-06-04 16:21:37

As of version 3.46.0 the SAP Cloud SDK for Java has built in support for bound functions and actions.

This allows for building requests directly from the VDM. The entity classes will expose all functions and actions bound to them on the API. Check the documentation for how to use the API.