Archived discussions are read-only. Learn more about SAP Q&A

Get screen resolution in WebDynpro ABAP


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?


Not what you were looking for? View more on this topic or Ask a question