Embed HTML files from SAP Mime Repository or SAP Web Repository
rollout to numerous users, central files are much better to handle than
local copies on each PC.
all files needed (HTML, CSS, images, ...) into the SAP MIME
Repository, preserving the folder structure
- Embed the HTML page into the SAP GUI window with "Control"
using the notation
all files needed within the HTM (e.g. CSS or images) execute
order to assure that the file is downloaded from SAP Mime Repository
to the local GuiXT cache and can be used by the browser.
The "SAP Web Repository" does not support subfolders.
You still can use the
CacheFile-approach described here, but you
have to put all files needed for the HTML display into the same folder
as the HTML file.
two files into SAP Mime Repository:
The image file is needed by the HTML file:body
In the GuiXT script, we use
CacheFile for the
image file before we execute the
backgound image into GuiXT cache
// embed HTML
The HTLM page is now displayed with the background image:
When we look at the local GuiXT cache folder, we see that the folder
structure of the SAP Mime Repository is preserved in the cache:
"sapmr" stands for "SAP Mime Repository", "S4h" is the SAP system name,
"GuiXT Scripts Version 2018" comes from the statement
GuiXT session script (performance optimization), and the rest of the
folder structure reflects the SAP Mime Repository folder structure.