cancel
Showing results for 
Search instead for 
Did you mean: 

open link in the same Window

Former Member
0 Kudos

Hello,

i want to open a link from a WDA Action Method, in order to open a bsp applikation. The new page should appear in the same window (no popup, no new window). Here the code which i have at the moment, but the BSP Applikation starts always in a new window. What can i do ?

data:

lt_parameters TYPE TIHTTPNVP,

ls_url type string,

lo_window_manager type ref to if_wd_window_manager,

lo_api_component type ref to if_wd_component,

lo_window type ref to if_wd_window.

CALL METHOD cl_http_ext_webapp=>create_url_for_bsp_application

EXPORTING

bsp_application = 'ZHRMPBA004'

bsp_start_page = 'ZHRMPBPTI006.htm'

bsp_start_parameters = lt_parameters

IMPORTING

abs_url = ls_url.

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 = ls_url

RECEIVING WINDOW = lo_window.

lo_window->open( ).

thanks for replays

Accepted Solutions (1)

Accepted Solutions (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

You are calling CREATE_external_WINDOW. That API is designed to open the application in a new window. So that isn't appropriate for what you want. If you want to navigate in place then you should use an Exit Navigation Plug.

http://help.sap.com/saphelp_nw70ehp1/helpdata/en/48/ca3351508f04e7e10000000a42189c/frameset.htm

Answers (1)

Answers (1)

Former Member
0 Kudos

hi ,

Have a look at this thread [thread|]

thanks,

aditya.