Skip to Content

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

Problem to reload a App

Hi,

I am trying to reload an App in the same window after executing a button (Like F5 the explorer).

I am using this code:

IWDMessageManager messageMgr = wdComponentAPI.getMessageManager();

String deployableObjectName =

wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();

Map urlParameters = new HashMap();

try {

WDDeployableObjectPart deployableObjectPart =

WDDeployableObject.getDeployableObjectPart( deployableObjectName,

"AppWty", WDDeployableObjectPartType.APPLICATION);

String url = WDURLGenerator.getApplicationURL(deployableObjectPart, urlParameters);

wdThis.wdGetContext().currentContextElement().setURL(url);

wdThis.wdGetStartCompInterfaceViewController().wdFirePlugStartAppExit(url);

} catch (WDURLException e) {

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

} catch (WDDeploymentException ex) {

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

}

this Don’t work. Because, after executing the button it returns to the same screen and when attempt to execute another action in the window leaves the following error to me:

”Error 501: The page has expired executes refresh there or the following Link “

The idea is that when the action is executed automatically it refreshes the screen and no has this error.

Somebody can help me please?

Thanks…

Nohemi

Former Member

Helpful Answer

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