Showing posts with label sap jco. Show all posts
Showing posts with label sap jco. Show all posts

Wednesday, November 6, 2013

SAP JCo libraries for Mac OS

SAP JCo(Java Connectors) libraries would be required to connect to the SAP server.  Basically it will have sap JCo ‘jar’ file as well as sap JCo native library file.
For example. If you are connecting using JCo3 jars, below would be required based on the operating system.
§  sapjco3.jar: JCo Java runtime libraries – This would be same for 32 bit and 64 bit systems
§  [prefix]sapjco3.[extension]: JNI runtime library that contains JCo native code. The target operating system determines the prefix and file name extension:
§  Windows: sapjco3.dll
§  MacOS: libsapjco3.jnilib

Note: Ensure that the libraries you use are correct for your 32-bit or 64-bit system.
.


Thursday, April 18, 2013

What is SAP JCo and where can i get it ?


Setting up a SAP connection

This section describes how to set up a SAP connection, if you plan to develop mobile applications using the SAP framework.
To set up the SAP connection you must:
·  Configure the SAP connection using the SAP Java Connector (SAP JCo). SAP JCo is a toolkit that allows a Java application to communicate with any SAP system. The SAP Java Connector can be downloaded from the SAP Service Marketplace Web site by a registered SAP customer.

Configuring the SAP Java connector
1.     Open a Web browser window and enter the SAP Marketplace URL, which currently is:
2.  https://websmp204.sap-ag.de/swdc or  http://service.sap.com/connectors --> SAP Java Connector
The Client Authentication window displays.
3.     Select the certificate to use when connecting, and click OK. The Enter Network Password window displays.
4.     Enter your registered SAP customer user name and password in the User Name and Password fields, and click OK. The SAP Software Distribution Center window displays.
5.     In the You Are Here navigation bar on the left side of the page, navigate to Download | SAP Connectors | SAP Java Connector | Tools and Services. Click the link for SAP JCo Release 3.0.X to download the SAP Java Connector.
6.     Follow the installation instructions provided by SAP. When prompted, copy the .jar and .dll files to these locations:

Configuring the SAP environment for Eclipse Studio

To configure SAP Environment for IDE   Copy the following files from the SAP installation and place them in <JDK_Installation_Path>/jre/ lib/ext folder:
  1. sapjco3.dll
    sapjco3.jar
    Note: If you have a Windows OS, copy the sapjco3.dll file. If you have a Linux or Unix environment, copy the sapjco3.so file.

  2. Modify the config.ini file and add the following line at the end of the file:
    osgi.parentClassloader=ext
    This file is available at <Eclipse_Installation_Path>/configuration.

      Incase of Mac OS, keep sapjco3.dll and libsapjco3.jnilib files in the java/extensions folder.
  1.     Restart Eclipse.