cancel
Showing results for 
Search instead for 
Did you mean: 

Exit App

Former Member
0 Kudos

Hi All.

I'm working in an application that has the sap.authencation property set to true, when the app is executed this launch the login screen standard of SAP Netweaver. I wanna know how can i implement a logout action that exits the app and places the app in the first page(standard login page)

I'm using this fragment of code:

String deployableObjectName = wdComponentAPI.getDeployableObjectPart().getDeployableObjectName();

try {

WDDeployableObjectPart deployableObjectPart =

WDDeployableObject.getDeployableObjectPart( deployableObjectName, "<APPNAME>",

WDDeployableObjectPartType.APPLICATION);

String urlToTargetApp = WDURLGenerator.getApplicationURL(deployableObjectPart, new HashMap());

wdThis.wdGetPCTInterfaceViewController().wdFirePlugExit(urlToTargetApp);

} catch (WDURLException e) {

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

} catch (WDDeploymentException ex) {

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

}

But doesnt work. It simulates the refresh button of the borwser.

I hope somebody can help me.

Thx and regards.

Gregory.

Accepted Solutions (1)

Accepted Solutions (1)

former_member182372
Active Contributor
0 Kudos

Hello Gregory,

Name of outbound exit plug must be "Url" not "Exit".

You can try another solution:

Best regards, Maksim Rashchynski.

Former Member
0 Kudos

Thx a lot Maksim.

With this post i can solve my problem.

I gave u your corresponding points.

Best Regards.

Gregory

Answers (0)