Developing OTDs for Application Adapters

SAP JCo and SAP IDoc Class Library Installation

Certain JAR files are required by the SAP ALE OTD Wizard to create IDoc OTDs.

The SAP Java Connector

The SAP Java Connector file, sapjco.jar, is a middleware component that enables the development of SAP-compatible components and applications in Java. This component is required to support inbound and outbound SAP server communication during runtime.

Since you are installing the SAP Java Connector as standalone component, certain installation files are required. Download the installation files from SAPNet at http://service.sap.com/connectors/. Once logged in, this link redirects you to SAP Service Marketplace. Click the following links to access the SAP Java Connector (SAP JCo) tools and services page:


SAP NetWeaver > SAP NetWeaver in Detail > Application Platform > Connectivity > Connectors > SAP Java Connector > Tools & Services

ProcedureTo Install the SAP Java Connector on Windows 32

  1. Create a directory. For example:


     C:\SAPJCo
  2. Extract the JCo ZIP file into the directory you just created.

  3. Copy the librfc32.dll and sapjcorfc.dll files from the SAP JCo main directory. If the files are more recent than the target location, paste them into the following directory:


     C:\WINNT\SYSTEM32
  4. Copy the file sapjco.jar from your SAP JCo main directory to the following directory:


    <JavaCAPS51>\edesigner\lib\ext

    Where <JavaCAPS51> is the Sun Java Composite Application Platform Suite install directory.

  5. The sapjco.jar file is also required during runtime. For this, add the JAR file to the following location:


    <JavaCAPS51>\glassfish\is\lib
  6. Download the following DLL files:

    • msvcp71.dll

    • msvcr71.dll


    Note –

    These files are available, free of charge, from various sources on the Internet.


  7. Manually add these files to the following location:


    c:\WINNT\system32
  8. Restart both the Netbeans IDE and the domain after installing the JAR file.

Procedures for UNIX

The instructions for the installation of SAP JCo on other operating systems are included in the corresponding download files. On UNIX operating systems, add the OS specific shared lib files to the library path. Check the SAP BAPI Adapter readme to confirm the supported operating systems.