0% found this document useful (0 votes)
1K views42 pages

SAP MII Workbench Config Guide

Uploaded by

Rahul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views42 pages

SAP MII Workbench Config Guide

Uploaded by

Rahul
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 42

PUBLIC

Document Version: 15.2.0 – 2018-03-25

SAP MII - Configuration Guide


© 2019 SAP SE or an SAP affiliate company. All rights reserved.

THE BEST RUN


Content

1 SAP MII Configuration Guide. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

2 Documentation Landscape for SAP Solutions and Business Scenarios. . . . . . . . . . . . . . . . . . . . 5

3 System Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .7

4 Creating Users for MII 15.2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

5 Initial Logon to SAP MII System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

6 Integrating SAP MII with NWDI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

7 ADS Printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
7.1 Configuring ADS Printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

8 Configuring Message Listeners. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

9 Configuring JRA for the JRA Actions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

10 Configuring SAP MII Dataservers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

11 Configuring SAP MII Schedulers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

12 Configuring Connections in SAP MII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

13 KPI Monitor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

14 Configuring Enhanced Change and Transport System (CTS+) with SAP MII. . . . . . . . . . . . . . . 28

15 Transporting OEE Configurations (SAP MII). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

16 Plant Information Catalog (PIC). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

17 SAP MII Mail Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

18 Configuring Dashboards Connector. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

19 Configuring MII Crystal Reports Connector in Crystal Reports. . . . . . . . . . . . . . . . . . . . . . . . . 36

20 Configuring Solution Manager for SAP MII. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

SAP MII - Configuration Guide


2 PUBLIC Content
1 SAP MII Configuration Guide

This business scenario configuration guide applies to general configuration of SAP MII 15.2. This includes
configurations that are needed only once as well as configurations that may be needed more than once during
the usage of SAP MII 15.2.

The business scenario configuration guide contains steps required to implement various business scenarios in
SAP MII.

Business Scenario and Application Components

Business Scenario Application Components

Creating User for MII 15.2 SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 and 7.40

Integrating MII with NWDI SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

SAP NetWeaver Development Infrastructure

Configuring Listeners for IDOC/RFC Communication SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

SAP ERP

Configuring JRA for the JRA Actions SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

SAP ERP

Configuring MII Dataservers SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

Configuring MII Schedulers SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

Configuring Connections in MII SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

SAP MII - Configuration Guide


SAP MII Configuration Guide PUBLIC 3
Business Scenario Application Components

KPI Monitor SAP Manufacturing Integration and Intelligence (SAP MII)


15.2

SAP NetWeaver 7.50 or 7.40

Enhanced Change and Transport System (CTS+) SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

Plant Information Catalog SAP Manufacturing Integration and Intelligence (SAP MII)
15.2

SAP NetWeaver 7.50 or 7.40

 Note

For more information about the necessary components and releases, see service.sap.com/
instguides.

SAP MII - Configuration Guide


4 PUBLIC SAP MII Configuration Guide
2 Documentation Landscape for SAP
Solutions and Business Scenarios

Use

This documentation gives you an overview of the major sources of information available to you on SAP
solutions and business scenarios. Always use the current documents in your implementation.

Current Documents

Document Quick Links on the SAP Service Marketplace

Business Scenario Description service.sap.com/instguides

Master Guide, Installation and Upgrade Guides service.sap.com/instguides

Business-Scenario Configuration Guide service.sap.com/ibc

SAP Library Help Portal (help.sap.com) with all releases of an SAP


component

To display the SAP Library in an SAP system, choose Help

SAP Library

Current Supplementary Information

Information Quick Links on the SAP Service Marketplace

SAP Notes service.sap.com/notes to search for SAP Notes

service.sap.com/instguides listed by installation


and upgrade guide

Prerequisites

The following documents are available for an SAP solution:

Master, Installation, and Upgrade Guides

These documents describe how you install or upgrade the system landscape required by a business scenario.
The central initial access document for each SAP solution is the Master Guide. It lists the SAP application
components and third-party applications required by each business scenario and refers to their installation and
upgrade guides. These are component installation guides, business scenario upgrade guides, and component
upgrade guides.

SAP MII - Configuration Guide


Documentation Landscape for SAP Solutions and Business Scenarios PUBLIC 5
Business Scenario Configuration Guide

This document describes the settings you use to configure the SAP application components and third-party
applications required for a specific business scenario. It contains information specific to business scenarios for
the particular IMG activity. It does not reiterate the Customizing documentation but refers to particular IMG
texts.

Business Scenario Description

This document describes how a business scenario runs once all components have been installed and
configured. All the business processes of a business scenario are represented graphically in the component
view, which illustrates the process steps of each SAP component.

SAP Library

This contains the entire documentation of SAP components and business scenarios. The business scenario
description is part of the SAP Library.

SAP MII - Configuration Guide


6 PUBLIC Documentation Landscape for SAP Solutions and Business Scenarios
3 System Connections

You have installed the components listed in the Software Component Matrix section in the SAP Manufacturing
Integration and Intelligence (SAP xMII) Master Guide. For more information, see service.sap.com/
instguides.

SAP MII - Configuration Guide


System Connections PUBLIC 7
4 Creating Users for MII 15.2

Use

In order to access SAP MII and implement SAP MII functionalities, various users with specific roles to perform
specific actions must be created. For SAP MII 15.2, following are the existing roles:

● SAP_XMII_Administrator
● SAP_XMII_Approver
● SAP_XMII_Developer
● SAP_XMII_DynamicQuery
● SAP_XMII_ProjectManagement
● SAP_XMII_Read_only
● SAP_XMII_Super_Administrator
● SAP_XMII_User
● SAP_XMII_PIM_Super_Administrator
● SAP_XMII_PIM_Administrator

For more details, see Actions for Permissions in the SAP MII help at http://help.sap.com/mii Security
Services User Management .

Procedure

1. Logon to the SAP MII system http://<MII servername>:<port>/nwa.


2. Logon to the Netweaver Administration (nwa) by providing valid credentials.
3. Choose Configuration tab Identity Management Create User.
4. Choose General Information Details and enter the details.
5. On the Assigned Roles tab, enter *MII* in the Search Criteria field.
6. Choose Go.
7. Select the roles to be assigned to the current user and choose Add.
8. Choose Save.

An MII user will be created for the logged in user.

SAP MII - Configuration Guide


8 PUBLIC Creating Users for MII 15.2
5 Initial Logon to SAP MII System

Once the new MII user logs in for the first time into the SAP MII system, he will be prompted to change the
initial password that was defined while creating the user. Logon to the system using the URL <server
protocol>://<server>:<port>/XMII.

SAP MII - Configuration Guide


Initial Logon to SAP MII System PUBLIC 9
6 Integrating SAP MII with NWDI

Use

To integrate NWDI with SAP MII, you have to configure SLD in NetWeaver Administrator.

Procedure

1. To configure SLD with SAP Netweaver, do the following:


