Contact Us 1-800-596-4880

SAP Connector - Mule 4

SAP Connector v5.1

Anypoint Connector for SAP (SAP Connector) enables the integration of data to and from external systems based on SAP NetWeaver.

SAP Connector is not available in the Design Center feature of Anypoint Platform.

This connector requires a separate license. Contact MuleSoft to evaluate or use this connector in production.

Mule runtime engine (Mule) supports SAP integration through Anypoint Connector for SAP, an SAP-certified Java connector that leverages the SAP Java Connector (JCo) libraries. SAP JCo facilitates communication between an SAP backend system and a Java application. It allows Java programs to connect to SAP systems and invoke Remote Function Modules. It also allows parsing of IDocs (SAP Intermediate Documents), among other object types. The SAP configuration supports both inbound and outbound communications.

The SAP JCo libraries enable Mule apps to:

  • Execute BAPI functions over the following types of RFC protocols:

    • Synchronous Remote Function Call RFC (sRFC)

    • Asynchronous Remote Function Call RFC (aRFC)

  • Act as a JCo server to be called as a BAPI over sRFC and aRFC

  • Send IDocs over tRFC and qRFC

  • Receive IDocs over tRFC and qRFC

  • Transform SAP objects (JCo function for BAPI and IDocs) to and from XML

See [SAP Terminology] to understand SAP acronyms.

About Connectors

Anypoint Connectors are Mule runtime engine extensions that enable you to connect to APIs and resources on external systems, such as Salesforce, SAP, ServiceNow, and Twitter.

Before You Begin

To use this information, you should have:

  • A working knowledge of the SAP business context and, in particular, the SAP R/3 Business Suite

  • A basic understanding of the SAP NetWeaver Platform from an administration point of view

  • Knowledge of the ABAP language

  • An SAP ID to download the required SAP libraries

  • SAP login credentials to test your connection to your target resource

  • Use of the RFC protocol to connect to NetWeaver Application Servers (NWAS)
    ECC and CRM run on top of NWAS, as other SAP solutions do, so any customer using the connector can access those systems.

  • Knowledge of how to create a Mule app using Anypoint Studio

Before creating an app:

  1. You must have access to the SAP target resource and Anypoint Platform.

  2. Browse to the SAP web site and download the version 3.0.18 libraries for IDoc, JCO, and JCO Native to a folder on your computer.
    Studio 7 can use the library formats directly without conversion.


Exchange Templates and Examples

Anypoint Exchange provides templates and examples to simplify your use of the SAP connector. Templates provide a starting point that enables you to add additional functionality. Examples provide a complete solution.


After you have met the prerequisites and experimented with templates and examples, you are ready to create an app with Anypoint Studio.

View on GitHub