on 12-10-2009 10:04 PM
I want to display an external website (e.g. google) within the web dynpro application page.
Is it possible, if yes how?
Thanks
Amit
Hi,
You can use the IFRAME UI element and specify the URL in the source property.
IFRAME should only be used in exceptional case see [Deprecated Objects|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/44/e92dbd779b41aae10000000a114a6b/content.htm]
To read more on [IFRAME|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/15/c07941601b1d09e10000000a155106/content.htm]
Best Regards,
Loveline Thomas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
u can use LinkToURL UI for the same , in ur view go to rootelement container , click on root element container and choose insert element , choose LinkTOURL
The LinkToURL UI element is a hypertext link. When you choose this link, you are directed to a user-defined Web resource (URL).
The LinkToUrl is used to exclusively to open URLs in a separate window.
u can even call external window on click of ur button as well . For ur Button ui , make a action say URL ( in the ACTION property of UI)
thn a method OnActionURL , write this piece of coding :
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.
data: ld_url type string.
lo_api_component = wd_comp_controller->wd_get_api( ).
lo_window_manager = lo_api_component->get_window_manager( ).
ld_url = 'http://www.google.co.in'.
CALL METHOD lo_window_manager->CREATE_EXTERNAL_WINDOW
EXPORTING URL = ld_url "'http://www.google.co.in'
RECEIVING WINDOW = lo_window.
lo_window->open( ).
regards,
amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.