SAP HTML Viewer (BC-CI) 

Purpose

SAP HTML Viewer is a control developed by SAP for use within the SAPgui. SAP has not developed its own Web Browser. Instead, the SAP HTML Viewer uses the Microsoft Internet Explorer Web Browser Control. This is supported by Microsoft Internet Explorer Version 4.0 and above.

The graphic below shows the SAP HTML Viewer in an R/3 screen:

The screen comes from the example program SAPHTML_EVENTS_DEMO.

Implementation considerations

The interface of the SAP HTML Viewer is the same for all platforms, but its functions will depend on the underlying HTML browser. Under SAPGUI for Windows , it uses Microsoft Internet Explorer 4.0 as an external browser.

Integration

You can use the SAP HTML Viewer with other controls (for example, buttons and list boxes) on a screen in an R/3 transaction. It allows you to display HTML pages, graphics, and pictures in your transactions, either retrieved from the database or generated at runtime.

Features

As well as displaying data, the SAP HTML Viewer can also trigger events in reaction to user input. You can react to these events in your application program (see Registering and Processing Events). Events are triggered when the user chooses a URL or sends an HTML document. The URL or document data is made available to the ABAP program.

The SAP HTML Viewer also supports navigation in HTML pages and MIME documents from sources outside the current R/3 transaction (for example, from a desktop file system or an HTTP server). This is made possible by a close integration of the 4.6 release of SAPgui with your Internet and Intranet environment.

Constraints

SAPGUI for HTML

The SAP HTML Viewer will only work on frontend platforms on which Microsoft Internet Explorer version 4.0 (or higher) is installed.

The SAPgui installation does not install Microsoft Internet Explorer. You need a SAPgui installation with Release 4.6 or higher.

Certain features of the SAP HTML Viewer are not available (or behave differently) under SAPGUI for HTML. The following components are affected:

Methods

Events

go_back

sapevent

go_forward

navigate_complete

go_home

 

do_refresh

 

stop

 

get_current_url

 

 

SAPGUI for Java

Certain functions of this control may not work in the SAPGUI for Java environment. Others may work with restrictions. For further details, refer to the documentation provided with the SAPGUI for Java.