MuleSoft Accelerator for SAP icon

MuleSoft Accelerator for SAP

(0 reviews)

Prerequisites

Service accounts

Service accounts are required for the following applications, with the versions used during Accelerator development included:

  • SAP ECC
  • SAP S/4 HANA (Communication User)
  • Salesforce Sales Cloud
  • Coupa

Required configurations

In addition to configuring individual applications to suit your target deployment environment, the following is required depending on the use case(s) you implement.

SAP Connector Configuration

bulb.png See the Prerequisites section within the SAP Connector - Mule 4 documentation for more information about how to obtain the required SAP libraries.

To use the SAP connector to communicate with the ECC instance, the following commands must be executed in order to push the SAP libraries to the local .m2 directory. It is recommended to install the files to the enterprise artifact repository.

Local Maven Repository

You can execute the following commands to push the libraries into the local Maven repository:

mvn install:install-file -DgroupId=com.sap.conn.jco -DartifactId=libsapjco3 -Dversion=3.x.x -Dpackaging=dll/jnilib/so -Dfile=<path-to-file>/sapjco3.dll/libsapjco3.so/libsapjco3.jnilib

mvn install:install-file -DgroupId=com.sap.conn.jco -DartifactId=com.sap.conn.jco.sapjco3 -Dversion=3.x.x -Dpackaging=jar -Dfile=<path-to-file>/sapjco3.jar

mvn install:install-file -DgroupId=com.sap.conn.idoc -DartifactId=com.sap.conn.idoc.sapidoc3 -Dversion=3.x.x -Dpackaging=jar -Dfile=<path-to-file>/sapidoc3.jar
Enterprise Repository

You can execute the following commands to push the libraries into the Enterprise Artifact repository:

mvn deploy:deploy-file -DgroupId=com.sap.conn.jco -DartifactId=libsapjco3 -Dversion=3.x.x -Dpackaging=dll/jnilib/so -Dfile=<path-to-file>/sapjco3.dll/libsapjco3.so/libsapjco3.jnilib -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> -Durl=<url-of-the-repository-to-deploy>

mvn deploy:deploy-file -DgroupId=com.sap.conn.jco -DartifactId=com.sap.conn.jco.sapjco3 -Dversion=3.x.x -Dpackaging=jar -Dfile=<path-to-file>/sapjco3.jar -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> -Durl=<url-of-the-repository-to-deploy>

mvn deploy:deploy-file -DgroupId=com.sap.conn.idoc -DartifactId=com.sap.conn.idoc.sapidoc3 -Dversion=3.x.x -Dpackaging=jar -Dfile=<path-to-file>/sapidoc3.jar -DrepositoryId=<id-to-map-on-server-section-of-settings.xml> -Durl=<url-of-the-repository-to-deploy>

Reviews