SAP Knowledge Base Article - Preview

3334665 - SAP GUI for Windows crashes with Edge (based on Chromium) HTML Control when calling GET_BROWSER_STRING method

Symptom

  • When using SAP GUI for Windows with Edge (based on Chromium) and calling CL_GUI_HTML_VIEWER->GET_BROWSER_STRING,  SAP GUI completely crashes;
  • The issue is not observed when Internet Explorer control is used;
  • The following records appear in the SAP GUI session trace for HTMLViewer component:

<21=HTMLViewer(04.05.23 20:34:56.191)(108904/69000 KB):    => put_PostData
<21=HTMLViewer                       (108908/69000 KB):    <= put_PostData
<21=HTMLViewer                       :    => InitControl: SAP HTML control supports Microsoft Chromium Edge. WebView2 Runtime is installed
<21=HTMLViewer                       :    ==> InitGuiResources
<21=HTMLViewer                       :    <== InitGuiResources
<21=HTMLViewer(04.05.23 20:34:56.621)(111148+2240/69520 KB):    ==> AddEventHandlers
<21=HTMLViewer(04.05.23 20:34:56.622)(111220/69520 KB):    <== AddEventHandlers
<21=HTMLViewer                       (111224/69520 KB):    ==> SetPageFontForDisplay
<21=HTMLViewer                       (111256/69520 KB):    <== SetPageFontForDisplay
<21=HTMLViewer                       (111272/69520 KB):    ==> IsDevToolsEnabled
<21=HTMLViewer(04.05.23 20:34:56.623):    <== IsDevToolsEnabled
<21=HTMLViewer                       (111296/69520 KB):    <= InitControl: SAP HTML control supports Microsoft Chromium Edge. WebView2 Runtime is installed
<21=HTMLViewer                       :    => put_NavigationStyle
<21=HTMLViewer                       (111300/69520 KB):    <= put_NavigationStyle
<21=HTMLViewer                       :    => put_URLPrefixLocal
<21=HTMLViewer                       :    <= put_URLPrefixLocal
<21=HTMLViewer                       (111304/69520 KB):    => ShowData
<21=HTMLViewer                       :    HTML000001.HTM
<21=HTMLViewer                       (111308/69520 KB):    ==> GetDataSubtype
<21=HTMLViewer(04.05.23 20:34:56.624):    <== GetDataSubtype
<21=HTMLViewer                       (111312/69520 KB):    ==> CheckMetaTag
<21=HTMLViewer                       (111316/69520 KB):    Meta Tag Found: 1
<21=HTMLViewer                       :    <== CheckMetaTag
<21=HTMLViewer                       (111320/69520 KB):    <= ShowData
<21=HTMLViewer                       (111324/69520 KB):    => get_BrowserString
<21=HTMLViewer                       :    <= get_BrowserString 


Read more...

Environment

SAP GUI for Windows 7.70 and higher.

Product

ABAP platform all versions ; SAP NetWeaver all versions ; SAP S/4HANA all versions

Keywords

SAP GUI for Windows, sap gui, crash, html, Edge, control, GET_BROWSER_STRING, CL_GUI_HTML_VIEWER,  hang.
, KBA , BC-FES-CTL , SAP GUI for Windows Controls , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.