Setting Up HTML Viewer
You use this process to set up the HTML Viewer
POD plug-in (see HTML Viewer).
If you use an MII servlet, you have installed both SAP MII and SAP NetWeaver.
In SAP NetWeaver, you have configured the destination as follows:
Field | Value |
|---|---|
| This value is assigned to the |
| Set to |
| Specifies the content type, width and height of the image to be displayed. The For more information, see the following sections in SAP MII guides and help:
|
| The type of authentication to be used. We recommend that you use |
| The value depends on the For the |
In Activity Maintenance
, you create a new activity and set activity rules.
On the Main
tab page, add a new activity and enter the following data:
Field | Value |
|---|---|
| The name for the activity |
|
|
|
|
On the Rules
tab page, add the following rules:
Required | Optional | Setting |
|---|---|---|
|
| |
| The name of the destination defined in SAP NetWeaver | |
| The default value is | |
| Time period (in seconds) between requests to update the Note that the value must be more than zero, otherwise polling is not performed. | |
|
|
In POD Maintenance
, you create a button associated with the HTML Viewer
activity (name assigned in Activity Maintenance
) and assign it to your layout (see Adding POD Button Activities to Your PODs).
In User Group Maintenance
, you assign HTML Viewer
to one or more user groups which you want to use this activity.
Log on to SAP NetWeaver Administrator
using the following URL: http://<AS_Java_hostname>:<AS_Java_HTTP_port>/nwa
.
Choose .
Choose Create
to add a new destination for MII Runner Servlet.
On the Destination Wizard
screen, enter MII_REPORT in the Destination Name
field and HTTP in the Destination Type
field, and choose Next
.
Add the following URL for the MII Runner Servlet and choose Next
: http://server1.pal.sap.corp:50000/XMII/Runner?Transaction=project1/examples/transaction/reportImage&OutputParameter=OutputString&Content-Type=image/png&Width=464&Height=260
.
On the Logon Data
screen, select the Basic
authentication type and enter the user name and password of the administrative AS Java user and choose Finish
.
Choose Ping Destination
to verify the configuration.
Log on to SAP ME and enter the following in Activity Maintenance
:
On the Main
tab page:
Field | Value |
|---|---|
|
|
|
|
|
|
On the Rules
tab page:
Rule | Setting |
|---|---|
|
|
|
|
In POD Maintenance
, retrieve a POD record and modify it as follows:
On the Buttons
tab page, choose Insert New
, enter MII_REPORT in the Button ID
field, and MII Report in the Button Label
field.
On the Button Details
screen, choose Insert New
, select the activity MII_REPORT
, and choose Apply
.
On the Layout
tab page, in the Popup
row, select the Other Plug-Ins
icon, and choose Insert New
.
Select the MII_REPORT
activity, choose Apply
and choose Save
.
In User Group Maintenance
, modify the permissions as follows:
Retrieve the user group that you will use.
On the Permissions
tab page, select the MII_Report
checkbox and choose Save
.
Open the POD in another window and choose MII Report
.
The system displays the content of an MII report in the Reports
popup window.