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
1
vote
1 answer

SAP RFC call using java spring application

ClassNotFoundException: com.sap.conn.jco.JCoException class is not getting while making RFC calls to SAP system through java spring web application. SEVERE: Servlet /autobot threw load() exception java.lang.ClassNotFoundException:…
1
vote
1 answer

Call SAP methods from Java

I am trying to make a connection with the sap systems and I have all the connection properties which are required in order to do so. I am trying my best but I am facing some issues I have no idea how to resolve. All I need is a simple code example…
1
vote
0 answers

Why JVM Crashes frequently ....?

I am getting below error while running java program in linux os.. I get below jvm crash log. It frequently crash jvm. I am using java-1.6.0-openjdk-1.6.0.0.x86_64. # # An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV…
Developer Desk
  • 2,294
  • 8
  • 36
  • 77
1
vote
1 answer

Error "Server default repository destination XXXX is invalid" when running application JAR

We have a Java project made with DropWizard that uses the libraries SAP JCO and SAP IDOC, when run from the IDE it doesn't throw any error, but when it is packaged into a jar and we try to run the jar we receive the following stack…
Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
1
vote
1 answer

Error compiling with Spring Tool Suite Maven

Another update... After uploading the sapjco3.jar file into my local maven repository, I can successfully get my code to compile. After deploying this code to my linux tomcat server, I get an error something like "not allowed to rename jar file".…
Stephen
  • 1,977
  • 2
  • 15
  • 19
1
vote
3 answers

Eclipse: ABAP communication layer is not configured... no sapjco3 in java.library.path

Situation: After downloading and installing Eclipse Luna. Then Installing SAP Plugins: HANA, ABAP Issue: Error Message pops up when Eclipse starts: ABAP communication layer is not configured properly. This might be caused by missing Microsoft…
Thorsten Niehues
  • 13,712
  • 22
  • 78
  • 113
1
vote
1 answer

Can JCo3 and JCo2 co-exist in Solaris?

Can SAP Java connector JCo3 lib and JCo2 lib co-exist in a Solaris/Apache/Tomcat server? I am thinking if I can use JCo3 for a new application without touching existing JCo2 applications.
Dustin Sun
  • 5,292
  • 9
  • 49
  • 87
1
vote
1 answer

Exception while connecting SAP through Java

Can you please tell me the solution to fix this below issue --- This exception I am getting while trying to connect SAP related files through Java class even though sapjco3.jar is in my library path. I tried this in Windows XP & Windows Server…
user1866034
  • 31
  • 1
  • 2
0
votes
0 answers

How to send IDoc status to SAP server?

There is an outbound document on SAP server having number "3710513" and some IDoc status "X". Using Java I want to change this document status to a different value, for example "12". I managed to find that common approach to send acknowledgements…
diziaq
  • 6,881
  • 16
  • 54
  • 96
0
votes
0 answers

Not able to pull "Short Description" Column from Table from SAP

I am trying to pull data from some tables from SAP using SAP JCo, but in the table, I am not able to pull the "Short Description" column using JCo. In GUI, I can see a Short Description Column with data in it. Code I am using: JCoDestination…
0
votes
1 answer

Reading Table from SAP ECC using SAP JCo

I want to print details of all Transport requests, I am trying to read data in table E070 from SAP ECC using SAP JCo and RFC_READ_TABLE, I am running the following code but I am getting no output. Here is the code: import com.sap.conn.jco.*; import…
0
votes
0 answers

JCO_ERROR_COMMUNICATION: Initialization of repository destination failed

I am getting below error while trying to use SAP JCo3 in my Springboot application to access a backend BAPI deployed in SAP CF. Caused by: com.sap.conn.jco.JCoException: (102) JCO_ERROR_COMMUNICATION: Initialization of repository destination…
Athul Ram
  • 31
  • 2
0
votes
1 answer

Unauthorized: Bad credentials error while accessing Springboot app running on SAP Cloud Foundry

I am getting below error while trying to use sapjco3 in my Springboot application. I am deploying my application to SAP Cloud foundry environment packaging as war file with tomee7…
Athul Ram
  • 31
  • 2
0
votes
1 answer

NoClassDefFoundError while using SAP JCo in maven Sprinboot Application SAP CF

​I am getting below error while trying to use sapjco3 in my Springboot application. I am deploying my application to SAP Cloud foundry environment packaging as war file with tomee7 TARGET_RUNTIME java.lang.NoClassDefFoundError: com/sap/conn/jco/JCo…
0
votes
1 answer

Can I Create My JcoDestination File In Folder ? (JCO3 Java - SAP RFC Connection)

I want to access an RFC function on sap from my java program. When I call getDestination("connect") I can connect and run my function without problems. But I will have more than one config file because I will be connecting to different SAP…