Accelerator SAP System API - Implementation Template

(0 reviews)

Prerequisites

Each implementation template relies on a service/s or data in order to function.

Please review the use cases described on the MuleSoft Accelerator for Salesforce Service Cloud and the MuleSoft Accelerator for Salesforce Commerce Cloud solution pages for more information about dependencies on other APIs and services.

Required libraries

The SAP system API requires the following libraries, which cannot be shipped with the accelerator.

  1. Two multi-platform Java libraries:

    sapjco3.jar
    sapidoc3.jar
  2. One of the JCo platform-specific native libraries:

    sapjco3.dll (Windows)
    libsapjco3.jnilib (Mac OS X)
    libsapjco3.so (Linux)

Once the libraries have been obtained they can be installed by running the appropriate Maven commands, as follows.

############ Maven commands to install the multi-platform Java libraries

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

mvn install:install-file -Dfile=sapidoc3.jar -DgroupId=com.sap.conn.idoc -DartifactId=com.sap.conn.idoc.sapidoc3 -Dversion=3.x.x -Dpackaging=jar

############ Commands to install MacOS binaries

mvn install:install-file -Dfile=darwinintel64/libsapjco3.jnilib -DgroupId=com.sap.conn.jco -DartifactId=libsapjco3 -Dversion=3.x.x -Dclassifier=external-library -Dpackaging=jnilib

############ Commands to install Linux binaries

mvn install:install-file -Dfile=linuxx86\_64/libsapjco3.so -DgroupId=com.sap.conn.jco -DartifactId=libsapjco3 -Dversion=3.x.x -Dclassifier=external-library -Dpackaging=so

############ Commands to install Windows binaries

mvn install:install-file -Dfile=NTintel/sapjco3.dll -DgroupId=com.sap.conn.jco -DartifactId=libsapjco3 -Dversion=3.x.x -Dclassifier=external-library -Dpackaging=dll

Reviews

TypeTemplate
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onJun 29, 2021
Asset overview

Asset versions for 1.5.x

Asset versions
VersionActions
1.5.4
1.5.0