Skip to Content
0
Former Member
Jul 26, 2010 at 09:24 AM

Get screen resolution in WebDynpro ABAP

362 Views

Hi,

is there is a possibility to get the current screen resolution of the frontend in a Web Dynpro ABAP application?

I found the following class and method: cl_gui_frontend_services => registry_get_value.

I found the Screen Resolution in WIN XP at:

SYSTEM\CurrentControlSet\Hardware Profiles\Current\System\CurrentControlSet\Control\VIDEO\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000\.....

As expected, this method only works in the SAP GUI and not in Internet Explorer. In IE it triggers the exception CNTL_ERROR.

Is there another solution?

Regards.