Part I
Administration and Configuration
This chapter explains the integration mechanism between SAP ERP and SAP ME and the configurations required in the SAPMENINT component in SAP MII for integration. It explains how to configure SAPMEINT and describes the functionality of different monitoring activities.
1Configuring and Monitoring SAPMEINT
Because SAP ME is an MES solution, you need to integrate it with SAP ERP and other external applications to exchange master and transactional data bi-directionally. The integration with SAP ERP is most important, because most of the master data such as material, work center, routing as well as transactional data such as production orders, and inventory are maintained in SAP ERP and need to be sent to SAP ME for its operations. In addition, SAP ME needs to send different information such as shop order confirmations, nonconformances, and equipment breakdown information to SAP ERP for recording actuals.
Because SAP MII is an SAP product for manufacturing systems integration, it is a natural platform of choice for integrating SAP ERP with SAP ME. SAP delivers the integration content for most of the standard master and transactional interfaces to exchange data bi-directionally between SAP ERP and SAP ME. SAP ME/SAP ERP integration, or SAPMEINT, is a component of SAP ME on SAP MII that contains all required interfaces for communication between SAP ERP and SAP ME. In this chapter, we’ll explain the SAPMEINT configuration details and features and also go over your monitoring options.
1.1Configuring SAP MII for SAP ME
SAP MII is an integration and composition platform which is used along with SAP ME for integrating with SAP ERP and other systems. In the following sections you will learn how to configure SAP MII and the SAPMEINT framework for integrating SAP ERP with SAP ME.
1.1.1SAP ERP and ME Integration
The SAPMEINT component of SAP MII provides a framework through which message workflows can be defined to integrate SAP ERP and other external systems with SAP ME using different interfaces. The SAPMEINT workflow framework is designed to provide a mechanism through which any interface mapping can be easily incorporated between SAP ERP and SAP ME and changed as needed through simple configurations. SAP provides integration content in the SAPMEINT component as message workflows for the interfaces listed in Table 1.1 and Table 1.2. These message workflows provide the mapping, error-handling, and transfer mechanisms between SAP ERP and SAP ME.
| SAP ERP Interface | SAP ME Interface |
| Material | Material |
| Material with classification | Material with custom data |
| BOM | BOM |
| Work center | Resource or work center |
| Work center with individual capacities | Work center with resources |
| Routing (standard and rate) | Routing with operations |
| Routing with document info record | Routing with work instruction |
| Personnel with qualification | User with certification |
Table 1.1Master Data Interfaces Provided by SAPMEINT
| SAP ERP Interface | SAP ME Interface |
| Production order | Production shop order |
| Production order with serial numbers | Production shop order with SFC numbers |
| Production order with document info record | Production shop order with work instruction |
| Production order with quality inspetion lot | Production shop order with quality inspection lot |
| Production order with BOM and routing | Production shop order with BOM |
| Production order with scheduling information | Production shop order with quantity splits associated with resources and scheduling information |
| Planned order | Repetitive shop order |
| Planned order with BOM and routing | Repetitive shop order with BOM and routing |
| Service order | RMA shop order |
| Inventory | Floor stock (inventory ID) |
| Quality notification | Nonconformance |
| Equipment (PM), technical resource, and tool | Resource and tool number and usage with information and downtimes |
| Production/planned order confirmation | Shop order completion |
| Production/planned order scrap | Shop order scrap |
| Activity confirmation for production order | Approved direct labor records (only collected work time) |
| Quality inspection results | Data collection for quality inspection |
Table 1.2Transactional Data Interfaces Provided by SAPMEINT
SAPMEINT uses the message service available in SAP MII for receiving messages from SAP ERP. All messages from SAP ERP for SAP ME are sent as IDoc messages. From SAP ERP 6.0 Enhancement Pack 5 onwards, a new component is available in SAP ERP called the Data Replication Framework (DRF), which can be used to automatically send IDoc messages on specific events, such as release of production orders, goods movement, and so on. The message listener in SAP MII provides a listener for IDoc messages and receives IDoc messages sent from SAP ERP, buffers them in the message service, and executes...