How to open external(URL) from WebDynpro


Job: Open specific external Web Page(URL) from WebDynpro Application

1.Create a button and an action assigned.

1

2 

Codes:

 

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 lv_url type string.

lv_url http://www.anilozgen.com.

lo_api_component  wd_comp_controller->wd_get_api( ).

lo_window_manager lo_api_component->get_window_manager( ).

*For External Window view

call method lo_window_manager->create_external_window

  exporting

    url            lv_url

  receiving

    window         lo_window.

lo_window->open( ).

Leave a comment

Your email address will not be published. Required fields are marked *