Plug-in for your SAP System

Connect SAP Systems efficiently and easily to your system environment

SAP is one of the leading ERP systems in the world. In various industries SAP systems are the leading system that ensure smooth work cycls and processes in a company. This encompasses all work categories from order management to production management. Various SAP modules are designed to make workflows work as best as possible by being highly specified to suit the respective work profile with its many different tasks. In production environments the OPC Router is implemented  closely aligned to PP (Production Planning an Control), or PP-PI (Production Planning – Process Industries), or PM (Plant Maintenance and Service Management), QM (Quality Management) or EWM (Extended Warehouse Management). Furthermore, the SAP Hana connection is possible with our SAP Hana plug-in.

To access SAP, all necessary SAP interfaces are made available through the OPC Router, which offers connectability with RFC, BAPI und IDoc. Thus, SAP data can be distributed and transferred to other systems in mulitple ways, as well as transferred from other systems into SAP.

Watch our video tutorial for how to transfer OPC Data to SAP or find a more detailed video about this topic by visiting our tutorial stream.

Test SAP connection for free
SAP Systems

That’s how easy it is.

SAP connection via drag & drop

The coupling of SAP with your system environment is very easy and intuitive with OPC Router via drag & drop. In our screenshot you can see an example of how the connection works in detail. Here, an RFC function is called with an ID as an input parameter. The parameter was read by the OPC UA server and the transmission is triggered by a bit trigger. This means that the PLC triggers the data transmission by an item that is set to true at the moment the PLC needs the data. After the function call, the output parameters of the RFC function are written back from SAP to OPC, in this case to the PLC, and the trigger acknowledges the data transfer by setting another item in the PLC to “true”.

Coupling of SAP to OPC

Transparent data transfers between SAP and machines

  • Achieving more with coupled systems:
    By connecting SAP systems via OPC Router, you can transfer production-relevant data to PLCs, label printers or other networked devices in production. This prevents manual intervention and recording as well as paper traffic.
  • Industry 4.0 with SAP systems:
    Connecting SAP systems to your production systems opens up many ways for data and thus enables the implementation of Industry 4.0. The basic idea that a customer order finds its way to the machine, from SAP to the PLC and back, becomes possible.
  • About OPC Router:
    With OPC Router you can graphically realize the networking of your systems. It is characterized by simple configuration, sophisticated monitoring and robustness. Numerous Plug-ins make it to a middleware in the industrial environment and to a good alternative for other SAP products such as SAP PCo (Plant Connectivity).

Transfer SAP data transparently.

Test OPC Router with the Plug-in for SAP Systems without any obligation and request your free demo now.

Test SAP connection for free

SAP Systems Plug-in Application Examples

SAP Systems

Control production flow by direct RFC call-up

In a production process, automation devices have to control the product at many points. Criteria for this are approvals, quality, storage capacities, line occupancy, etc. In order to make these control decisions, the respective automation device must query the decision from the system, which has all the data it needs to make the decision. The SAP system is often the leading system for this. With the OPC Client Plug-in and the SAP Plug-in this connection becomes possible. A PLC can use it to trigger a synchronous RFC function call in SAP, passing on the input values and receiving the instruction for the steering process as a return. For the production process, the execution as a synchronous RFC call is important, since the result is immediately available and the steering process can be executed immediately.

SQL Server
SAP Systems

Production confirmations via IDoc to SAP

In production, a lot of data is generated that is required in the SAP system to carry out production planning. Production messages include data on finished goods, raw material, packaging, and resource consumption, as well as machine runtimes and statuses. You can use this data to plan raw material procurements, update warehouse stocks, and plan machine maintenance. Automatic transmission of data from the machine to the SAP system saves time, avoids manual data entry and ensures more accurate and up-to-date data. Instead of a synchronous transfer via RFC function, such messages can be sent very well as IDocs to SAP. An IDoc is a message packet that is processed asynchronously. The production process is therefore not dependent on the processing of the data. In SAP, the IDocs are then buffered in a queue and processed. However, this is also possible from SAP to production. In this way, material master data or production orders can be sent as IDocs from SAP to the OPC router and the OPC router then processes them one after the other and transfers them to the target systems, for example to the production database. 

Video: Easy transfer of OPC Data to SAP

This video tutorial shows how easy it is to connect an OPC UA Server with SAP systems using OPC Router. In this example a production order id is used as input parameter for a remote callable function (RFC) at SAP and returns corresponding example recipe data for a machine. Just connect OPC UA product id datapoint with SAP RFC box and connect the corresponding return parameter with the corresponding recipe datapoints on OPC UA side simply via drag & drop.

Connecting Systems with the OPC Router SAP Plug-in

What’s Transfer, Trigger and Browsing?

Transfer Objects

Three transfer objects are available in the SAP system plug-in for connecting with RFC, BAPI and IDoc.

A RFC is used to call-up a function in an SAP system. Import and export parameters of different types can be used (simple, structures, tables). The call-ups are carried out synchronously.

BAPIs are standard interfaces of the SAP system and allow access to methods of business objects. Similar to RFCs, functions are addressed and their parameters (simple, structures, tables) made available. The call is also made synchronously.

The IDoc data format is used for asynchronous data transfer. IDocs are structured documents used to send and receive transaction-based data to and from the SAP system.


The SAP Systems plug-in contains an RFC-Trigger.

The RFC Trigger allows you to provide an RFC Function within the OPC Router. You can retrieve this function from an SAP system by creating OPC Router as an external system. When calling the RFC function in the OPC Router, data can also be transferred and the trigger makes this data available as data fields in the connection.


The SAP system plug-in can browse the available RFCs, BAPIs, and IDocs from the SAP system.

For the types RFC and BAPI, the existing functions and objects can be filtered and selected. In relation to the selection, the simple, structured and table parameters are available for selection.

IDoc SAP System
The IDoc types configured in the SAP system are read by the OPC Router. The structure of the selected IDoc is displayed in the object so that the required IDoc data fields can be used in the transfer structure.

Haven’t found the right information yet?

Here you will find more information on licensing options for our software as well as an overview of all available OPC Router Plug-ins. We also provide a free demo with which you can test a fully functional version of OPC Router.

Test free demo
More Plug-ins