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

In what format do I supply a BCD field for camel-sap?

I would like to develop an interface that transfers a data record via camel-sap to an SAP function module. The data table contains a BCD field. What is the representation of the BCD field in camel-sap-format (XML)?
Yannick
  • 663
  • 1
  • 10
  • 33
0
votes
1 answer

Hibersap throw nullpointerexception when execute Bapi with a structure table as Import

I´m trying to call a Bapi with java-hibersap, the Bapi import/export looks like: IMPORTING VALUE(IT_LAYOUT) TYPE ZMM_T_RFC_LAYOUT EXPORTING VALUE(ET_MENSAJES) TYPE ZMM_T_RFC_RETURN ... The Types are tables with table´slines which contains the…
0
votes
1 answer

Can't create SAP's user through JCo API drived by OIM

I'm trying to create an SAP user from OIM using the sapjco3.jar library, but I'm getting an error in the create process: On OIM side, below is the exception: #### <[ACTIVE]…
Steven Diaz
  • 139
  • 12
0
votes
2 answers

Table_not_available when using JAVA SAP RFC_READ_TABLE

There are three different tables (OPTIONS, FIELDS and DATA) in import parameter "QUERY_TABLE" = "LTAP". I created a java program to display column FIELDNAME from the table FIELDS with helping function RFC_READ_TABLE. It always appears Error…
0
votes
1 answer

It is not allowed to rename or repackage the original archive "sapjco3.jar"

I am using sapjco3.jar in my project and it is working fine on Eclipse. However, when I try to make it as an executable (I just right click on my Eclipse project and export it as a runnable jar, I only added the jar into the build path so that I can…
Kawamoto Takeshi
  • 596
  • 1
  • 3
  • 24
0
votes
0 answers

RFC_READ_TABLE returns NULL

I am using RFC_READ_TABLE function to retrieve list of tables: destination = JCoDestinationManager.getDestination("ABAP_AS_WITH_POOL"); JCoFunction function = destination.getRepository().getFunction("RFC_READ_TABLE"); function.execute(destination);…
0
votes
1 answer

JCO_ERROR_RESOURCE: Destination does not exist

I am using below Java code for SAP connectivity and I don't know what to put into getDestination() method. Please guide me how to find value of destination or what to put into it? createDestinationDataFile("ABAP_AS_WITHOUT_POOLs",…
0
votes
2 answers

Output JCoTable rows using EL

I have created a java webapp that reads a custom table (consisting of 13 fields per record) from a SAP backend into a JCoTable in the webapp and this all works fine. My requirement is to output all the records on the JCoTable onto a JSP using EL.…
D. Barrett
  • 23
  • 4
0
votes
1 answer

JCo IDoc server cannot receive messages due to port issue

I have a java based IDoc listening server which is built using JCo 3. When I started it and sent a IDoc from the sap system it gives me an exception in below trace. As it says, I thought this is due to unavailability of message server and logged in…
Sudheera
  • 1,727
  • 1
  • 12
  • 28
0
votes
2 answers

How to manage large String

I've been struggling with a large generated string, while trying to save it to a file. This string comes from com.sap.conn.jco.JCoFunction.toXML(); method. I'm trying this: public static void writeXML(JCoFunction jcoFunction, String path){ File…
0
votes
1 answer

JCoIDocServer with own DestinationDataProvider not working

I want to use a own DestinationDataProvider for a JCoIDocServer. I have registered my provider with: Environment.registerDestinationDataProvider When I call JCoDestination destination = JCoDestinationManager.getDestination("SAP_DEST_" +…
Peter
  • 1,011
  • 2
  • 16
  • 39
0
votes
3 answers

How to send/check the status of an IDoc sent to SAP ECC through ALE Audit?

I am working on a Java application that receives Intermediate Documents (IDocs) from ECC and passes IDocs to ECC. Our application works like a bridge between ECC and other systems, it receives IDocs from ECC that are stored in disk by our…
Uriel Arvizu
  • 1,876
  • 6
  • 37
  • 97
0
votes
2 answers

error: package com.sap.conn.jco does not exist on ubuntu

I already install JCo3 for linux. I'm using ubuntu 16.04 x86_64 and java-8-oracle As the documentation said, I need to add LD_LIBRARY_PATH and CLASSPATH to JCo directory. export LD_LIBRARY_PATH=/home/zain/sapjco export…
zain
  • 3
  • 7
0
votes
2 answers

How can I replace iWay, as a SAP adapter, from homegrown Java application

How can I replace iWay, as a SAP adapter, from a homegrown Java application? I have sapjco3.jar and libsapjco3.so with me. Can I get any documentation on this?
aman roy
  • 35
  • 5
0
votes
1 answer

SAPJCO3 libraries in Mule domain

I'm going to develop couple of Mule applications that will use SAP connector so I'd like to keep SAP libraries (sapjco3.jar, sapidoc3.jar and native sapjco3.dll) in the Mule domain however I'm struggling with how to export sapjco3.dll. I'm not using…
Lukas
  • 9,476
  • 4
  • 20
  • 14