Change properties of WebView2 runtime embedded in SAP GUI

139 Views Asked by At

SAP uses WebView2 as new browser control.

Is there an API or a possibility to change properties of the embedded webview2 control?

Or is just SAP allowed to the any changes regarding webview2?

Is there maybe something possible with ActiveX, that I can call from HTML inside WebView2?

1

There are 1 best solutions below

0
Xavier Salomone On

From sap note 2913405:

  • There are limitations: "SAP is presently working on making the HTML Control using Microsoft WebView2 Control as compatible as possible. However, since this is a huge new development on both SAP and Microsoft side, it will take a while before all functionality is available. A list of restrictions and issues which are presently known can be found in SAP Note 2901278."
  • Which options do you have to influence which browser is used by SAP GUI for Windows? Up to and including release 7.60 of SAP GUI for Windows, you have no influence on the browser control used. The only influence you have, is the configuration of the default browser via operating system methods and this only has impact on some scenarios.
    *In SAP GUI for Windows 7.70 and in SAP GUI for Windows 8.00 (and higher) when the browser extension mentioned in SAP Note 3258944 is NOT used, a limited browser window is displayed (msedgewebview2.exe). Only when the browser extension is combined with a new version of SAP GUI for Windows, a full Microsoft Edge window or tab can be opened.