1. Choose Configuration Infrastructure Java System Properties.
2. Under Templates tab, select the instance id.
3. Choose SDIC Services in Services tab.
4. Enter sdic.sld.url in the Name column.
5. Enter sdic.nwdiservers.admin.user with you user name.
6. Choose Save.
2. Load the security certificates in NWA.
1. Choose Configuration Security Certificates and Keys.
2. Filter for TrustedCAs in Key Storage Views.
3. Choose Import Entry to import a certificate.
4. Choose X.509 Certificate as Entry Type.
5. Browse the certificate from your local system.
6. Choose Import.
7. Repeat Steps d–f to import all the certificates.
3. Setup your SAP MII system with NWDI configurations
1. On the SAP MII home page, choose Content Development NWDI Configuration.
2. Choose Edit and enter your user name and windows password.
3. Select Enabled and Extended check boxes.
4. In the Development Configuration section, enter configuration name and support component in the
relevant fields.
5. Choose Save.

You can perform DTR activities in the SAP MII Workbench.

SAP MII - Configuration Guide


10 PUBLIC Integrating SAP MII with NWDI
7 ADS Printing

7.1 Configuring ADS Printing

Use

You need to configure printing of production-related documents using SAP NetWeaver Adobe Document
Services component.

Prerequisites

● You have set up one or more network printers on your system network and installed printer drivers on the
server.
Note that after installing a new printer on Windows, SAP NetWeaver server must be restarted for having
access to the printers.
● You have granted appropriate rights to SAP NetWeaver Services starting user to access the network
printer. By default, SAP NetWeaver starting user is a local user that cannot access networks resources like
network printers. Contact your system administrator for more information. If SAP NetWeaver starting user
has been changed, stop SAP NetWeaver from sapmmc console, then stop corresponding OS services and
start all of them again.

Procedure

1. Install and configure SAP NetWeaver Adobe Document Services component as follows:
1. During the SAP NetWeaver installation, select to install the Adobe Document Services component.
After the installation, check if Adobe Document Services have been installed at http://
<nwhost>:<port>/nwa under Configuration Management Infrastructure Adobe Document
Services .
2. Create a user for basic authentication as follows:
1. Navigate tohttp://<server>:<port>/useradmin to start the User Management.
2. On the Identity Management tab page, select Search Criteria as Group.
3. Choose Create Group to create the ADSCallers group. Save the group.
4. Select User in the Search Criteria dropdown list.
5. Choose Create User and enter ADSUser for the user name, enter a password.
6. Under Security Policy, choose Technical User.
7. On the Assigned Roles tab page, in Available Roles, search for the SAP_ADSCALLER role and choose
Add to assign this role to the ADSUser user.

SAP MII - Configuration Guide


ADS Printing PUBLIC 11
 Note

The SAP_ADSCALLER role was created during the installation of your system. Assign this role
only to the users that need to access Adobe document services.

8. Save your entries.


For more information, see Setting Up Basic Authentication to ADS in a Java Environment at http://
help.sap.com Technology SAP NetWeaver 7.3 SAP NetWeaver Library Functional View
SAP NetWeaver by Functional Areas Adobe Document Services for Form Processing
Configuring Adobe Document Services for Form Processing (Java)
3. If you want to use certified authentication, do the following:
1. Navigate to the SAP NetWeaver Administrator (NWA) at http://<server>:<port>/nwa.
2. Log on to the SAP NWA with a user that has administrator privileges.
3. Navigate to System Management System Properties
4. Choose Edit and select the Use Certified HTTPS Connection for ADS checkbox.
5. Save your entries.
2. Configure WSDL destination.
You can choose between two options to setup the server connection:
○ Basic authentication is easy to use but sends user name and password pair through network
○ Certified HTTPS is much more secure but more configure steps needed. .
You can also configure for both ways and choose which way to use from MII System Properties Use
Certified HTTPS Connection for ADS .
If you use basic authentication (User ID/Password), do the following:
1. Navigate to the SAP NetWeaver Administrator (NWA) at http://<server>:<port>/nwa.
2. Log on to the SAP NWA with a user that has administrator privileges.
3. In the SAP NWA, navigate to SOA Management Technical Configuration Destination Template
Management .
4. Choose New to create a logical port.
5. Choose WSDL as a destination type.
6. Enter ConfigPort_Document in the Destination Name field.
7. Enter http://<host>:<port>/AdobeDocumentServices/Config?
wsdl&mode=ws_policy&style=document in the URL field and choose Next.
8. Choose HTTP Authentication in the Authentication group box and select the User ID/Password (Basic)
checkbox.
9. Choose the Details button. Enter ADSUser in the User ID field and the password in the Password and
Confirm Password fields.
10. Choose Finish to save your entries.
If you use certificated authentication (X.509 Client Certificate), do the following:
1. Configure the SSL Connection to ADS on the machine where ADS is installed (see Configuring the SSL
Connection to ADS in a Java Environment at http://help.sap.com SAP NetWeaver 7.3 Function-
Oriented View Adobe Document Services for Form Processing Configuring Adobe Document
Services for Form Processing (Java) ).
2. Import key pair into MII server as follows:
1. Navigate to the SAP NetWeaver Administrator (NWA) at http://<server>:<port>/nwa.
2. Log on to the SAP NWA with a user that has administrator privileges.

SAP MII - Configuration Guide


12 PUBLIC ADS Printing
3. In the SAP NWA, navigate to Configuration Security Certificates and Keys Key Storage.
4. Select DEFAULT from Key Storage Views. Click Import Entry to import a key pair that was prepared
by user.
5. Choose PKCS#12 key pair as entry type. Click Choose File to select the prepared PKCS#12 key file.
Enter password to decrypt key file.
6. Click Import to save the key pair.

 Note

The Key Pair and Public-Key Certificate can be created through SAP NetWeaver Administrator. For
more information, see Creating a Key Pair and Public-Key Certificate and Signing It at http://
help.sap.com SAP NetWeaver 7.3 Function-Oriented View Adobe Document Services for
Form Processing Configuring Adobe Document Services for Form Processing (Java) .

3. Configure WSDL destination for X.509 client certificate authentication on MII server as follows:
1. Navigate to the SAP NetWeaver Administrator (NWA) at http://<server>:<port>/nwa.
2. Log on to the SAP NWA with a user that has administrator privileges.
3. In the SAP NWA, navigate to SOA Management Technical Configuration Destination
Template Management .
4. Choose New to create a logical port.
5. Choose WSDL as a destination type.
6. Enter SecureConfigPort_Document in the Destination Name field.
7. Enter https://<host>:<port>/AdobeDocumentServicesSec/Config?
wsdl&mode=ws_policy&style=document in the URL field and choose Next.
8. Choose HTTP Authentication in the Authentication group box and select the X.509 Client
Certificate indicator.
9. Choose the Details button. Choose DEFAULT as a Keystore view. Choose the view entry that was
imported in step 2 as a Private Key.
10. Choose Finish to save your entries.

For more information about configuration of SAP NetWeaver Adobe Document Services (ADS), see Configuring
Adobe Document Services for Form Processing (Java) at http://help.sap.com SAP NetWeaver 7.3
Function-Oriented View Adobe Document Services for Form Processing .

