Contact Us

SAP MII

Among others, SAP Manufacturing Integration and Intelligence (MII) is used to integrate plants and enterprise systems. SAP MII is able to integrate with various system types, communicating via RFC, HTTP or SOAP calls (depending on the communication partner).

The following entities are important:

  • Transactions are used to execute synchronous or asynchronous processes within MII. Often the counterpart on SAP ERP side is communication via IDoc.
  • JCo Messages are used to transfer data in XML format. If SAP ERP is the communication partner usually BAPI calls are made via RFC.
  • Schedulers are responsible to schedule and run transactions, queries, and other objects in SAP MII.
  • Data servers / Message Listeners are used to communicate with plants and SAP ERP systems. They can be regarded as end points / ports for the message processing.

Technical Prerequisites

SAP MII messages can be monitored with older versions of SAP Focused Run, however we recommend to use SAP Focused Run 3.0 FP00 to monitor SAP MII messages.

To be able to monitor SAP MII queues you need:

  • SAP Focused Run 2.0 FP02 and FP03

The following minimum system requirements apply to the managed SAP MII system:

  • SAP MII:
    • SAP MII 14.0
    • SAP MII 15.0
    • SAP MII 15.1

Note that metrics "Number of failed JCo messages", "Number of intermediate JCo messages", "Number of successful JCo messages", and "Average time to process JCo messages" require to have at least:

  • SAP MII 14.0, SP09
  • SAP MII 15.0, SP07
  • SAP MII 15.1, SP02

To use the new features for SAP MII monitoring:

  • Message processed by Date (for MII Messages)
  • Time zone support (for MII Queues and MII Messages)
You need at least:
  • SAP Focused Run 3.0 FP00

and the following minimum support package level for SAP MII system:

  • SAP MII:
    • SAP MII 15.4 SP 01
 

Integration Monitoring Setup

Available Monitoring Categories

The available monitoring categories are:

  • MII Messages: MII messages send and received from the SAP MII system
  • MII Queue: Status of the MII queues in the SAP MII system

Available Filter Options

MII Messages

For SAP MII message monitoring, you can collect all MII messages sent or received in the managed system. You can also use the following filter parameters, to restrict the data collection:

  • Message Type: RFC, IDOC or WebService.
  • Status Group: ERROR, PROCESSING, SUCCESSFUL
  • Status: select the desired status from the input help
  • Server name: Name of the server the transaction is running on
  • Category: Queue in which the message is saved in the buffer for sequential processing. Only available if the message has processing type Category.
  • Message Name: Name of the RFC (synchronous or asynchronous), IDoc type, or Web Service message.

MII Queue

For SAP MII queue monitoring, you can collect all MII queues in the managed system. You can also use the following filter parameters, to restrict the data collection:

  • Document Type: The type of workflow that is used to dispatch messages for processing (e.g. MATMAS03 or INVCON02_INV_PEG)
  • Status: FAILED, PASSED, QUEUED, RETRY

Available Metrics

For interfaces of type MII the following metrics are collected:

MII Messages

  • MII messages in status ERROR for longer than N minutes: Indicates new MII messages in the status group ERROR were collected during the collection interval
    Metric parameters: 
    • STATUS_GROUP (not changeable) = ERROR
    • OLDER_THAN_MINUTES = Only consider MII messages older than [minutes] 
  • Number of MII messages in status BACKLOG for longer than N minutes: The number of MII messages in the status group PROCESSING found during the collection interval
    Metric parameters:  
    • STATUS_GROUP (not changeable) = PROCESSING
    • OLDER_THAN_MINUTES = Only consider MII messages older than [minutes]

MII Queue

  • Number of Message Queue entries in status FAILED: Indicates a high number of SAP MII queues are in status FAILED (Error indicator)
    Metric parameters:
    • Document Type: The type of workflow that is used to dispatch messages for processing (e.g. MATMAS03 or INVCON02_INV_PEG)
    • Status: Select FAILED from the input help
    • Status Group (not changeable) = FAILED
  • Number of Message Queue entries in status QUEUED: Indicates a high number of SAP MII queues are in status QUEUES (Backlog indicator)
    Metric parameters:
    • Document Type: The type of workflow that is used to dispatch messages for processing (e.g. MATMAS03 or INVCON02_INV_PEG)
    • Status: Select QUEUED from the input help
    • Status Group (not changeable) = QUEUED