Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

BSP link in new external window

$
0
0

Hello Experts,

 

I would like to ask how it's possible to open an url link in external browser window?

Right now it's opened with a popup window, like below:

 

lv_title = cl_wd_utilities=>get_otr_text_by_alias( 'CRM_UIU_BT_GEN/POPUP_TITLE' ). "#EC NOTEXT   lr_popup =  me->comp_controller->window_manager->create_popup(  iv_interface_view_name = 'GSURLPOPUP/MainWindow'                                                                   iv_usage_name          = 'CUGSURLPopup'                                                                   iv_title               = lv_title ).   lr_cn = lr_popup->get_context_node( 'PARAMS' ).           "#EC NOTEXT   lr_obj = lr_cn->collection_wrapper->get_current( ).   ls_params-url = iv_url.   ls_params-height = '700'.                                 "#EC NOTEXT   lr_obj->set_properties( ls_params ).   lr_popup->set_display_mode( if_bsp_wd_popup=>c_display_mode_plain ).   lr_popup->set_window_width( 700 ).   lr_popup->set_window_height( 700 ).   lr_popup->open( ).

 

I found some solutions here: The Four Types of Popup Window

However I don't know how to use this solution in my case.

 

I've also tried this: Opening a new browser window?

But in this case I have problems with triggering method wd_get_api( ).

The wd_comp_controller does not exist but there's a controller with a similar name - comp_controller. However it doesn't have the wd_get_api( ) method. Or it has but private / protected and I get an error.

 

Thank you in advance.

 

Best regards,

Robert


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>