Quantcast
Channel: SCN : All Content - Web Dynpro ABAP
Viewing all articles
Browse latest Browse all 3667

"set_window_size" not working again!?

$
0
0

I am trying to resize the MAIN window and it is NOT working.

 

The following threads deal with setting the size for a new window

 

open window with determined size | SCN

POPUP WINDOW

Confirm Popup in Web Dynpro, window size

create_window_for_cmp_usage and size of Window

 

 

In the discussion in the thread Confirm Popup in Web Dynpro, window size Steffen Weber writes

 

"So it seems that the current system/patch level is the answer! 700 doesn't work, in 701 it does!"

 

This is confirmed by OSS 1003826 which confirms with "The function described here is available as of Enhancement Package 2 for SAP_BASIS 700."

 

We are on SAP_BASIS 740 SP12.

 

I am executing the following code

 

DATA:

   lo_api         TYPE REF TO if_wd_view_controller,

   lo_window      TYPE REF TO if_wd_window.

 

   lo_api         = wd_this->wd_get_api( ).

   lo_window = lo_api->get_embedding_window( ).

 

* Resizing window

   lo_window->set_window_size( width = '200' height = '200' ).

 

 

data: v_istrue type rs_bool VALUE abap_true.

v_istrue = lo_window->IS_TOPLEVEL( ).

 

The attachment shows in the debugger that the values have been set.

 

Unfortunately the 'window is absolutly unimpressed' by my efforts to determine its size.

 

Anybody knows what is going on and cares to comment?


Viewing all articles
Browse latest Browse all 3667

Trending Articles



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