cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while calling "/userapi/currentUser" from SuccessFactors extantion SAPUI5 application

Former Member

Hi,

We have SAPUI5 application "supportfeed" deployed on SCP. Based on this application we made successFactors extension as shown in following comunity blogs.

https://blogs.sap.com/2017/12/03/create-html5-based-successfactors-extension-app-using-sap-cloud-pla...

https://blogs.sap.com/2017/12/03/create-html5-based-successfactors-extension-app-using-sap-cloud-pla...

https://blogs.sap.com/2017/12/03/create-html5-based-successfactors-extension-app-using-sap-cloud-pla...

We have problem while calling "/services/userapi/currentUser" service from UI5 application. In browser network logs we see the error 404

Request URL:
https://flpnwc-{....}.hana.ondemand.com/sap/fiori/portalsitetemplates/services/userapi/currentUser
Status Code:404 Not Found

But if we open this request url in new browser tab and change "portalsitetemplates" to "supportfeed" (SAPUI5 application name) it works without problem.
Request URL:https://flpnwc-{....}.hana.ondemand.com/sap/fiori/supportfeed/services/userapi/currentUser
Status Code:200 OK

Please help solving this issue.

Ravindra_T
Explorer
0 Kudos

Hi,

Are you able to find out the issue? We are facing similar issue in another app.

Accepted Solutions (0)

Answers (1)

Answers (1)

Bernard
Participant
0 Kudos

Are you using a destination configured in SCP to resolve the endpoint?

Check your datasource (manifest.json) as well as your destination (neo-app.json) and finally check your the config of your destination (if you are using a destination in your SCP).

Without showing us your code regarding the above its really hard to help solve this issue specifically.