cancel
Showing results for 
Search instead for 
Did you mean: 

Closing Existing WebDynpro Window

Former Member
0 Kudos

Hi All,

I am trying to close existing WebDynpro Application.

I have added 1 outbound plug in the Interface View of my application.

Also the Exit Plug CheckBox is checked for the above plug.

And I have added one parameter strURL of type string attached to the above outbound plug.

Now inside my View Controller Properties I have added the Interface View.

<b>I have one Button "Cancel" in my View Layout.</b>

I have a action attached to that button.

Inside that action method I have written the below code::

<b>wdThis.wdGetPrevemplr_winInterfaceViewController().wdFirePlugExitWindow("javascript:window.close();");</b>

But the window is not getting closed.

Can anyone help??

Accepted Solutions (0)

Answers (2)

Answers (2)

vijayakhanna_raman
Active Contributor
0 Kudos

Hi,

Check

Window Close:

Regards,

Vijayakhanna Raman

Former Member
0 Kudos

Hi Sanjay,

Try this as the URL in exit plug.

javascript:void(window.close());

Regards

Rajit Srinivas

Former Member
0 Kudos

I am sure u have access to net weaver developer studio , click on help and go to web dynpro tutorials there u wil find the relevant code and description for closing web dynpro window