I am trying to use the standard logoff Service /sap/public/bc/icf/logoff for logoff on custom button, When i run this
https://webidetesting3880479-XXXXXtrial.dispatcher.hanatrial.ondemand.com/sap/public/bc/icf/logoff
It is giving HTTP Status 404 - Not Found error.
Even tried
window.location.href = "/sap/public/bc/icf/logoff?redirectURL=/sap/bc/bsp/sap/zpocnapp/index.htm";
Best regards, Rohit