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

OpenUI5 with Java Services

I am exploring OpenUI5 to use it as front end for developing SAP applications. One thing I noticed is that it is more user friendly with OData services/OData model. I believe, it may be a close initiative of Microsoft with SAP or vice-versa. I am…
Gana
  • 482
  • 3
  • 11
  • 32
0
votes
1 answer

SAP JCo3 table empty

I am re-writing my JCo2 code to JCo3 code to run on a 64 bit Windows server. When I try to read my SAP table with the JCo3 code it is returning an empty table. However when I run the JCo2 code I have 2 records in the table. The result is records =…
0
votes
2 answers

Connect SAP Retail using Java

I am new to SAP Retail, got a task to connect and interact with the SAP Retail system using java in order to retrieve promotion, offer data. I am looking for ways to do so, either using any Java API or Web services. Please give me some ideas to…
suresiva
  • 3,126
  • 1
  • 17
  • 23
0
votes
2 answers

how to reset password in SAP system using BAPI?

I am trying to reset password for SAP system using BAPI but I am getting error password is not type of field input I am posting my code below. getRandomString() is a user-defined function. I have copied this code from Internet and I am unaware…
MNW
  • 79
  • 2
  • 7
0
votes
0 answers

How to use two structures in JCo for creation of data in SAP system

I had searched forum and got this below link http://www.apentia-forum.de/viewtopic.php?t=1962 but here my problem is we have to pass two structures because data I want create in SAP system fall under two structures. Can anybody suggest me how can we…
bhat
  • 89
  • 1
  • 10
0
votes
2 answers

how to restrict the number of table columns in bapi output

While querying BAPI, we are generally interested in only few columns of a table. For example PO_ITEMS table (under BAPI_PO_GETITEMS) has 58 columns. While querying, I am interested in only 10 of those columns. But the BAPI response contains all the…
Gana
  • 482
  • 3
  • 11
  • 32
0
votes
1 answer

Mule Studio: Message is not a SAP object, it is of type "String"

When i am trying to connect Mule Studio with SAP. i am getting error. org.mule.api.transport.DispatchException: Message is not a SAP object, it is of type "String". Check the transformer for this Connector "connector.sap.mule.default". Failed to…
Anand Gajjar
  • 81
  • 2
  • 9
0
votes
1 answer

STAD data extraction into Java Application

SAP logs all the transactions executed by user and accumulates them by monthly wise. Information it stores user ID, date, time, transaction executed instance, etc. Table MONI contains this information. But when I check this table it looks like raw…
user2816525
  • 13
  • 1
  • 5
0
votes
1 answer

JCO PoolManager: How to confirm if JCO Pool is created in JCO PoolManager by looking at JCO traces

I am trying to analyze one problem where in JCO Trace file I can see that the JCO Pool is added as follows SAPEngine_Application_Thread[impl:3]_12 [14:44:41:772]: [JAV-LAYER] JCO.PoolManager.addPool: name = pool name, connection =…
0
votes
1 answer

How to connect OSGi to SAP?

I need to connect Adobe CQ5 (OSGi based CMS) to SAP server to get some information from SAP. I don't have access to SAP server, meaning I cannot install anything there. According to what I've found out it's possible to connect Java application to…
Zhenya
  • 6,020
  • 6
  • 34
  • 42
-1
votes
1 answer

Limit number of records to be received from SAP using JCo library

Suppose there are 100 records in one of the SAP tables and I want to access only 5 of them. When I call for BAPI function execution, it brings all 100 records in memory and then only I can iterate on them. How to limit records to 5 before I execute…
Rajan
  • 9
  • 3
-1
votes
1 answer

getNumRows() returns 0 when running SAP BAPI using JCo SAP

I am writing Java Code to get data from SAP BAPI using Java Connector (JCo). This is my first time to make a connection to SAP using JCo. I was able to get the Tables available in the Data Source and also get one particular Table and Number of…
-1
votes
1 answer

How to extract SAP ERP data for a particular year

I am trying to extract BSEG table data from SAP ERP system. I want to set a filter on field GJAHR for year 2018 so that data for that particular year will be extracted. Below is the code snippet: if(fields != null){ JCoTable table =…
GrailsLearner
  • 485
  • 1
  • 11
  • 23
-1
votes
2 answers

RFC call does not work on mac os using jco lib and java

SAP RFC call doesnot work on mac os platform. Same code run on windows. There is interesting things that If I connect to sap using with SAP GUI, I successfully call RFC on mac. I use sap official jco lib for connection. My local machine config: …
katsu
  • 558
  • 1
  • 7
  • 20
-1
votes
3 answers

SAP Kernel release in SAP

Where is stored the Kernel release and SP level? Table or file (with constant path)? I'm writing my program on JCo, I need to get this information from there.
dino
  • 11
  • 2
  • 6
1 2 3
13
14