Skip to Content
0

Cross App Navigation URL

Jan 20, 2017 at 12:43 PM

74

avatar image

Hello everyone,

I have a question about cross-app navigation.

I need to navigate to the following URL:

https://ldcif6d.wdf.sap.corp:44300/sap/bc/gui/sap/its/webgui?~transaction=*ST22%20S_UNAME-LOW=;S_MANDT-LOW=100;S_DATUM-LOW=05.01.2017

Parameters should be separated with ; and not with &

I use the following code in controller:

if (sap.ushell && sap.ushell.Container && sap.ushell.Container.getService("CrossApplicationNavigation")) {
	this.crossApp = sap.ushell.Container.getService("CrossApplicationNavigation");
	this.crossApp.toExternal({
	target: {
	        semanticObject: "Customer",
		action: "manage"
	},
	params: {
               "S_DATUM-LOW": date
		}
	});
}

and I get the wrong URL:

https://ldcif6d.wdf.sap.corp:44300/sap/bc/gui/sap/its/webgui?~transaction=*ST22%20S_UNAME-LOW=;S_MANDT-LOW=100&S_DATUM-LOW=05.01.2017

Added parameter is separated with &, which is wrong, it needs to be ;. Is there any way to fix it?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Alexandra Wins
Feb 07, 2017 at 12:26 PM
0

the call from a Tile takes place not through the /sap/bc/gui/sap/its/webgui ICF node

the right answer would be to use a different URL, it should look like this:

"https://ldcif6d.wdf.sap.corp:44300/sap/bc/ui2/nwbc/~canvas;window=app/transaction/ST22?S_UNAME-LOW=&S_MANDT-LOW=100"

Now parameters can be concatenated with &

Share
10 |10000 characters needed characters left characters exceeded