cancel
Showing results for 
Search instead for 
Did you mean: 

Navigate from one webdynpro to another webdynpro with no PCD object

Former Member
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

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