on 02-12-2008 12:41 AM
Hi,
I have 2 custom WD applications that were added to area group menus in ESS. Because of this, they dont have an Iview with a PCD location. How would I programatically navigate to one of these webdynpro apps without knowing the PCD location?
Hi KF
Go through this SDN Document on [Inter application navigation|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/91b6ad90-0201-0010-efa3-9626d2685b6e]
I hope it helps you.
Regards
Kapil S Kamble
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found this to work:
String deployableObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
try {
WDDeployableObjectPart deployableObjectPart =
WDDeployableObject.getDeployableObjectPart( deployableObjectName, <Your Application Name>,
WDDeployableObjectPartType.APPLICATION);
String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart, new HashMap());
wdThis.wdGet<InterfaceViewController>().wdFirePlugExitApp(urlToTargetApp);
} catch (WDURLException e) {
wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
} catch (WDDeploymentException ex) {
wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage(), false);
}
Also,
Very funny...I found that the String param on the Exit plug has to be defined with an uppercase "U"
String Url not String url
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.