on 10-15-2009 10:17 AM
Hi Guys,
I want to call an URL inside a view of my web dynpro application.
In the past it was possible with UI Element IFrame, but this one is deprecated now.
Is there another solution?
Thanks a lot
Karim
this is not possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Guys for your quick answers,
But, I want to display an URL IN A VIEW of my application and not in a new browser.
I think we can't achieve this with method CREATE_EXTERNAL_WINDOW
Am I right?
Kr
Karim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
it wud be easy and simple appraoch , proceed like this :
1 use a link to URL UI element in the view
2 In tht u call the URL
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Clarification provided by Thomas regarding IFrame being Deprecated :
If you want to display external content in place within Web Dynpro ABAP via a URL, then the iFrame is about your only way to go. At one point we were going to depreciate the iFrame because of its limiations around state management and authentication. That deprecation was announced with 7.0 Enhp1 but the UI element was not actually removed or disabled. With 7.0 Enhp2 will un-depreciated the UI element.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in case u want to to get URL of another Webdynpro Application , and use it here in ur view :
CALL METHOD cl_wd_utilities=>construct_wd_url
EXPORTING
application_name = 'Z102044_BAPI'
IMPORTING
out_absolute_url = str.
str - type string.
'Z102044_BAPI' is the name of your webdynpro application
u can use the Link to URL UI element and can give URL there as well
regards,
amit
Edited by: amit saini on Oct 15, 2009 11:24 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
You can use Create_external_window to do so.
Refer this sample code :
data lo_window_manager type ref to if_wd_window_manager.
data lo_api_component type ref to if_wd_component.
data lo_window type ref to if_wd_window.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING
URL = 'http://www.google.co.in/'
MODAL = ABAP_FALSE
HAS_MENUBAR = ABAP_TRUE
IS_RESIZABLE = ABAP_TRUE
HAS_SCROLLBARS = ABAP_TRUE
HAS_STATUSBAR = ABAP_TRUE
HAS_TOOLBAR = ABAP_TRUE
HAS_LOCATION = ABAP_TRUE
RECEIVING
WINDOW = lo_window.lo_window->open( ).
ENDMETHOD.
You can pass the URL into the exporting parameter.
I hope it would help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.