Accessing SAP systems

Read(144) Label: sapcli,

1. Download the following two files from the web and place them in esProc external library folder. The directory containing files of this external library is: installation directory\esProc\extlib\SapCli. The Raqsoft core jar for this external library is SapCli.jar.



Note: There are 64-bit sapjco3.dll and 32-bit sapjco3.dl depending on different OS versions.


2. A JRE version 1.7 or above is required. The embedded JRE version in esProc is JRE1.6. Users need to install a higher version and configure java_home in the config.txt under installation directory\esProc\bin. If a JDK version 1.7 or above has been chosen when installing esProc, just ignore this step.


3. Users can manually change the size of memory if the default size isn’t large enough for needs. Two ways to manage memory under Windows are available: Change the memory settings in config.txt when starting esProc through the executable file; and in the .bat file when starting the application through the batch file. Under Linux, change the memory size in the .sh file.

Below is the method of changing memory settings in config.txt under Windows:

java_home=C:\ProgramFiles\Java\JDK1.7.0_11;esproc_port=48773;jvm_args=-Xms256m -XX:PermSize=256M -XX:MaxPermSize=512M -Xmx9783m -Duser.language=zh


4. esProc provides six library functions - sap_client(), sap_excute(), sap_getparam(), sap_table(), sap_cursor() and sap_close() - to access multidimensional databases. Look up them inHelp-Function referenceto find the uses.