Open SAP Logon.
Click on "Customize Local Layout" (the little gear icon in the top-right corner or press Alt + F12).
Select "Options…" from the dropdown.
In the SAP GUI Options dialog:
Under HTML Control, change the setting from:
Internet Explorer
👉 to Edge (based on Chromium)
Click Apply and then OK.
Restart SAP GUI for changes to take effect.