Skip to Content
avatar image
Former Member

opening URL with lead-selection

Hi,

I just want to open a external window by clikcing on a row in my table-view.

I use method CREATE_EXTERNAL_WINDOW like this:

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.

but nothing happens after executing code.

Does anybody know why ?

Thanks Gerd

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    Sep 03, 2008 at 11:37 AM

    Hello Gerd,

    you need one additinal line of code:

    lo_window->open( ).

    Regards,

    Rainer

    Add comment
    10|10000 characters needed characters exceeded