| Purpose | With
WebView
you can embed a web page into a SAP GUI window.
Please note: The instruction offers a number of possibilities for dynamic interaction with the displayed web page, e.g. read values, set values, trigger push buttons. |
||||||||||||||||||||||||
|
Example Further examples |
WebView (0.5,50.6) (10.6,110.1)
"https://www.google.com/maps/@41.8986,12.4768,16z"
name="map"
The website "https://www.google.com/maps/@41.8986,12.4768,16z" is displayed in the screen. If the script variable
V[map] already contains a reference to a valid WebView,
it will be displayed. Otherwise, a new WebView is created
and the reference to it is returned in the script variable V[map].
|
||||||||||||||||||||||||
| Format |
WebView
(row1,column1)
(row2,column2)
"URL"
name="myName" You specify with (row1,column1) (row2,column2) the top left corner and the bottom right corner. You can, if necessary, use numbers with decimals for the coordinates. You can also use the wysiwyg mode of Script Editor Pro for this purpose. Possible URLs are:
|
||||||||||||||||||||||||
| Additional options |
|
||||||||||||||||||||||||
| Compatibility and technology |
The
WebView display is compatible with Google Chrome, Microsoft Edge, Opera, Samsung Internet and other browsers
that internally use the open source "Chromium" to display web pages and run JavaScript. GuiXT uses the Microsoft
WebView2 control, which is based on Chromium. If you use special Internet Explorer techniques in the HTML page, such as embedding ActiveX elements, you can use the Control statement instead. |
||||||||||||||||||||||||
| Tips & Tricks | |||||||||||||||||||||||||
| Components | GuiXT + Controls |