The global and independent platform for the SAP community.

Automation succeeds with the right middleware

To enable automation in the sense of Industry 4.0, a large number of systems in the company must be able to communicate with each other, including PLC systems, the ERP system, the manufacturing execution system, printers and databases.
Andrea Reichel, Inray Industrial Software
Thorsten Weiler, Inray Industrial Software
June 28, 2019
Automation succeeds with the right middleware
avatar
avatar
This text has been automatically translated from German to English.

The right middleware provides a user-friendly solution to couple all sides bidirectionally and reliably provide the required networking.

The company benefits from this with rising quality in production, higher production output, falling error rates and cost savings. The accompanying automation requires large-scale networking of the systems involved in production.

On the production side, these include the Programmable Logic Controller (PLC), which controls the equipment, or the Human Machine Interface (HMI), which as a visualization system allows operation, monitoring and control of production.

But the Manufacturing Execution System (MES), in which the production data converge and which allows the technical management to evaluate and analyze production processes via the graphic display, must also be integrated; as well as the machine and production data acquisition (MDE/BDE) and database systems, which can store certain data from production in the millisecond range.

On the commercial side is Enterprise Resource Planning (ERP), which manages the resource planning behind production with customer orders including quantities, products and delivery dates.

Printers, barcode readers, RFID readers, cloud applications, e-mail, MS Word and Excel are also added to the communication loop. If interfaces between systems cannot be easily coupled directly, middleware comes into play. It is able to establish communication between two or more systems such as control, HMI, ERP or database.

The OPC router for example, is one such tool that defines process flows. In this way, it makes exchange and thus simple, bidirectional communication possible. It understands, reads and writes all the languages involved and passes on the information - what data, when, where, to whom - at the right time.

OPC Router Monitor

The need in companies for such middleware is great, even if the ERP can already speak and understand protocols such as OPC UA or Rest and MQTT. Without middleware, processes would have to take place behind the logic in the ERP - where does the data come from, how must it be linked, which handshakings must be taken care of.

The logic can be extracted via the middleware: Then only what is needed to provide the data to an SAP system, for example, is important.

Middleware also ensures that the data arrives at the central ERP from the locations, even with large company structures, and represents a solution that is close to production.

The OPC router is linked to the SAP ERP/ECC by displaying data to be exchanged in boxes and linking them on the graphical user interface with drag-and-drop arrows.

On the OPC level, for example, these can be data points from the production or packaging plant; from the other side, the associated parameters with relevant process data are made available by SAP via interfaces such as RFC or Bapi, or the associated material master data and order data are made available via IDoc.

The arrows represent the corresponding connections in the communication. A variety of trigger mechanisms for data transfer exists. These conditions can be freely defined for most source systems. For example, a confirmation for the order can be triggered in the production system and this can be transferred to functionalities on the SAP side.

SAP can generate feedback messages via RFC and Bapi. They are in turn returned to the controller and it is confirmed that a data exchange has taken place.

The OPC router can also serve as an RFC host, address OPC from SAP and initiate a data exchange, for example a material information download or order download including the corresponding feedback to the SAP system.

The OPC Router has standard interfaces in all directions - OPC to the production level, SQL or ODBC to database applications, Rest and MQTT for the latest SAP and cloud systems - if IoT interfaces are not yet available at the production level.

In addition, a native SAP connection via RFC, Bapi and IDoc is possible. Corresponding RFC libraries are available for older SAP systems and NetWeaver libraries for newer systems. Other ERP systems can be connected via Web Service.


Note from the editor:

No reference has been made in this technical article to the resulting licensing requirements. Coupling SAP with third-party systems always includes the topic of "indirect" use and "digital access".

avatar
Andrea Reichel, Inray Industrial Software


avatar
Thorsten Weiler, Inray Industrial Software


Write a comment

Working on the SAP basis is crucial for successful S/4 conversion. 

This gives the Competence Center strategic importance for existing SAP customers. Regardless of the S/4 Hana operating model, topics such as Automation, Monitoring, Security, Application Lifecycle Management and Data Management the basis for S/4 operations.

For the second time, E3 magazine is organizing a summit for the SAP community in Salzburg to provide comprehensive information on all aspects of S/4 Hana groundwork.

Venue

More information will follow shortly.

Event date

Wednesday, May 21, and
Thursday, May 22, 2025

Early Bird Ticket

Available until Friday, January 24, 2025
EUR 390 excl. VAT

Regular ticket

EUR 590 excl. VAT

Venue

Hotel Hilton Heidelberg
Kurfürstenanlage 1
D-69115 Heidelberg

Event date

Wednesday, March 5, and
Thursday, March 6, 2025

Tickets

Regular ticket
EUR 590 excl. VAT
Early Bird Ticket

Available until December 20, 2024

EUR 390 excl. VAT
The event is organized by the E3 magazine of the publishing house B4Bmedia.net AG. The presentations will be accompanied by an exhibition of selected SAP partners. The ticket price includes attendance at all presentations of the Steampunk and BTP Summit 2025, a visit to the exhibition area, participation in the evening event and catering during the official program. The lecture program and the list of exhibitors and sponsors (SAP partners) will be published on this website in due course.