cancel
Showing results for 
Search instead for 
Did you mean: 

Screen resolution of target system

Former Member
0 Kudos

Hi,

My webdynpro application looks different when opened on browsers having different screen resolutions. The reason for this is that I have hardcoded the width/height specs of different UI elements. Therefore, I would like to know a mechanism by which I can get the screen resolution of the broswer opening my application, so that all the UI elements have relative dimensions.

Regards, Sameer

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sameer,

You cannot get this information via WebDynpro API.

Instead, do the following:

write static HTML page with JavaScript that get resolution and redirects to WebDynpro application, passing resolution as URL parameters.

Valery Silaev

EPAM Systems

http://www.NetWeaverTeam.com

Former Member
0 Kudos

Hi Valery,

Good Reply but are you sure that it cannot happen via Webdynpro ? I do not know how standard SAP applications e.g leave request, payroll or performane management apps all look the same even on different screen resolutions.

Also can we read a cookie stored in browser via webdynpro ? If yes, what is the way to do that ?

Regards, Sameer.