cancel
Showing results for 
Search instead for 
Did you mean: 

Open external window / window size

Former Member
0 Kudos

Hello,

is there a possibility, to open an external window and change the browser to fullscreen mode?

Regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Check this code for Calling the External window with in the application.

DATA: l_cmp_api           TYPE REF TO if_wd_component,
         l_window_manager    TYPE REF TO if_wd_window_manager,
        window_result type ref to IF_WD_WINDOW.

  l_cmp_api           = wd_comp_controller->wd_get_api( ).
  l_window_manager    = l_cmp_api->get_window_manager( ).

*  IF wd_this->m_popup1_1 IS INITIAL.

    wd_this->m_popup1_1 = l_window_manager->create_external_window(
             url  = 'ur URL
*              title          = 'My Report 1'
              ).

*  ENDIF.

  wd_this->m_popup1_1->open( ).

Here m_popup1_1 is the type of IF_WD_WINDOW.

Thanks.

Former Member
0 Kudos

Well,

I know how to open an external window. This is no problem.

My question is, if there is a possibility to change the new window to fullscreen mode (like pressing F11 in browser).

Regards

Former Member
0 Kudos

Hi,

I'm afraid this is not possible,

see answer of [Heidi|https://forums.sdn.sap.com/click.jspa?searchID=10595441&messageID=5140098]

grtz,

Koen

Former Member
0 Kudos

hi sebastin......

you can use the method create_external_window in the interface id_wd_window_manager. then you can use the instance set_window_size in the interface if_wd_window to set the size.

---regards,

alex b justin