Questions tagged [jco]

For general questions about "SAP JCo" (Java Connector). As JCo versions are not backward compatible, please use one of the version-specific tags instead or in addition.

"SAP JCo" is the short-cut for "SAP Java Connector" which is a Java library used to connect to SAP systems through the protocol.

Major SAP JCo versions are not backward compatible! Therefore, favor using a version specific tag (e.g. ) over this tag.


Related tags

208 questions
11
votes
3 answers

DATA_BUFFER_EXCEEDED error when calling RFC_READ_TABLE?

My java/groovy program receives table names and table fields from the user input, it queries the tables in SAP and returns its contents. The user input may concern the tables CDPOS and CDHDR. After reading the SAP documentations and googling, I…
Yi.
  • 515
  • 1
  • 7
  • 19
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
8
votes
2 answers

Tutorials, manuals, documentation for using SAP JCo 3.x

Do you know any decent documentation source for using JCo 3.x? Most of the materials I could find are pretty outdated and refer to previous versions (JCo 2.x). In case, anyone wondered, the things I found are: Tips&Tricks JCo…
Grzegorz Oledzki
  • 23,614
  • 16
  • 68
  • 106
8
votes
5 answers

Crazy idea: Connect .NET and SAP with SAP JCo using IKVM.NET

Because the SAP Connector for .NET is no longer maintained by SAP, I am now looking for an alternative to connect the Microsoft world with the SAP world. I know there are third party products like "ERPConnect", but I want to do this with tools from…
Kottan
  • 4,944
  • 9
  • 41
  • 67
8
votes
3 answers

Future of the "SAP Java Connector"

Is the SAP Java Connector still a good way to connect a Java Application with SAP ? Will there be a support and maintenance of the connector in the future (especially in ECC 6.0) or is the one and only good way the usage of the "Enterprise Services"…
Elmex
  • 3,331
  • 7
  • 40
  • 64
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
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
3 answers

Is SAP JCo thread safe?

I did not really manage to find proper documentation about this. There are the classes in JCO com.sap.conn.jco.JCoDestination and com.sap.conn.jco.JCoDestinationManager. My questions about them: are they thread safe? if not, are they expensive to…
Gábor Lipták
  • 9,646
  • 2
  • 59
  • 113
5
votes
3 answers

SAP JCo JAVA Could not initialize class com.sap.conn.jco.JCo

I want to use SAP JCo to select user data for my Java program. But all I got is: Sep 23, 2014 1:34:28 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [StepByStepClient] in context with path…
user2372543
  • 51
  • 1
  • 1
  • 4
5
votes
3 answers

How can I connect to SAP using sapnwrfc library?

Our software is written in C# and needs to connect to SAP. As some of our customers use older versions of SAP, and others don't have SAP PI, we can't connect through webservices. I tried to connect to SAP through the SAP NetWeaver Remote Function…
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
5
votes
2 answers

SAP JCo RETURN Table empty when using TransactionID

I'm using the JCo Library to access SAP standard BAPI. Well everything is also working except that the RETURN Table is always empty when I use the TID (TransactionID). When I just remove the TID, I get the RETURN table filled with warnings etc. But…
Philipp
  • 4,645
  • 3
  • 47
  • 80
4
votes
4 answers

Strategy for migrating from php to java in context of SAP

I'm currently doing web application development in PHP. Management has told us we're standardizing on "J2EE" (and yes, I keep reminding them it's now called "Java EE"). I think the rational behind this mandate is something like "we run our business…
Chad Brogan
  • 244
  • 4
  • 11
4
votes
1 answer

Does Spring have support for SAP JCo transactions?

Does Spring have support for JCo transaction management? How can Transactions be combined with SAP's JCo or JRA transactions? Regards
Liam
  • 2,837
  • 23
  • 36
4
votes
2 answers

How to control transaction (commit/rollback) when reading an IDOC

When using JCo (3.x) to read IDOCs sent from a SAP server, what action should be taken to indicate the message has been properly received (i.e. commit)? In Java I imagine something like: public class MyHandler implements JCoIDocHandler { public…
Grzegorz Oledzki
  • 23,614
  • 16
  • 68
  • 106
1
2 3
13 14