Questions tagged [sapjco3]

Use this tag for SAP JCo 3.x. SAP JCo is the short-cut for "SAP Java Connector". JCo refers to a Java library used to connect to SAP systems through the SAP RFC protocol.

JCO is the short-cut for Java connector. JCO refers to a Java library used to connect to SAP systems through the SAP RFC protocol.


Related tags

87 questions
11
votes
1 answer

JCO IDOC Server for multiple destinations

I'm developing a IDOC server which can connect to multiple destinations on same SAP system(gateway host will be same) and receive IDocs. I'm not sure that I need multiple JCoServer instance running or single JCoServer with multiple destinations. If…
Sudheera
  • 1,727
  • 1
  • 12
  • 28
11
votes
3 answers

SAP R/3 removes trailing spaces from IDoc XML files

I have a Java application that uses SAP JCo 3 libraries. One of the use cases consists of receiving a IDoc file from the SAP instance (R/3, ERP 6.0 EhP 7) and convert it to XML. The problem is that, during the conversion (executed by the IDoc…
CountD
  • 669
  • 2
  • 11
  • 34
7
votes
1 answer

SapJco 3.0.11 with Maven: It is not allowed to rename or repackage the original archive "sapjco3.jar"

The current version of the SAP JCo connector enforces the name of the containing jar at runtime. This will lead to exceptions, if it doesn't match the name (sapjco3.jar). JCo initialization fails with java.lang.ExceptionInInitializerError: Illegal…
7
votes
2 answers

SAP JCo: JCoDestination vs. JCoClient

I'm calling a function in SAP system from Java with the JCo library. So far my call works, but when I look for help in the Internet, there is always a JCoClient that is being used to get the functions, making commits, etc. But a JCoClient class does…
Philipp
  • 4,645
  • 3
  • 47
  • 80
6
votes
5 answers

How to connect to a SAP System using sapjco3 and Eclipse?

I need to connect to SAP Systems via standard BAPI calls. I already installed JCo (sapjco3) and added the .jar to my build path in Eclipse. But due to the fact that I am rather a beginner regarding network/server programming, I have no idea how to…
Jan Konrad
  • 135
  • 1
  • 1
  • 5
6
votes
2 answers

SAP+Java : java.lang.NoClassDefFoundError: com.sap.conn.rfc.driver.CpicDriver

I have developed a java web application integrating with SAP. I have developed it with Linux Server and Tomcat 7.0. I have added sapjco3.jar and libsapjco3.so in WEB-INF/lib folder. It is working fine local server. But when deploying WAR file in…
Master Mind
  • 2,386
  • 3
  • 31
  • 48
5
votes
2 answers

Read a table from a SAP system using JCo

I am trying to read a table from an SAP system and I am always getting this error: Exception in thread "main" com.sap.conn.jco.JCoRuntimeException: (127) JCO_ERROR_FIELD_NOT_FOUND: Field EMPLOYEE is not a member of INPUT at…
Adrian
  • 947
  • 1
  • 12
  • 24
5
votes
3 answers

try-with-resources fails to call close()

I am using the handy try-with-resources statement to close connections. This works great in most cases but only in one utterly simple method it does not work properly. Namely, here: public boolean testConnection(SapConnection connection) { …
avidD
  • 441
  • 1
  • 6
  • 16
5
votes
1 answer

Talend: java.lang.UnsatisfiedLinkError: no sapjco3 in java.library.path

I have the jar and dll in the Talend lib directory. The path and classpath are set. I also have downloaded and installed the VC++ 2005 redistribution sp 1 patch and the missing dlls that are supplied by SAP. I have tried to run this ETL job on a…
user1082748
  • 365
  • 1
  • 7
  • 18
5
votes
4 answers

Print a list of BAPIs using JCo

I established connection to a SAP Server and I would like to print a list of BAPIs in my Java program. I am using sapjco3.jar. Is there any way to do it?
Prabhakar Manthena
  • 2,223
  • 3
  • 16
  • 30
4
votes
2 answers

SAP JCo client vs server

We are trying to communicate with SAP R/3 from a standalone java application We will use the JCo 3.0 libraries for this. From the documentation I understood that there are 2 ways to connect with SAP. as a JCo Client as a JCo Server At first I was…
bvdb
  • 22,839
  • 10
  • 110
  • 123
4
votes
2 answers

SAP JCo connector loaded forever in GlassFish v2.1 (can't unload)

I've a problem with GlassFish and SAP JCo connector (sapjco3.jar). I load it at start up of an J2EE application (jwm.ear) and initialize it wrapped in a singleton the first time a connection to SAP is needed. The problem is that this jar remains…
franblay
  • 306
  • 3
  • 8
3
votes
1 answer

SAP JCo SAML authentication

I need to support SAML authentication in one of my applications connecting to SAP system using SAP JCo Library and couldn't find any related articles demonstrating the capability of JCo. Does anyone have any experience with that?
2
votes
1 answer

How to fix 'Unknown type -1 when trying to add field ID to record '

We are programming a sapjco client to automate certain things. However, one function seems to have problems initializing the functions. Other function blocks can connect correctly, but this one crashes when attempting to connect. The function…
Kanvas
  • 31
  • 4
2
votes
2 answers

Java SAP Communication

I have to connect to SAP R/3 system from a standalone Java application using JCo3.0. As per my understanding, there are 2 ways to connect with SAP system: JCo Client JCo Server Now my application sends and receives data from SAP system. Do I need…
1
2 3 4 5 6