cancel
Showing results for 
Search instead for 
Did you mean: 

Closing a External Url Window via Web Dynpro

Former Member
0 Kudos

HI Experts,

I hvae created a External window by clicking a button in my main view.

I am passing my customer info to a URL using "CALL METHOD lr_window_manager->create_external_window".

my requirement is to close this URL window when user again clicks on the same button and open up a new URL window.

I am using "v_lr_window->close" to close the external window. But its not closing the wndow.

How can I close the window. Reply ASAP.

Regards,

Vishal.

Edited by: VISHAL GUPTA on Apr 2, 2008 11:43 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member515618
Active Participant
0 Kudos

Hi Vishal,

This is not possible. Once the other window is launched, we cannot control the events of that window from calling application. We have to manually close the window by clicking on 'X'.

Regards,

Sravan varagani

Former Member
0 Kudos

Actually IF_WD_WINDOW~CLOSE method has not been implemented by SAP.

As per my requirement I would need to close external URL or window.

former_member515618
Active Participant
0 Kudos

Hi Vishal,

Do you want to close the window in which you are currently working on Or Do you want to close a window launched from application A by calling IF_WD_WINDOW~CLOSE from application A.

Regards,

Sravan Varagani

Former Member
0 Kudos

I want to close a window launched from application A by calling IF_WD_WINDOW~CLOSE from application A.

is there any other way apart form using IF_WD_WINDOW~CLOSE as EXIT plugs also does not work for external window.

former_member515618
Active Participant
0 Kudos

Hi Vishal,

Unfortunately, This is not possible.

Regards,

Sravan Varagani

Former Member
0 Kudos

thanks sravan.