Page tree
Skip to end of metadata
Go to start of metadata

IN SE80 Create a Web  Dynpro Application ZDYN_URL

create a View say URL with a Button Text -> URL

Action -> GET_URL

in the Method Tab  of the View dbl click on action ONACTIONCALL_URL give the following code

method onactioncall_url .

  data: window_manager type ref to if_wd_window_manager,

        api_component  type ref to if_wd_component,

        lo_window      type ref to if_wd_window.

  api_component  = wd_comp_controller->wd_get_api( ).

  window_manager = api_component->get_window_manager( ).

  call method window_manager->create_external_window


      url            = ''

      title          = 'WELCOME TO WEBSITE'

    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


      window         = lo_window   .

  lo_window->open( ).


now map the view with the window, create a web dynpro application and save & activate it. Test the Application

  • No labels


  1. Unknown User (106q5o0ro)

    Good blog, may be suits absolute beginers more. The above solution will help you open the url in a new window, if you want to open the url in the same window, you need to use the exit outbound plug.

    An interesting question for you Ravi,  i have a url and I want to display it as the top page, i.e navigation mode =3, which effectively means users cant see other roles assigned to them. Say for instance you have a scenario, you want users to verify themselves with information like date of birth post login, you create an abap web dynpro and assign it as the entry point on the initial role.

    So that abap web dynpro comes as the first page post login, I want to make this page as the top page so the masthead, roles, etc wont be visible when on this page, this will not allow users to access any other roles until they verify their date of birth.

    Do you know how to call a web dynpro application and make it the top page?

  2. Former Member