Skip to Content
0
Nov 07, 2018 at 04:37 AM

Access to SAP API Business Hub used S/4HANA Cloud OData API

208 Views Last edit May 21, 2020 at 03:14 PM 2 rev

Hello,

I'm trying to access OData API in SAP API Business Hub used SAPUI5 application and JavaScript.

First, I used User Management API in SAP SuccessFactors Foundation/Platform, and It was successful.

At this time,I used JavaScript code generated by Code Snippet function.

Next, I tried S/4HANA Cloud OData APIs similarly, but I'm not going well.

Connecting to sandbox was done, but I couldn't get data.

I got only this error, but I think it is unrelated because it occurred each time.

"jquery-dbg.js:9203 Failed to load resource: the server responded with a status of 404 ()"

The tutorial I referred to is here.

I did not understand the cause.

Would you like to tell me how to resolve?

Any help would be appreciated.

Thank you,

Yusaku.