Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Inter-application navigation

Hi All,

I am trying to develop an Inter-application navigation project according to the guidelines provided in the sample project. When I click next to go to the next(TargetApp) application screen, there is no change in the screen, while on pressing the next button second time, i get an error stating, my application (StartApp) has expired, which means that the instance is deleted.

I am writing the code that I have used :

IWDMessageManager messageMgr = wdComponentAPI.getMessageManager();

String DeployableObjectName =

wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();

Map Parameters = new HashMap();

Parameters.put("hugo",wdContext.currentContextElement().getParameter());

try {

WDDeployableObjectPart DeployableObjectPart =

WDDeployableObject.getDeployableObjectPart(DeployableObjectName,"TargetApp",WDDeployableObjectPartType.APPLICATION);

String urlToTargetApp = WDURLGenerator.getApplicationURL(DeployableObjectPart, Parameters);

wdThis.wdGetStartWindowInterfaceViewController().wdFirePlugStartAppExit(urlToTargetApp);

}

catch(WDURLException e)

{messageMgr.reportException(e.getLocalizedMessage(),false);

}

catch(WDDeploymentException ex)

{messageMgr.reportException(ex.getLocalizedMessage(),false);

}

//@@end

Please help.

Cheers!!!!

Umang

Not what you were looking for? View more on this topic or Ask a question