on 09-10-2010 8:29 AM
Hi Folks,
I am working on a development in Web Dynpro and I am pretty new to this topic, so I seek your help.
The scene is:
I have created a Web Dynpro application in which I open an URL using CREATE_EXTERNAL_WINDOW method of the Window Controller. I am able to open the window but not able to close it.
I tried using methods,
CLOSE()
and
SET_CLOSE_IN_ANY_CASE()
but no success.
Please guide me if anything more needs to be done for closing the opened window.
Thank you.
Sud.
Are you trying to close the window from the application that you opened in the external window or from the source window? You won't be able to close form the source window. These are two separate sessions and can't communicate any longer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Thomas,
You correctly pointed out, I was trying to close the external window from my source window.
More precisely, I have a WD application which has a button (Search) on one of its views. On click of 'Search' button, I open a new window using 'CREATE_EXTERNAL_WINDOW' passing the URL 'www.google.com'.
Till this point its fine, but now I want to close this newly opened window. As you said now these are 2 different sessions and cannot communicate anymore, so any guidance how to close this new window?.
OR
Is this the only way to call an URL i.e using CREATE_EXTERNAL_WINDOW? Is there any other way to call an URL without closing my current running WD application?
Request your help......
Thanks.
Regards,
Sud....
Generally this is the normal way to open an external application. However once opened, you would have no futher control over it. Within Web Dynpro there would be no way to close the window. It would have to be closed manually by the user.
You could open a new web dypnro view as a dialog and place an iFrame in it. Warning- the iFrame is deprecated on some Support Package levels of 7.0 and 7.01, however SAP changed their minds and retured the iFrame to full status. This would allow you to run google within a Web Dynpro dialog and you could of couse close it from the WD Application.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.