Accelerator SAP ECC Accounts System API - Implementation Template

(0 reviews)

Prerequisites

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:

    libsapjco3.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.

Local Installation

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

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

mvn install:install-file -Dfile=<path-to-file>/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=<path-to-file>/libsapjco3.jnilib -DgroupId=com.sap.conn.jco -DartifactId=libsapjco3 -Dversion=3.x.x -Dpackaging=jnilib

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

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

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

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

Enterprise Repository Installation

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

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

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

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

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

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

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

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

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

Reviews

TypeTemplate
OrganizationMulesoft Inc.
Published by
MuleSoft Solutions
Published onNov 1, 2021
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.1
1.4.0