Is there any way I can get the browser width using which I can adjust the width
property in the overflow container ?
Thanks & Regards,
this is very browser specific, but in principle you can get this out of the HTTP request header.
This is implemented using the interface IF_CLIENT_INFO. So you can do something like this.
DATA: client_info TYPE REF TO IF_CLIENT_INFO
DATA: l_pixel_width TYPE float.
client_info = runtime->client_info.
l_pixel_width = client_info->get_pixel_width( ).
Just whether or not this method returns anything useful depends upon how well the browser client has filled the HTTP request headers.