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
2
votes
3 answers

It is not allowed to rename or repackage the original archive “sapjco3.jar”?

I am trying to excute runnable jar file which is exported from eclipse wizard of my local project which have "sapjco3.jar" in build path. So, as soon as i try to execute jar file it gets following error: Illegal JCo archive "autobot.jar"(is…
2
votes
1 answer

Java SAP JCo3 Can't find data from returned table

I have a SAP RFC function module named ZRFC_BOM_005. After I execute the RFC function, I try to get field's value from the returned table, but it only shows field's name but no field's value. However, the function printJCoTable(JCoTable jcoTable)…
LittleY
  • 17
  • 4
2
votes
1 answer

Connecting Java SCP app to ABAP on-premise JCo3

I am developing a Java app that is deployed on the SAP Cloud Platform, using the SAP JCo3 Connector. It should make some RFC calls to an ABAP Backend, therefore I am using a SAP Cloud Connector. The destination is defined in the SAP Cloud Platform,…
uw473r100
  • 21
  • 1
2
votes
1 answer

Issue with sapjco3 driver

I've written a Spring MVC (Spring framework 4.1.1) java 1.8 application that successfully connects to SAP using the sapjco3.jar driver, and I've accomplished this using the CustomDestinationDataProvider technique. I then use this drive to call RFCs…
Stephen
  • 1,977
  • 2
  • 15
  • 19
2
votes
2 answers

How to login multiple SAP system using SAP jco

I am new to SAP JCo I have requirement to call multiple SAP System using SAP Jco. But I am unable to connect multiple sap system at the same time...... Here is code : package com.sap.test; import java.util.Properties; import…
Developer Desk
  • 2,294
  • 8
  • 36
  • 77
2
votes
2 answers

sapjco3.jar has issues with Maven's naming convention (Springboot)

I am trying to compile an integration server using the springboot java framework. I am using Maven to compile a jar file, but I keep running into an issue with the way Maven stores jars in repositories. The Jar I am working with is sapjco3.jar,…
2
votes
2 answers

Example program to insert a row using BAPI with JCO3

I am trying to "insert" (or) "add a row" to Purchase Requisition using standard BAPI (PurchaseRequisition.CreateFromData). I am using JCo3. The example in JCo3 indicates that we should use table.appendRow() or table.insertRow() methods. I am trying…
Gana
  • 482
  • 3
  • 11
  • 32
1
vote
0 answers

SAP JCo JCoServerTIDHandler and/or JCoIDocHandler interfaces

we're currently setting up a SAP-IDoc JCo-Server. There are two interfaces for transaction management und receiving IDOCs. Transaction management (JCoServerTIDHandler): boolean checkTID(com.sap.conn.jco.server.JCoServerContext arg0, java.lang.String…
nrx
  • 103
  • 2
  • 6
1
vote
1 answer

Azure DevOps SaaS Maven build agent issue

I have a question about the Azure DevOps SaaS Maven build agent issue. When I run maven build with Azure DevOps SaaS (Windows 2019) Maven build agent, I get the following error message. I read through the MojoExecutionException guideline, and it…
Shin
  • 11
  • 2
1
vote
0 answers

JCo generic handler registration for SAP FM

How to register handler in SAP JCo, so that it listens to all remote enabled SAP Function Modules, that are called in SAP with the 'Destination' parameter as the JCo Server? I know, that we can register a handler for specific functions using…
Andrew
  • 33
  • 3
1
vote
1 answer

Reflection of FM parameters in JCo

I have a problem with the dynamic receipt of the list of parameters and their values when calling the Function Module (with DESTINATION parameter as SAP JCo Server) and then processing it using Java (in SAP JCo Server). The point is that I need a…
Andrew
  • 33
  • 3
1
vote
1 answer

reuse jco 3 connection pool for different sso tickets

We've created a java application that uses JCo3 to access the remote SAP system data. We are using SSO Tickets connect to that system. The question is if there is some way to reuse the same connection pool for all the user SSO Tickets instead of…
archie_by
  • 1,623
  • 2
  • 11
  • 10
1
vote
1 answer

How to fix 'JCO_ERROR_CONVERSION: Cannot convert a value from type java.lang.String to STRUCTURE'

One of the functions we implemented in SAP system is not working correctly. In SAP system all functions are working correctly and return the right values, however, when called in Java JCo the Client wants a structure rather than a String or…
Kanvas
  • 31
  • 4
1
vote
1 answer

couldn't find "libsapjco3.so"

I have a problem when connecting to SAP when using sapjco. Here is the error message : java.lang.ExceptionInInitializerError: JCo initialization failed with java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file …
1
vote
2 answers

SAP JCo3 table empty although connected

Hi I am using SAP JCo3 connector along with .dll file provided with the jar. the destination is successfully connected. My problem is that when I am doing the function.execute(destination) the function.getTableParameterList().getTable("PART_LIST")…