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 |
---|---|
Destination Name | This value is assigned to the DESTINATION_NAME optional activity rule in Activity Maintenance in SAP ME, in upper case characters. |
Destination Type | Set to HTTP |
URL | Specifies the content type, width and height of the image to be displayed. The Transaction portion of the URL depends upon how you set up SAP MII and the transaction in SAP MII. For more information, see the following sections in SAP MII guides and help:
|
Authentication | The type of authentication to be used. We recommend that you use Basic authentication. |
Authentication Parameters | The value depends on the Authentication type selected. For the Basic authentication type the User Name and Password parameters are required. |
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 |
---|---|
Activity | The name for the activity |
Class/Program | com.sap.me.reporting.client.impl.ReportsPlugin |
Type | WPMF Plug-In |
On the Rules tab page, add the following rules:
Required | Optional | Setting |
---|---|---|
PLUGIN_URL | /COM/SAP/ME/REPORTING/CLIENT/REPORTS_PLUGIN.JSP | |
DESTINATION_NAME | The name of the destination defined in SAP NetWeaver | |
TITLE | The default value is REPORTS.title.TEXT. | |
POLLING_PERIOD | Time period (in seconds) between requests to update the HTML Viewer content Note that the value must be more than zero, otherwise polling is not performed. | |
RESPONSE_TYPE | IMAGE (default) or HTML |
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 |
---|---|
Activity | MII_REPORT |
Class/Program | com.sap.me.reporting.client.impl.ReportsPlugin |
Type | WPMF Plug-In |
On the Rules tab page:
Rule | Setting |
---|---|
PLUGIN_URL | /COM/SAP/ME/REPORTING/CLIENT/REPORTS_PLUGIN.JSP |
DESTINATION_NAME | MII_REPORT |
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.