SAP MII - Configuration Guide


ADS Printing PUBLIC 13
8 Configuring Message Listeners

Use

Configuring Message Listeners for IDOC or RFC Communication

SAP MII provides a set of pre-shipped IDOC and RFC listeners (synchronous and asynchronous). These can be
configured to receive IDOCs and RFCs from an SAP ERP system. To enable the ERP system to issue RFCs or
IDOCs for the SAP MII RFC Listener or IDOC Listener, RFC Destinations must be defined on the ERP system.
The configurations on SAP MII is as follows:

Procedure

Creating an IDoc or RFC Listener in SAP MII

1. Logon to SAP Netweaver Administrator.


2. On the Configuration tab, choose Infrastructure Application Resources.
The Application Resources: Overview screen appears.
3. Choose Resource Adapters from the Show field.
4. Select any IDoc or RFC that starts with XMII from the Resource Name column.

 Note

The naming conventions are as follows:


○ Idoc listeners: XMIIIDOC01-10
○ Asynchronous RFC listeners: XMIIRFC01-10
○ Synchronous RFC listeners: XMIISRFC01-10

5. Enter the following values in the Properties tab:


○ ProgramID: Server's program ID as defined in SAP ERP system
○ MaxReaderThreadCount: Maximum count of listening servers. The minimum count is 1.
○ SAPClient: Client of the SAP ERP system
○ UserName: User who can access the configured SAP ERP system
○ Password:
○ Language:
○ Server Name: SAP ERP Application Server name
○ Port Number: System number of SAP ERP system
○ Binding Key: XMII/XMIISRFC/XMIIIDOC

 Note

These values are specific for MII. XMII and XMIISRFC are for RFC listeners and XMIIIDOC is for IDoc
listeners

Additionally, the following properties are required for load balancing in a cluster:

SAP MII - Configuration Guide


14 PUBLIC Configuring Message Listeners
○ messageServer: SAP Message Server when using a server group (instead of ServerName/
PortNumber ), for example, binmain
○ System ID: SAP system name, for example, BIN
○ Group: Group of application servers, for example, PUBLIC
○ gatewayServer: GatewayServer Optional. Default value = <ServerName>. Configure this parameter
with the same value that is defined in transaction SM59 for the gateway host
○ gatewayService: If you are using a gateway host that does not belong to the system where you
maintained the parameter above, you also have to define the GatewayService parameter.
6. Choose Save.

Testing the Connection for IDoc or RFC

1. Logon to SAP MII system.


2. Choose Message Services Message Listeners.
3. Select any message listener and choose Edit.
4. Select message name/type from the Message Name field and choose Save.
5. Choose Update.
6. On the Configuration tab, check for SAP Server and client name. This should be the same as the SAP ERP
system.
A message regarding connection status appears on the Status tab.

Check to see if IDocs or RFCs were received in SAP MII

1. On the SAP MII administration menu, choose Message Services Message Monitor.
2. Choose Advanced.
3. Enter the time period in the From Time and To Date fields.
4. Choose Go.

The IDocs or RFCs sent from the SAP ERP system will be visible in the Message Monitor screen.

Configuring Message Listener for HTTP Messages

SAP MII provides a pre-shipped message listener XMIIMESSAGELISTENER for HTTP messages. The message
name and Id fields can be configured either using the pre-shipped listener or by passing as parameters on this
URL.

Following are the steps to configure these fields using the pre-shipped listener:

1. On the SAP MII administration menu, choose Message Services Message Monitor.
2. Select XMIIMESSAGELISTENER in the Message Listeners and choose Edit.
3. Choose Configuration Add.
4. From the Schema column, browse and choose a schema.
5. Choose Link Editor from XPath for Message Name column
The structure of the schema to choose the XPath for the message name appears.
6. Repeat Step 5 to choose an XPath for Message ID.

Alternatively the parameters can also be passed as parameters using the URL, http://host:port//XMII/
Illuminator?
service=WSMessageListener&mode=WSMessageListenerServer&Name=<MessageName>MessageID=
<MessageID>

SAP MII - Configuration Guide


Configuring Message Listeners PUBLIC 15
Specifying the MessageID parameter provides Exactly Once support for HTTP messages. For Exactly Once In
Order support, the URL needs to be configured with the additional parameters SequenceName and
MessageNumber. The URL for EOIO is as follows: http://host:port//XMII/Illuminator?
service=WSMessageListener&mode=WSMessageListenerServer&Name=<MessageName>MessageID=
<MessageID>&SequenceName=<SequenceName>&MessageNumber=<MessageNumber>.

Setting up a Message Processing Rule

Message processing rules determine the method to process incoming RFCs and IDOCs. Messages are
processed based on their type. A message processing rule can be created as follows:

1. On the SAP MII administration menu, choose Message Services Message Processing Rules.
2. Choose Create.
3. Enter a rule name.
4. Select the name of your IDoc Listener from the Message Listener dropdown list.
5. The Message Type will be selected by default based on the Message Listener.
You can also use wildcards in the Message Type field.
6. Enter message name in the Message Name textbox.
7. Choose Category/Transaction as the Processing Type.
For asynchronous mode of processing, choose Transaction. Browse for a valid transaction. Set the input
parameter to the correct xml input parameter name.
○ On choosing Transaction, the transactions in the SAP MII Workbench are displayed. Select the
transaction with transaction parameter of data type XML. Once selected, the transaction parameters
are displayed in the Parameters table. Select the check box against the parameter to set the input
parameter to the correct XML input parameter name.
○ On choosing Category, choose Add, enter a category name and description and save.

Setting up a Message Cleanup Rule

The messages that are obsolete or no longer needed can be deleted from SAP MII through the message
cleanup rules. A message cleanup rule can be created as follows:

1. On the SAP MII administration menu, choose Message Services Message Cleanup Rules.
2. Choose Create.
3. Enter a rule name
4. Select the name of your IDoc Listener from the Message Listener dropdown list.
5. The Message Type will be selected by default based on the Message Listener.
6. Enter message name or type in the Message Name textbox.
7. Enter a value in hours in the Messages Older Than textbox
8. Select the desired Processing Status.
9. Select Enabled checkbox.
10. Choose Save.

SAP MII - Configuration Guide


16 PUBLIC Configuring Message Listeners
9 Configuring JRA for the JRA Actions

Prerequisites

You must have write permissions to the following pages:

● Operation Management Systems Start & Stop


● Configuration Management Infrastructure Application Resources

The above mentioned pages are located within the NetWeaver Administration (http://<server>:<port>/
nwa) configuration page.

Procedure

Starting the JRA Applications

