Hello Thorsten,
I found a description for you. Hope this mechanism is described good enough
so that you can easily follow it:
The Navigation between two different Web Dynpro Applications can be
triggered by declaring an Exit Plug inside the Interface View Controller
of Application 'StartApp' with a parameter named 'Url' of type string.
The Url-parameter contains the qualified Url of the target Application
belonging to the target component (may be the same like the start comp).
For being able to fire this exit plug, a view controller
must first declare a controller usage for the Component Interface
View Controller: wdThis.wdGet.fireExitPlug
(url). The url to Application 'AnotherApp' can be retrieved by calling
WDURLGenerator.getApplicationURL("local/WebDynpro_InterAppsNavigation",
"AnotherApp") for a local DC, otherwise "com.sap/WebDynpro_InterAppsNav"
A URL-Parameter can easily be added to this URL by simple string
concatenation: urlToAnotherApp="?app.parameter="paramterValue;
So the caller transfers the paramter via URL. The target (here the
Startup-Plug-Eventhandler inside InterfaceViewController of 'AnotherApp'
('AnotherApp' must declare which startup-plug of which
Interface View has to be used)) receives this URL parameter in an addi-
tional Startup-Plug parameter named e.g. 'parameter'. Because the
URL-parameter was added following the notation app..wdGetContext().currentContext
Element().setReceivedParameter(parameter);
Best regards,
Karin
Add a comment