Skip to Content
Apr 27, 2020 at 02:53 PM

Fiori/UI5 - Use destination for Ajax request (oDataV4)


Hello, everyone!

Is it possible to send request, with Ajax methods, to oDataV4 using an existing Destination in SCP?

The backend is oDataV4 and, as far as I know, I can't use .read() and others direct methods to get response using the Model. The batch seems to be unavailable in the backend.

So far, the workaround was the use of Ajax requests, but with the complete URI in code, wich I would like to avoid.

It would be more correct to get at least the root URI from Destination config in SCP.

Does anyone had this issue?