Hi,
I tried the Fiori Worklist Application template following the online tutorial and it works great. Then I wanted to use the same template to create a simple list of users from a SuccessFactors system. I setup a destination as shown below.
Field | Entry |
Name | sap_hcmcloud_core_odata |
Type | HTTP |
Description | SuccessFactors Core OData API |
URL | https://sfsfbizxtrial.hana.ondemand.com/odata/v2 |
Proxy Type | Internet |
Authentication | BasicAuthentication |
User | <S000xxxxxxx> |
Password | <password> |
The entity that I want to read from is User. The data binding is shown below.
When I run the generated application (without any modification), I get the following error.
The details of the error is shown below.
{
"message": "HTTP request failed",
"headers": [],
"statusCode": 500,
"statusText": "Internal Server Error",
"responseText": "<html><head><title>Error report</title></head><body><h1>HTTP Status 500 - while trying to invoke the method org.apache.http.client.methods.HttpRequestBase.addHeader(java.lang.String, java.lang.String) of a null object loaded from local variable 'backendRequest'</h1></body></html>"
}
I tried reading the User table using OData query (via Postman) and it works. What did I do wrong?
Thanks!