I want to navigate to another application from my fiori app in abap environment(bsp), and I am using
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
However, this line throws an error in the browser,
Uncaught TypeError: Cannot read property 'getService' of undefined
I have included sap.ushell in the libraries in bootstrap, but this problem persists.
Appreciate any suggestions on what can be the cause.