on 04-10-2018 6:22 AM
Try this code..add this code under press function in first app.Give your semantic object name and action of second app
if (sap.ushell && sap.ushell.Container && sap.ushell.Container.getService) {
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
oCrossAppNavigator.toExternal({ target: { semanticObject : "SEMANTIC OBJECT NAME", action: "display" }, //the app you're navigating to
});
} else
{ var text = "Cannot Navigate - Application Running Standalone"; jQuery.sap.log.info(text); othis.error(text); }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vinothkumar,
Kindly try to run the application on Fiori Launchpad. If you run the application in standalone mode it will not work.
Regards,
Meghal Shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
pay : function(){
var othis = this;
if (sap.ushell && sap.ushell.Container && sap.ushell.Container.getService) {
var oCrossAppNavigator = sap.ushell.Container.getService("CrossApplicationNavigation");
oCrossAppNavigator.toExternal({ target: { semanticObject : "SEMANTIC OBJECT NAME", action: "display" },
});
} else
{ var text = "Cannot Navigate - Application Running Standalone"; jQuery.sap.log.info(text); othis.error(text); }
}
try to run application in fiori launchpad
Hii drushya.sudhi
I Run this app in fiori launchpad only.. but still it not navigate to next app !!
Still I get a error like "othis.error" is not a function .
At the same time i choose another choice , when i remove else statement there is no any response from pay function.
i think the problem is occur in if statement .
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.