cancel
Showing results for 
Search instead for 
Did you mean: 

How to close window using ABAP Code

Former Member
0 Kudos

Hi Experts,

Actually my requirement is as below:

I have web dympro component A and web dynpro component B

In component A i have a hyperlink , if we click on it then component B will be called and opened in a new browser/window .

In component B i have a EXIT button, so if user the clicks on EXIT button then component B window/browser has to be closed.

Please give me the abap code to cater this not a java script

Thanks!

Kajol

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Refer the following link,May be this useful.

http://www.sapdev.co.uk/sap-webapps/sap-webdynpro/wdp_displaypopup.htm

or refer the following thread

Thanks & Regards,

Jana

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

create an exit plug bound to your exit button.

in the action of the exit button add the following code.

wd_this->fire_to_exit_plg( url = url close_window = close_window ).

Take help of the below link if needed.

http://help.sap.com/saphelp_nw70/helpdata/EN/45/1bc575ba064574e10000000a114a6b/frameset.htm

Thank you.

ajoy_chakraborty
Participant
0 Kudos
Former Member
0 Kudos

Hi,

Refer this link.

http://www.saptechnical.com/Tutorials/WebDynproABAP/Exit/Index.htm

Edited by: ushamasani on Mar 7, 2012 4:14 PM