1. Login to the NetWeaver Administrator page (http://<server>:<port>/nwa).


2. Choose Operation Management Start & Stop.
3. Select the Java EE Applications tab.
4. Enter jra in the application list filter box.
5. Select tc~sapjra from the list.

 Note

If status is Started, follow the steps as in the section Cloning the Default JRA Configuration.

6. Choose Start in the Application Details section.


7. Select On All Instances.
8. Set Started as initial state option.
9. Choose Save.

Cloning the Default JRA Configuration

1. Login to the NetWeaver Administrator page (http://<server>:<port>/nwa).


2. Choose Configuration Management Infrastructure Application Resources.
3. Select JCA Resources.
4. Select SAPJavaResourceAdapter15 from the Resource list.
5. In the Resource Details section, select the Dependent JCA Connection Factories tab
6. Choose Copy and Add New JCA Connection Factory to define JRA connection
7. Enter relevant resource name for the JNDI (Java Naming Directory Interface) name.
You must following the standard naming convention. The recommended naming convention is <Company
name>/MIISyncComm1. In the actions, the resource MIISyncComm1 will appear as
deployedAdapters/SAP/MIISyncComm1/<type>/SAP/MIISyncComm1 where type can be as follows:
○ NonGlobal: These connections are SAP ERP specific. Connections acquired from connection factory
with this setting will not be enlisted into distributed (Java Transaction API or JTA) transactions.

SAP MII - Configuration Guide


Configuring JRA for the JRA Actions PUBLIC 17
○ Shareable: This is an default JRA operation. All connections returned to the application will share one
physical connection. Only one physical connection is created even if the application wants to acquire 2
or more connections form one resource adapter.
○ Unsharable: Each connection for the application will use separate physical connections from the
connection pool. 2 or more physical connections are created if the application requires 2 or more
connections from one resource adapter
8. Choose Configuration Properties tab.
9. Enter the following values for the JRA communication configuration:
○ SAPClient: SAP ERP Client number
○ UserName:
○ Password:
○ Language : Enter login language for the user
○ ServerName: The SAP ERP server URL as it resolves on your network (Fully Qualified)
○ PortNumber: ERP defined system number

 Note

Additional parameters for Load Balancing across a cluster, such as MessageServer, SystemID, and
Group instead of ServerName and PortNumber can be assigned.

10. Optionally, you can limit the size and connection wait time for the JRA connections in the connection pool
by selecting the Connection Pooling tab and entering values in the Maximum Connections and Maximum
Time to Wait for Connection (Sec.) fields
11. Choose Save.
12. Logon to the SAP MII Workbench and verify that your newly created adapter appears in the SAP JRA
Interface SAP JRA Start Session

SAP MII - Configuration Guide


18 PUBLIC Configuring JRA for the JRA Actions
10 Configuring SAP MII Dataservers

Use

MII data servers can be configured in the SAP MII server using the Data Servers administration screen.

Procedure

Following are the configurations required for all data servers:

1. From the Settings tab of the Details section, select Allow Dynamic Query checkbox.
2. From the Users tab, search the users in the Available Users column. Add them to the Assigned Users
column.

1. Configuring PCo Dataservers

1. Logon to the SAP MII system using <Server Protocol>://<MI Servername>:<port>/XMII/


Menu.jsp.
2. Enter valid credentials.
3. On the SAP MII administration menu, choose Data Services Data Servers.
4. On the Data Services screen, choose Create.
The SAP MII: Data Servers screen appears.
5. Enter the following details:
○ Server Name:
○ Connector Type: PCo Connector
○ Description: Description for the sevrer.
6. Choose Next.
7. Enter the URL of the Pco instance as <Server Protocol>://<PCo Servername>:<port>/PCo
Management or use the registered Pco instance.
For using the registered Pco instance, browse to choose the instance and choose Next.
8. Enter credentials for the Pco server and choose OK.
9. Choose one PCo Agent and choose Finish.
10. Select the Enabled.
11. Choose Save.

2. Configuring IDBC Dataservers

You have to upload Java Database Connectivity (JDBC) drivers.

1. Follow steps 1–6 as in section Configuring PCo Dataservers.


In Step 5, enter IDBC in the Connector Type field.
2. Select Enabled checkbox in the Settings tab of the Details section.

SAP MII - Configuration Guide


Configuring SAP MII Dataservers PUBLIC 19
3. Enter the details in the Connection tab and choose Save. Following are some of the fields in the Connection
tab:

Parameter Description

DatePrefix Prefix to the start date and end date parameters in query
templates used to format the date to match the database
configuration.

If you are connecting to a Microsoft SQL server database,


the typical prefix is a single quote. If you are connecting to
an Oracle database, an example of a prefix is
GetDate('.

DateSuffix Suffix to the start date and end date parameters in query
templates used to format the date to match the database
configuration.

If you are connecting to a Microsoft SQL server database,


the typical suffix is a single quote. If you are connecting to
an Oracle database, an example of a suffix is ','MM/DD/
YYYY HH24:MI:SS').

InitCommand Command used by the database connector that is run


when a connection pool is created.

You can use it to set the database locale in Oracle.

InternalDateFormat Date format used to construct WHERE clause conditions.


Controls the construction of the WHERE clause for date
comparisons for specific databases and servers.

JDBCDriver Java Database Connectivity (JDBC) driver classpath used


to connect to the server.

Password Password to connect to the database.

The password field shows six asterisks even if your pass­


word has more or less characters or is blank.

Passwords are not passed between browser clients and


the database. The Servers.xml file is not accessible
through the Web server.

PoolMax Maximum number of connections the pool allocates.

If a request is received and all connections are in use and


allocated, the query waits for an available connection or
the specified timeout period.

PoolSize Number of connections to be established with the data­


base when the connection pool is initialized.

SAP MII - Configuration Guide


20 PUBLIC Configuring SAP MII Dataservers
Parameter Description

ServerURL Driver-specific string that defines how to access the data­


base.

For example, with the Microsoft SQL Server 2000 JDBC


driver, the ServerURL is: jdbc:inetdae://
hammer9:1433?
database=MyDatabase&sql7=true. The SQL
server on machine hammer9 is connected to the
MyDatabase database using TCP/IP port 1433.

For additional URL parameters, see the documentation


from the vendor of the JDBC driver you are using.

TimeOut Length of time (in minutes) that elapses before an unused


connection expires and its resources are released back to
the server. The connection pool maintains a minimum
number of connections and, if necessary, creates a new
connection.

UseCount Number of times a connection can be used before it is ter­


minated and its resources are released back to the server.

This parameter is only required for ODBC data sources


that have resource leaks when they execute many state­
ments.

User Name Database-specific user ID.

ValidationQuery Query used to determine if a database connection is valid.

For example, when using Microsoft SQL Server, you can


use SELECT GETDATE() or SELECT * FROM
Orders WHERE OrderId=-1.

The query does not have to return rows, but it must suc­
ceed.

WaitTime Amount of time SAP MII waits for a connection before it


fails.

For details on the fields in the Connection tab, see the topic Server Parameters in SAP MII application help
at http://help.sap.com/mii Data Services Data Servers Connectors . For other types of data
servers, see the topic Data Servers.

SAP MII - Configuration Guide


Configuring SAP MII Dataservers PUBLIC 21
11 Configuring SAP MII Schedulers

Use

You use the SAP Manufacturing Integration and Intelligence (SAP MII) Scheduler to do the following:

● Set up scheduled jobs


● Run transactions, queries, and manufacturing data objects (MDO) on different schedules
● View a summary of scheduled jobs

Procedure

To create a scheduled job, do the following:

1. On the SAP MII administration menu, choose System Management Scheduler.


2. Choose Create.
3. Enter a name for the scheduled job.
4. Select the type of job (Transaction/Query/Manufacturing Data Object (MDO)/Key Performance Indicator)
and choose OK.

Configuring Scheduler for a Transaction

1. On selecting a transaction, the Details screen appears.


2. Enter the description.
3. Select Enabled check box for the scheduler to be enabled and running at the specified scheduled time.
4. Browse the folders in the SAP MII Workbench and select a transaction.
5. Choose OK.
6. Enter credentials in the User Name and Password fields.
7. Choose a pattern for your scheduled job.
8. Choose OK.

From the Persistence Transaction dropdown list choose the transaction, Always/On Error/Never. Also, you can
choose the log level.

Configuring Scheduler for a Query

1. On selecting a query, the Details screen appears.


2. Enter the description.
3. Select Enabled check box for the scheduler to be enabled and running at the specified scheduled time.
4. Browse the folders in the SAP MII Workbench and select a query.
The parameters table displays the parameters of the selected query.
5. Choose OK.
6. Enter credentials in the User Name and Password fields.
7. Choose a pattern for your scheduled job.

SAP MII - Configuration Guide


22 PUBLIC Configuring SAP MII Schedulers
8. Choose OK.

Configuring Scheduler for Manufacturing Data Object (MDO)

1. On selecting a query, the Details screen appears.


2. Enter the description.
3. Select Enabled check box for the scheduler to be enabled and running at the specified scheduled time.
4. Browse the folders in the SAP MII Workbench and select an MDO.
5. Choose OK.
6. Enter credentials in the User Name and Password fields.
7. Choose a pattern for your scheduled job.
8. Choose OK.
9. From the Mode field, select Replace/Update/Delete.
○ Replace: This mode will replace all the data in the result set of the MDO object with new data.
○ Update: Updates the current result set of the MDO object.
○ Delete: Allows the MDO query to perform delete operations on MDO object data.
The parameters table displays the parameters of the selected MDO.
10. Choose Add and enter parameter key and value.
11. From the Postexecution tab, browse and choose a transaction.
The table displays the parameters of the selected transaction.
12. Choose Add and enter the input parameters for the Delete MDO Query.

Configuring Scheduler for Key Performance Indicator (KPI)

1. On selecting KPI, the Details screen appears.


2. Enter the description.
3. Select Enabled check box for the scheduler to be enabled and running at the specified scheduled time.
4. Browse the folders in the SAP MII Workbench and select an KPI.
5. Choose OK.
6. Enter credentials in the User Name and Password fields.
7. Choose a pattern for your scheduled job.
8. Choose OK.
9. From the Mode field, select Append/Delete.
○ Append: Appends the data to the existing result set of the KPI object
○ Delete: Allows the KPI query to perform delete operations on the selected KPI object data.
The parameters table displays the parameters of the selected KPI.
10. Choose Add and enter parameter key and value.
11. From the Post Execution tab, browse and choose a transaction.
The table displays the parameters of the selected transaction.
12. Choose Delete to enable the delete tab.
13. Browse and select a KPI query template from the SAP MII Workbench.
14. Choose Add and save the scheduler.
15. Choose Run.

Configuring Scheduler for PIC

1. On selecting PIC, the Details screen appears.


2. Enter the description.
3. Select Enabled check box for the scheduler to be enabled and running at the specified scheduled time.

SAP MII - Configuration Guide


Configuring SAP MII Schedulers PUBLIC 23
4. Select the PIC node which is mapped to the node in SAP ERP.
5. Choose OK.
6. Enter credentials in the User Name and Password.
7. Choose a pattern for your scheduled job.
8. Choose OK.
9. From the Mode field, select Update or Modify.
Update mode: Synchronizes the changes made in the values of the PM hierarchy nodes mapped to the
selected node in PIC hierarchy
Modify mode: Synchronizes the updates made in values of the PM hierarchy nodes and any structural
changes made to the hierarchy. For example, node deletion or node addition in a hierarchy.
10. Save the scheduler.
11. Choose Run.

Configuring Scheduler for Virtual Tag

1. Select Virtual Tag . Select the Run Historical Data check box to run the job in History mode.
2. To run the job in Current mode, keep the Run Historical Data check box unchecked.
3. Choose OK. The details screen appears.
4. Enter the description.
5. Select Enabled check box for the scheduler to be enabled and running at the specified scheduled time.
6. Select the virtual tag for which the job should be run.
7. Enter credentials in the User Name and Password.
8. If the mode is history, specify the execution time, start time, and end time.
9. If the mode is current, define the pattern that determines the execution schedule.
10. Save the scheduler.
11. Choose Run.

To edit a scheduled job, do the following:

1. On the SAP MII administration menu, choose System Management Scheduler.


2. Select the job from the table and choose Edit.
3. From the Details section, edit the data and choose Save.

To delete a scheduled job, do the following:

1. On the SAP MII administration menu, choose System Management Scheduler.


2. Select the job from the table and choose Delete.
3. Choose Yes.

SAP MII - Configuration Guide


24 PUBLIC Configuring SAP MII Schedulers
12 Configuring Connections in SAP MII

Use

You can maintain alias connection for the different MII connection types available on the Connections screen.
Everytime you connect to a server, you can provide connection alias details instead of providing connections
details. SAP MII 15.2 supports the following connection types:

● BC (SAP Business Connector)


● WAS (SAP NetWeaver Application Server)
● JCO (SAP Java Connector)
● JRA (Java Resource Adapter)
● FTP (File Transfer Protocol)
● MAIL (E-mail)
● JMS (Java Message Service)
● EJB (Enterprise JavaBeans)
● CR (Crystal Reports)

Procedure

To configure JCo connection, do the following:

1. Logon to the SAP MII system using <Server Protocol>://<MI Servername>:<port>/XMII/


Menu.jsp.
2. Choose Data Services Connections.
3. From the System Connections tab, choose Create.
The Connections — Create screen appears.
4. Enter a name and select JCo from the Connection Type field.
5. Choose OK.
The Details section appears.
6. Enter the following in the Settings tab.
○ Description:
○ Server: Hostname of the SAP system
○ Client: Client within the system that you want to access
○ System: Instance number for the SAP system
○ Pool Size: session timeout

 Note

Default value is 10.

○ SSO: True/False (Check the checkbox if SSO is required and also maintain the credentials using
Credential Alias screen in SAP MII for the SAP system)

SAP MII - Configuration Guide


Configuring Connections in SAP MII PUBLIC 25
○ Language:
7. Choose Save.

Follow the above procedure for all connection types except for Crystal Reports. The following connection types
are available for Crystal Reports:

● JDBC
● Java Beans
● XML and Web Services
● Access/Excel
● ADO.NET
● Database Files
● ODBC
● OLAP
● OLE DB
● SAP Info Sets

In the Settings tab, you can select any of the above mentioned connection types for crystal reports and
maintain the connection parameters or properties

SAP MII - Configuration Guide


26 PUBLIC Configuring Connections in SAP MII
13 KPI Monitor

Use

KPI Monitor can be used to supervise the values of all those KPI(s) that are visible for the current user’s role.
This screen provides a search template and you can define a custom search based on your defined date range,
a specific set of dimensions and their values for any selected KPI . Thus, using the KPI Monitor, you can create
and save different search templates with different sets of KPI(s) and their specifications that you wants to
monitor. On this screen, you can also view KPI values graphically along with other details like Trend, Status, and
many other specifications as defined in the KPI file definition.

Procedure

1. On the SAP MII: KPI Monitor screen, choose Create.


2. Enter the name and description in the relevant columns.
3. Select the duration in the Duration field.
4. Choose Add.
The Available KPIs screen displaying a list of KPIs appears. Since the KPIs are role based, the KPIs assigned
to the user are displayed in this screen.
5. From the Subscribe column, select the KPIs and choose OK.
The selected KPIs are now available in the Subscribed KPIs column.
6. From the Selected Dimensions section, choose Add.
The Available Dimension(s) screen appears.
7. Select the dimensions and choose OK.
The dimensions are added to the selected KPI. You can also specify values to the dimensions to query the
KPI values. .
8. Choose Save.

To view the data for the selected KPI, choose Run.

To import and export the search templates between different systems, choose the relevant buttons from the
SAP MII: KPI Monitor screen.

SAP MII - Configuration Guide


KPI Monitor PUBLIC 27
14 Configuring Enhanced Change and
Transport System (CTS+) with SAP MII

Use

You have to register Enhanced Change and Transport System (CTS+) as RFC destination in the NetWeaver
server.

Procedure

1. Logon to the SAP NetWeaver administration screen using administrator credentials.


2. Go to Configuration/Security/Destinations.
3. Choose Create in the Destinations List table.
The Destinations screen appears.
4. Enter the following:
○ Hosting System: Local Java System N73
○ Destination Name: sap.com/com.sap.tc.di.CTSServer
○ Destination Type: RFC
5. Choose Next.
The Connection screen appears.
6. Enter the following:
○ Target Host: Name of the CTS system
○ System Number: CTS system number
○ System ID: CTS system ID
7. Choose Next.
The Authentication screen appears.
8. Enter the following:
○ Authentication User:
○ Language:
○ Client:
○ User Name: CTS system user name
○ Password: CTS system password
9. In the Repository Connection, enter the details in Destination name, User Name and Password.
10. Choose Finish.

To test the RFC connection, select the created destination in the Destination List table, choose Ping Connection
button in the Destination Details column. A success message appears.

To create an application in the CTS system, see SAP Help Portal at http://help.sap.com Application
Lifecycle Mgmt CTS PLUG-IN 1.0 Change and Transport System (Including CTS Plug-In) Change and
Transport System - Overview (BC-CTS) Performing Configuration Steps for Non-ABAP Transports

SAP MII - Configuration Guide


28 PUBLIC Configuring Enhanced Change and Transport System (CTS+) with SAP MII
Connecting Further Applications with the Change and Transport System Configuring Source Systems for
Further Applications.

SAP MII - Configuration Guide


Configuring Enhanced Change and Transport System (CTS+) with SAP MII PUBLIC 29
15 Transporting OEE Configurations (SAP
MII)

You can transport OEE-relevant configurations made in SAP MII. You can export and import the OEE
configurations between the source and target SAP MII systems. XML files are created for the configurations
that you choose to export. You can export these files using the File System export method or through Enhanced
Change and Transport System (CTS+).

1. From the SAP MII main menu screen, choose System Management Configurations
A list of configurations that can be exported are displayed.
2. Select the configurations that you want to export.
In addition to the SAP MII configurations, the following OEE-specific configurations can be exported:

Configuration Associated XML File

Dashboard Configuration OEEPod.xml

Activity Configuration OEEActivity.xml

Order Status Description OEEStatus.xml

Workflow Configuration OEEWorkflow.xml

3. Enter the Pass Phrase. Choose Export.


4. Enter the target client and plant.
The system creates XML files containing the configuration data. The XML files are zipped.
5. Depending on the export method you choose, the zipped XML file is exported as follows:
○ File System: You save the zipped file at a secure location. You then import the configurations into the
target SAP MII systems relevant to you.
○ CTS+: The system exports the zipped file to the CTS+ system. The CTS+ system then imports the
zipped file into the target system you specified.
6. When export is done using CTS+, the configurations are automatically implemented in the target system.

SAP MII - Configuration Guide


30 PUBLIC Transporting OEE Configurations (SAP MII)
16 Plant Information Catalog (PIC)

Procedure

To import Plant Information Catalog (PIC) using SAP MII: Configurations screen:

● You must have a change list.


● The status of all the tags and groups in the working version must be Open or Marked for Delete.

A category is an identifier of a group or a tag in an enterprise. For example, Plant, Work Center, functional
location and so on. You can associate property sets to categories.

Following are the configurations for Plant Information Catalog (PIC):

Category

1. From the SAP MII administration screen, choose Catalog Services Category Add.

1. On the SAP MII administration menu, choose Catalog Services Category.


The Category screen appears.
2. From the Category tab, choose Add.
3. In the Name column, enter the name.
4. Choose Add from the Property Set tab
5. Select the property sets available in the Property Set tab.
6. From the Localization tab, choose Add.
7. Choose the language from the drop-down list.

Property Sets

1. On the SAP MII administration menu, choose Catalog Services Property Sets.
The Property Set screen appears.
2. Choose Add.
3. In the Property Set tab, enter the name and description in the Property Set and Description fields.

Roles for Approver

The role of the approver is to verify whether the changes to the groups, tags, property sets, and categories are
available in the Plant Information Catalog. To approve your change lists, you must be assigned the role
SAP_XMII_ADMINISTRATOR or SAP_XMII_SUPER_ADMINISTRATOR. You must be assigned the role
SAP_XMII_APPROVER to approve change lists created by others.

User Authorization in Catalog Services

Access control for users can be configured for each node in the Plant Hierarchy. The users must be members
of user groups created in UME and the user groups can be given access to perform specific operations. The
following roles are used to control the access.

PIM/PIC Super Administrator

Users assigned with the role SAP_XMII_PIM_Super_Administrator has full access to the entire plant hierarchy
and can perform all operations. Super Administrators can assign Node Admins on PIM Node Admin tab.

SAP MII - Configuration Guide


Plant Information Catalog (PIC) PUBLIC 31
PIM/PIC Super Administrator

Users assigned with the role SAP_XMII_PIM_Super_Administrator has full access to the entire plant hierarchy
and can perform all operations. Super Administrators can assign Node Admins on PIM Node Admin tab.

PIM/PIC Super Administrator

Users assigned with the role SAP_XMII_PIM_Super_Administrator has full access to the entire plant hierarchy
and can perform all operations. Super Administrators can assign Node Admins on PIM Node Admin tab.

PIM/PIC Node Administrator

Users assigned with the role SAP_XMII_PIM_Administrator can be added as Node Admins for PIC Node. Only
Super Administrators have access to assign Node Admins. Node Admins have full access to perform all
operations for that node. Node Admins can assign other User Groups and give relevant authorizations to
perform operations on that node.

PIM/PIC Users

Users assigned with the roles which contains the action XMII_Catalog_Editor or other related actions can be
given access to the node by adding the User Group in Node Authorization tab. User Group assignment can be
done by Super Administrators and Node Admins Permissions to read/write/delete/execute/transport can be
given to the User Group. User should have the role with the action XMII_PIM_RWDTransport additionally for
transporting PIM/PIC data. For more details, see the topic Actions and Permissions

Configuration of SAP ERP system with SAP MII

You have configured the SAP ERP system. You can use the resource adapter MII Plant Information Catalog
Connection to point to the desired SAP ERP system and to get Production Planning (PP) and Plant
Maintenance (PM) hierarchies. To do so:

1. Logon to the NetWeaver administration screen using the URL http://<host>:<port>/nws.


2. Choose Configuration Infrastructure Application Resources.
3. From the drop-down list, choose Resource Adapters.
4. Select MII Plant Information Catalog Connection and configure the properties under the Properties tab.

 Note

You can also configure multiple ERP systems by selecting other adapters such as MII Plant Information
Catalog Connection 01, MII Plant Information Catalog Connection 02, MII Plant Information Catalog
Connection 03, and MII Plant Information Catalog Connection 04 and configure the same.

More Information

To enable SAP ERP Production Planning and Plant Maintenence hierarchy integration with SAP MII Plant
Information Catalog, the following notes must be implemented:

● 1822818
● 1897708

SAP MII - Configuration Guide


32 PUBLIC Plant Information Catalog (PIC)
17 SAP MII Mail Configuration

To send mail notifications for MII applications such as Alert Framework and Plant Information Catalog, do the
following configurations:

1. To create a connection, do the following:


1. On the SAP MII Administration Menu, choose Data Servers Connections Create.
The SAP MII: Connections screen appears.
2. Enter MII_MAIL_CONFIG in the Connection Name field.
The Details screen appears.
3. Enter the details of the mail server.
2. Choose Security Services Credential Stores Create.
The SAP MII: Credential Stores screen appears.
3. Enter MII_MAIL_ADMIN in the Name field.
The Details screen appears.
4. Enter the details of the mail server as in the Connections screen.

SAP MII - Configuration Guide


SAP MII Mail Configuration PUBLIC 33
18 Configuring Dashboards Connector

Use

You use SAP Business Objects Dashboards Integration to leverage data from SAP MII queries and SAP MII tag
data available in SAP Business Objects Dashboards to create powerful, interactive dashboards on top of real
time manufacturing data down to the machine level.

You use the Dashboard connector as a data source inside SAP Business Objects Dashboards to integrate with
SAP MII. A generated output flash file (.swf) can as well be embedded in any HTML/JSP/IRPT page in the SAP
MII system.

To create customized, dynamic and interactive dashboards, you have to configure dashboards connector.

Prerequisites

You have:

● Installed SAP Business Objects Dashboards 4.0 application in your local system from the service market
place (http://service.sap.com Software Downloads Installations and Upgrades A-Z Index SBOP
Dashboards 4.0. )
● Microsoft Excel
● Downloaded Dashboards Connector from the Tools and Archive page.
● Flash Payer Version 10.3X or higher

Procedure

1. Install the connector in the Dashboards 4.0 application. To do so:


1. On the Dashboards 4.1 application, choose File Manage Add-ons
The Add-On Manager screen appears.
2. Choose Install Add-On.
3. Select MII Connector.
4. Choose OK.
2. On the Dashboard 4.0 application, choose Data Connections.
3. Choose Add and select MII Connector from Add-On Connections.
The Data Manager screen appears.
4. Configure the connector by entering connection name, protocol, machine name, port, credentials like
username and password, and WSDL paths.
5. Choose Test Connection to verify connections.
6. Choose, browse and select the query template by browsing through the project hierarchy.

SAP MII - Configuration Guide


34 PUBLIC Configuring Dashboards Connector
7. To check XML output, choose Preview XML.
8. To bind the parameters to a spreadsheet, select a parameter from the Output Parameter field and choose
the cell selector and select an area in the spreadsheet.
9. On the Usage tab, select Refresh on Load.
10. Close the connection dialog and choose a component that would render the value on the spreadsheet.
11. Choose Preview to preview the dashboard in the application.
12. To execute dashboards from SAP MII Workbenck, do the following:
1. Export the dashboards by choosing File Export HTML. Save the swf and html objects in the file
system.
2. Import the exported objects in MII Workbench by choosing the project under Web tab. choose import.
Choose the exported objects and say OK.
13. Choose Test to run the imported html file.

SAP MII - Configuration Guide


Configuring Dashboards Connector PUBLIC 35
19 Configuring MII Crystal Reports
Connector in Crystal Reports

Use

Crystal Reports is a Business Objects tool used for reporting. Any MII user can create reports from MII query
templates.

Prerequisites

You have:

1. Installed Crystal Reports 2011 from http://service.sap.com Software Downloads Installations and
Upgrades A-Z Index Crystal Reports 2011.

Downloaded Crystal Report connector from Tools and Archive.

For more information, see Tools and Archive topic in the SAP MII application help at http://
help.sap.com/mii Content Development SAP MII Hana Integration .

Procedure

To configure Crystal Reports 2011, do the following:

1. Copy the connector to <CR_Install_Dir>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI


4.0\java\lib\external.
2. Update classpath element in CRConfig.xml to include path to the CRMIIConnector.jar file. The
CRConfig.xml can be located in CR_Install_Dir>\SAP BusinessObjects\SAP BusinessObjects Enterprise XI
4.0\java where <CR_Install_Dir> is the Crystal Reports installation directory.

To embed crystal reports to SAP MII web page (IRPT/JSP), do the following:

1. Download custom tags sdk from SAP MII Admin page ( System Resources Custom Report Tags. )
2. Import crystalreportviewers folder available under WEB folder of your project to the Web tab of MII
Workbench. To do so, download Crystal Reports Runtime libraries for Java from http://
www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp . Extract the
downloaded zip file to fetch the folder crystalreportviewers. The extracted contents also contains the
required Crystal Reports dependency jars needed for creating the custom tags bundle.

Creating Connection to SAP MII Server

1. Choose Start Crystal Reports 2011 .


The Crystal Report application appears.

SAP MII - Configuration Guide


36 PUBLIC Configuring MII Crystal Reports Connector in Crystal Reports
2. Choose File New Blank Report .
The Database Expert screen appears.
3. From Create New Connection, choose JDBC (JNDI).
The JDBC (JNDI) screen appears.
4. Enter the following:
○ Connection URL: jdbc:sapxmii://<Servername>:<port>/
In case of https connection, an additional parameter ssl is to be used in the URL that is,
jdbc:sapxmii://<Servername>:<port>>/?ssl=true and server certificate has to be imported
into the jvm.
○ Database Classname: com.sap.xmii.bobj.crystal.jdbc.CRMIIConnector
5. Choose Next.
The Connection Information screen appears.
6. Enter the credentials in the following fields:
○ UserID:
○ Password:
7. Choose Finish.
The connection is added to MyConnections and on expanding the connection the query templates for that
MII instance are listed.

SAP MII - Configuration Guide


Configuring MII Crystal Reports Connector in Crystal Reports PUBLIC 37
20 Configuring Solution Manager for SAP
MII

Adding Java System to SLD

1. Logon to the NetWeaver Administration screen in SAP MII system.


2. Choose Configuration Security Destinations.
The Destination Wizard screen appears.
3. Enter the following details:
○ Destination Name: SLD_Client
○ Destination Type: HTTP
4. Choose Next.
5. Enter the sld url of the solution manager system URL field.
6. Choose Finish.
7. Create another destination with the following details:
○ Destination Name: SLD_DataSupplier
○ Destination Type: HTTP
8. Choose Next.
9. Enter the sld url of the solution manager system in the URL field.
10. Verify the configurations in the destination and SLD system by choosing Configuration Infrastructure
SLD Data Supplier Configuration.

Adding Diagnostic Agent to SLD

1. Goto SAP MMC and stop the diagnostic agent.


2. Open a command prompt and navigate to the script folder of the agent path: usr/sap/<SID_AGT>/
SMDAXX/script
3. Enter sapms://solman.full.qual.host.name port:<message server port>
user:"SMD_ADMIN" pwd:"XXXXXXXX".
4. Enter the user name as SMD_ADMIN and relevant password.
A success message appears.
5. Start the diagnostics agent from SAP MMC.

Loading Template XML to Solution Manager System

1. Logon to SolMan system.


2. Call the transaction solman_setup.

SAP MII - Configuration Guide


38 PUBLIC Configuring Solution Manager for SAP MII
A web page appears.
3. Choose Administration Solution Manager Administration Infrastructure.
4. Choose Framework Root Cause Analysis.
5. Select the system registered to the solution manager system from the views.
6. Browse and select the XML file under Change Reporting Template Management section.
7. Choose OK.
A success message appears if the XML is valid and well formed.

Configuring Managed System

1. Logon to Solution Manager System.


2. Call the transaction solman_setup.
3. Choose Managed System Configuration.
4. Select the java system and choose Configure System.
The java system and xMII software components are added if the check boxes in the Installed column are
selected. Additionally, verify if the checkbox in the Diagnostically Relevant column is selected.
5. From the Select Product tab, select a system and choose Display Technical Configuration.
Verify if the Diagnostically Relevant checkbox is selected for the selected software components.
6. From the Check Prerequisites tab, choose Prerequisites Check.
A list of major issues appears. Correct the issues and rerun the checks.
7. From the Assign Diagnostics Agent tab, choose Agent Assignment, select the system and move to SLD
Agent Candidates tab.
8. Select the corresponding agent, choose Get Agents Connect.
The Status column indicates that the agent is assigned to the managed system.
9. Choose Enter System Parameters tab and enter all the relevant parameters of the managed system.
10. From the Enter Landscape Parameters tab, select the JAVA server and enter the parameters that were
uploaded as part of the template.
11. You can create users manually or from SolMan roles by choosing the Create Users tab.
12. On the Configure Automatically tab, check for the status of the Extractor Setup.

SAP MII - Configuration Guide


Configuring Solution Manager for SAP MII PUBLIC 39
Important Disclaimers and Legal Information

Hyperlinks
Some links are classified by an icon and/or a mouseover text. These links provide additional information.
About the icons:

● Links with the icon : You are entering a Web site that is not hosted by SAP. By using such links, you agree (unless expressly stated otherwise in your
agreements with SAP) to this:

● The content of the linked-to site is not SAP documentation. You may not infer any product claims against SAP based on this information.
● SAP does not agree or disagree with the content on the linked-to site, nor does SAP warrant the availability and correctness. SAP shall not be liable for any
damages caused by the use of such content unless damages have been caused by SAP's gross negligence or willful misconduct.

● Links with the icon : You are leaving the documentation for that particular SAP product or service and are entering a SAP-hosted Web site. By using such
links, you agree that (unless expressly stated otherwise in your agreements with SAP) you may not infer any product claims against SAP based on this
information.

Beta and Other Experimental Features


Experimental features are not part of the officially delivered scope that SAP guarantees for future releases. This means that experimental features may be changed by
SAP at any time for any reason without notice. Experimental features are not for productive use. You may not demonstrate, test, examine, evaluate or otherwise use
the experimental features in a live operating environment or with data that has not been sufficiently backed up.
The purpose of experimental features is to get feedback early on, allowing customers and partners to influence the future product accordingly. By providing your
feedback (e.g. in the SAP Community), you accept that intellectual property rights of the contributions or derivative works shall remain the exclusive property of SAP.

Example Code
Any software coding and/or code snippets are examples. They are not for productive use. The example code is only intended to better explain and visualize the syntax
and phrasing rules. SAP does not warrant the correctness and completeness of the example code. SAP shall not be liable for errors or damages caused by the use of
example code unless damages have been caused by SAP's gross negligence or willful misconduct.

Gender-Related Language
We try not to use gender-specific word forms and formulations. As appropriate for context and readability, SAP may use masculine word forms to refer to all genders.

SAP MII - Configuration Guide


40 PUBLIC Important Disclaimers and Legal Information
SAP MII - Configuration Guide
Important Disclaimers and Legal Information PUBLIC 41
www.sap.com/contactsap

© 2019 SAP SE or an SAP affiliate company. All rights reserved.

No part of this publication may be reproduced or transmitted in any form


or for any purpose without the express permission of SAP SE or an SAP
affiliate company. The information contained herein may be changed
without prior notice.

Some software products marketed by SAP SE and its distributors


contain proprietary software components of other software vendors.
National product specifications may vary.

These materials are provided by SAP SE or an SAP affiliate company for


informational purposes only, without representation or warranty of any
kind, and SAP or its affiliated companies shall not be liable for errors or
omissions with respect to the materials. The only warranties for SAP or
SAP affiliate company products and services are those that are set forth
in the express warranty statements accompanying such products and
services, if any. Nothing herein should be construed as constituting an
additional warranty.

SAP and other SAP products and services mentioned herein as well as
their respective logos are trademarks or registered trademarks of SAP
SE (or an SAP affiliate company) in Germany and other countries. All
other product and service names mentioned are the trademarks of their
respective companies.

Please see https://www.sap.com/about/legal/trademark.html for


additional trademark information and notices.

THE BEST RUN

You might also like