cancel
Showing results for 
Search instead for 
Did you mean: 

Embed website in Web Dynpro View

Former Member
0 Kudos

Hi all,

I am trying to embed a website in a Web Dynpro View. I am not sure about it how to get this.

I have created a ViewContainerUIElement on the view and the website should be placed in this element.

My code for creating the website looks like following:

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.de'.

CALL METHOD lo_window_manager->create_external_window

EXPORTING

url = ld_url

RECEIVING

window = lo_window.

lo_window->open( ).

But how can I integrated the website in my ViewContainerUIElement or isn't it possible?

Thanks for you help

Peter

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can try using UI element Iframe.

URL can be mentioned in source property of Iframe as http://www.google.com.

Regards

Manas Dua

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Peter,

The code u have put is for opening a popup window which will go to the google site. U should put this code in a action linked UI element(ex button) . So when u click on it. It will open the window with the site.

Ranganathan.