Hi Colleagues,
Please let me know some workaround for the below requirement
here i have two webdynpro application, where i have to call the second application from a button of first application by passing a parameter
please let me know hoe to proceed here
i have some information attached below....Is it the right way to do it? or am i missing somethinng here
String deployableObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();
Map urlParameters = new HashMap();
try {
urlParameters.put("A",CVNR);
WDDeployableObjectPart deployableObjectPart =WDDeployableObject.getDeployableObjectPart(
"a1s~cc~checkprerequisites","Preq",WDDeployableObjectPartType.APPLICATION);
String urlToTargetApp =WDURLGenerator.getApplicationURL(deployableObjectPart, urlParameters);
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(urlToTargetApp);
window.show();
}
catch (WDURLException e) {
wdComponentAPI.getMessageManager().reportException(e.getLocalizedMessage(), false);
} catch (WDDeploymentException ex) {
wdComponentAPI.getMessageManager().reportException(ex.getLocalizedMessage(), false);
}
Thanks & Regards
Swetha