Mulesoft SAP Connector

July 13, 2023
Justin Lumiere

mulesoft sap connector

Mulesoft SAP Connector is a software platform designed to enable businesses to integrate applications, processes, and data seamlessly within an organization to streamline workflows and increase results.

The Mule runtime engine supports integration with SAP through certified Java connectors that leverage SAP's Java Connector (JCo) libraries, with use cases such as:


As soon as you start working with an SAP connector, be mindful of dependencies and configurations. The SAP Connector is a Java connector which supports SAP RFC functions via transactional Remote Function Calls (tRFCs) and queued Remote Function Calls (qRFCs), IDoc sending and receiving, SAP object conversion into/from XML conversion as well as IDoc sendout/receive. Available through Mule Palette installation it may also be purchased on exchange.

SAP integration with Salesforce, a Customer Relationship Management platform, is essential for many companies, enabling them to streamline business processes and automate many operations. MuleSoft Anypoint Platform and enosix PIPs can help businesses achieve SAP-to-front end integrations three to ten times faster with 74% shorter implementation time; saving resources while decreasing operational costs; furthermore it improves business performance by real-time data synchronization across systems while eliminating errors; it can even increase efficiency by eliminating manual data entry altogether.


Authentication is a crucial component of SAP connectivity. It ensures that only authorized users are granted access to SAP database information, protecting against unintended access and protecting privacy. The authentication process comprises several steps and uses various forms of identification - such as an X509 certificate, username/password combination or SNC identity - before concluding.

Once your app is configured, you can use it to both create and consume flows from SAP. To do this, create a global element named SAP; select SAP inbound/outbound connectivity from Connector Configuration section; click Test Connection button for verification that connection works successfully;

Install the SAP connector libraries either in Anypoint Studio or using the Exchange marketplace. After doing so, add a managed SAP Connector operation to a Mule app in Anypoint Studio by dragging an SAP Inbound or SAP Outbound operation onto its canvas.

Access to data

MuleSoft provides various integration tools that can connect to SAP systems. In addition, the platform features robust error handling and monitoring capabilities; should any message fail to reach SAP, it can be placed into a dead letter queue for further processing by other processes.

This solution uses a database connector to access SAP cloud data and create orders in a database. It also features an "Until successful" scope which attempts to send back messages based on a configurable number of retries until connection has been successfully made with SAP.

As events happen in Salesforce, they generate topics that SAP CPI system can subscribe to via platform events or push topic functionality. When these topics occur in Salesforce, SAP stores them in its messaging system and consumes them using ODATA protocol; thus enabling teams to build workflows between Salesforce and SAP that streamline team processes without needing to synchronize or replicate data.


Mulesoft SAP Connector allows your Mule runtime engine to integrate SAP integration using an SAP-certified Java connector which leverages SAP Java Connector (JCo) libraries. This feature enables you to develop applications which run either on-premises, in the cloud, or hybrid environments while being flexible enough for changing implementation goals without reworking code.

The SAP Connector supports BAPI-over-sRFC, qRFC and tRFC protocols and can send and receive IDocs and other SAP objects. Furthermore, it serves as a JCo server translating SAP-to-Mule messages, such as IDocs.

The SAP Connector provides a simple Web interface for accessing SAP Business One data as JSON format, making it usable by custom apps and various BI and ETL tools. Its logging capability enables you to observe how error responses are managed; moreover, its "Until successful" scope attempts to reconnect to SAP according to specified maximum retries and time in between reconnects.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram