Skip to Content
0
Former Member
Jun 18, 2007 at 02:38 PM

Exit button error...

82 Views

Hi,

I am having a requirement in my web dynpro application, I need to put a link or button on the view and when I click on the button/link the window should get closed.

I implemented the following steps provided in the thread closing browser window via button , but this doesn't helped me, it is throwing error.

steps

******

If this is OK for you, then do the following:

1. In InterfaceView create "Exit"-type outbound plug (you have to select "Exit" checkbox on creation). Let it name be MyExit.

2. Add parameter Url [string] to this plug (be careful, first letter should be capitalized)

3. Import InterfaceViewController in necessary view and implement closing action handler as following:

wdThis

.wdGetMyWindowInterfaceViewController()

.wdFirePlugMyExit("javascript:void(window.close())")

************

I am getting the following error.

ERROR

*********

While processing the current request, an exception occured which could not be handled by the application or the framework.

If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).

Root Cause

The initial exception that caused the request to fail, was:

com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Cannot navigate from view IVACWindowInterfaceView via non-existent outbound plug AppExit

at com.sap.tc.webdynpro.progmodel.view.View.navigate(View.java:459)

at com.sap.xss.hr.cat.approve.vac.confirm.header.wdp.InternalIVACWindowInterfaceView.wdFirePlugAppExit(InternalIVACWindowInterfaceView.java:145)

at com.sap.xss.hr.cat.approve.vac.confirm.header.VcCatApproveConfirmHeaderView.onActionExit(VcCatApproveConfirmHeaderView.java:147)

at com.sap.xss.hr.cat.approve.vac.confirm.header.wdp.InternalVcCatApproveConfirmHeaderView.wdInvokeEventHandler(InternalVcCatApproveConfirmHeaderView.java:140)

at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)

... 28 more

***************************

<b>Remember that my web dynpro application is a pop-up screen which gets generated when I click on any work item in UWL.</b>

Please let me know where I am wrong and provide me the solution.

Points will be awarded.

Thanks in advance.

Regards,

Raj.