Studio Cannot Select Fields Correctly In SAPv770

What to perform when Studio cannot correctly detect and select fields in SAP pages?

Root Cause

The root cause is that SAP introduced Multi Monitor Scaling support, which affects how certain elements behave across different monitor scaling settings.

Issue Description

The issue appears when using SAP 770 with multiple monitors with different scaling settings. Although it works fine with SAP 750 and SAP 760, with SAP 770, the new multi-monitor scaling introduces alignment problems when the application is moved between monitors with different scaling factors.

SAP v 7.70 comes with support for multi-monitor usage and it selects an entire section rather than 1 field., however, Studio workflows fail if the DPI scaling is different than 100%.

The workflow fails in selecting fields or items from the SAP GUI page, as exemplified below:

sap error1.PNG

sap error2.jpeg


Resolution

This is a known issue by SAP and the current recommendation is to choose either of the below option:

  • Change the scaling to 100% from Windows settings on the machines the workflow is running on. This should be performed on all the monitors being used
    • Close all SAP windows incl. SAP Logon itself > Set the DPI (Dots Per Inch) scaling of ALL the monitors to 100% (means, no scaling)
    • Go to the desktop screen > Right-click > Select Display settings > Go to Scale Layout > Change the size of text, apps, and other items (under scale and layout) > Set to 100%
    • Restart SAP Logon
image.png

Or
  • Upgrade SAP WinGUI to 7.70 Patch 05 and higher.

Note: If the display settings are blocked for the logged in user, an Admin could also modify the scaling via Registry Keys.
  1. Open registry editor via regedit
  2. Go to HKEY_CURRENT_USER\Control Panel\Desktop
  3. Create a Dword key called LogPixels. Chose the base as Decimal and gave it a value of 96.
  4. Restart computer.

Read more on the SAP GUI For Windows 7.70: New Features and Lifecycle.