Hi, I am learning hibersap. I wrote a mini test project for learning how to connect RFC using hibersap. But I am getting an error. What may be the reason? BAPI: @Bapi("ZPORTAL_GET_MAT_DETAIL") public class ZPORTAL_GET_MAT_DETAIL { public ZPORTAL_GET_MAT_DETAIL(String malzemeNumarasi, String uretimYeri) { super(); this.malzemeNumarasi = malzemeNumarasi; this.uretimYeri = uretimYeri; } @Import @Parameter("IV_MATNR") private String malzemeNumarasi; @Import @Parameter("IV_WERKS") private String uretimYeri;...
Salut Christophe, all JCo-Properties starting with jco.* are simply passed on to JCo, so you should be able to configure it as if you were using plain JCo. If you try this, it would be helpful if you could give a feedback here, since I am currently not able to test with a message server.
Salut Christophe, all JCo-Properties starting with jco.* are simply passed on to JCo, so should be able to configure it as if you were using plain JCo. If you try this, it would be helpful if you could give a feedback here, since I am currently not able to test with a message server.
Hi, in pre production and production, we have a message server and dedicated group. I saw in Jco documentation that for using this functionnality we have to set such property as jco.message_server Is it the same with Hibersap? Thanks in adavnce for your help
Hello Carsten, thanks for the answer I will investigate this way
Hello Christophe, Hibersap only implements the other way, calling SAP from Java applications. I think you have to use plain JCo for your use case.
Dear all, we would like to use Hibersap not for call SAP but in the other way: SAP will cal a Java spring boot application. Do have either tried it ? Thanks in advance for the help
Dear all, we would like to use Hibersap not for call SAP but in the other way: SAP will cal a Java spring boot application. Do have either tried it ? Thnaks in advance for the help
Dear all, we would like to use Hibersap not for call SAP but in the other way: SAP will cal a Java spring boot application. Do have either tried it ? Thnaks in advance for the help
Are you building with Maven/Gradle or are you managing your dependencies manually in Eclipse? In the first case Maven/Gradle should add the dependencies needed by Hibersap automatically to your build. In the latter case I would recommend switching to a real build system to avoid having to manage things manually. Which means you would have to look into the Hibersap poms and add dependencies (like apache-commons logging) to Eclipse and make Eclipse package them into the war you are deploying on Tomcat....
If I create a Java application I can run a BAPI without problem. If I want to execute that same BAPI inside a Servlet like a Webservice, it gives me an error when trying to load the SessionManagerConfig class. java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188) at org.hibersap.configuration.xml.SessionManagerConfig.<clinit>(SessionManagerConfig.java:52)</clinit>...
Hi Carsten, are you still on board? This week I updated my project to 1.40 and was facing similar issued described in my last comment. In addition I was facing issues concerning consuming structures as import parameters. Guess, I fixed all of them by adapting hibersap code (JCAMapper.java) to avoid ResourceExceptions which occured ("...could not find structure definition...", "...could not find function template..." ,etc.). Would be great, if we both could connect. Maybe you could double check my...
Hi, I'm pretty new with this framework, I've mapped two BAPIs, one that only returns user information and another one that does some changes in SAP and then returns the result, for some reason the one that only retrieve information is being executed successfully, but the one that makes some changes in SAP is not being executed and hibersap doesn't return any error, and the exports and return table are empty, any help will be much apreciated, regards!! [edit] nevermind, I've just got this thing w...
Hi, I'm pretty new with this framework, I've mapped two BAPIs, one that only returns user information and another one that does some changes in SAP and then returns the result, for some reason the one that only retrieve information is being executed successfully, but the one that makes some changes in SAP is not being executed and hibersap doesn't return any error, and the exports and return table are empty, any help will be much apreciated, regards!!
Hi, I'm pretty new with this framework, I've mapped two BAPIs, one that only returns user information and another one that does some changes in SAP and then returns the result, for some reason the one that only retrieve information is being executed successfully, but the one that makes some changes in SAP is not being executed and hibersap doesn't return any error, any help will be much apreciated, regards!!
Hi Carsten,i follow your solution and do it like below first,deploy the jar to the maven mvn -X deploy:deploy-file -Durl=http://192.168.0.102:8081/repository/falcon-releases/ -Dfile=sapjco3.jar -DgroupId=com.sap.conn.jco -DartifactId=com.sap.conn.jco.sapjco3 -DrepositoryId=falcon-releases -Dversion=3.0.14 in pom.xml <dependency> <groupId>com.sap.conn.jco</groupId> <artifactId>com.sap.conn.jco.sapjco3</artifactId> <version>3.0.14</version> </dependency> but when i start the server(developed in springboot),the...
Hi Chris, you can install the SAP-JCo library like described in the Hibersap documentation: http://hibersap.org/documentation/reference/#the-sap-java-connector-jco Alternatively, you can deploy it with the mentioned groupId/artifactId/version to an enterprise Maven repo like Nexus or Artifactory. And then declare the Gradle dependency with the coordinates org.hibersap:com.sap.conn.jco.sapjco3:3.0.15 in compile scope. Of course you can use a different version and also a different groupId if you l...
Hi Carsten, I'm just now experiencing this. So what do you mean to have an artifactId of com.sap.conn.jco.sapjco3? You mean, if pom.xml <artifactId>com.sap.conn.jco.sapjco3</artifactId> Can you please post your whole deploy command line, or pom file for deploy including groupId and version? Then post how you build the dependency to get the artifact (with long artifactId) you just deployed? Note we're using Gradle so I'm having to translate Maven (pom) to Gradle (build.gradle)
Hi Carsten, I'm just now experiencing this. So what do you mean to have an artifactId of com.sap.conn.jco.sapjco3? You mean, if pom.xml <artifactId>com.sap.conn.jco.sapjco3</artifactId> Can you please post your whole deploy command line, or pom file for deploy including groupId and version? Then post how you build the dependency to get the artifact (with long artifactId) you just deployed?
Hi Carsten, I'm just now experiencing this. So what do you mean to have an artifactId of com.sap.conn.jco.sapjco3? You mean, if pom.xml <artifactId>com.sap.conn.jco.sapjco3</artifactId> Can you please post your whole deploy command line, or pom file for deploy including groupId and version? Then post how you build the dependency?
Hi Carsten, I'm just now experiencing this. So what do you mean to have an artifactId of com.sap.conn.jco.sapjco3? You mean, if pom.xml <artifactId>com.sap.conn.jco.sapjco3</artifactId>
Converters are ignored on a nested structure
Hi Carsten, I saw that you added Bigyan's fix for NetWeaver in version 1.3.1. Nice! Unfortunateley this seems not to be enough, since it was not working... To make it work I adapted JCAMapper.mapToMappedRecord() the following way. It seems to work now, but I am unsure if I did not break other things now. Guess this code will get problems with the new feature "nested stuctures". Please have a look. Regards, Jens private void mapToMappedRecord(final RecordFactory recordFactory, final Record record,...
The above outlined solution with a system dependency is far from being ideal and...
The above outlined solution with a system dependency is far from being odeal and...
Bigyan, thanks a lot for sharing this! Do you know if there is an easy way to set...
Hi, I fixed the problem. JRA returns the Table parameters as a java.sql.Result, which...
I tried a solution for a BAPI with 1 table (in) and 1 table (out) : @Table @Parameter("GT_KUNNR")...
the hibersap version is hibersap-core-1.2.0.jar hibersap-jca-1.2.0.jar
Hi Carsten, Thanks for the quick reply. The Bapi class: import java.util.ArrayList;...
Hi, did you map the customer list record correctly with @Table @Parameter("CUSTOMER_LIST")?...
Hi, I am trying to run the SAP RFC BAPI_FLCUST_GETLIST by using Hibersap (with JCA)in...
Hi. Im setting up a new java ee project using hibersap + cuckoo and im not sure about...
I resolved my problem ! In Hibersap's examples, the return structure is in Export...
Hi Utkarsh, No ... and I don't understand why I have this issue. I tried with a easy...
What is the difference between ParameterType.STRUCTURE vs ParameterType.TABLE_STRUCTURE...
Have you solved the issue ?
Whenever I try to call SAP FM, the Hibersap throws an exception saying it doesn't...
Whenever I try to call SAP FM, the Hibersap throws an exception saying it doesn't...
One approach is to download just sapjco3.jar from the local Maven repo using the...
@comtoexe: It's a bit hard without seeing the pom.xml, so I guess: Do you copy all...
Since you seem to copy all your dependencies (including commons-logging which is...
I can't run jar file after maven package. Error message: Exception in thread "main"...
I can't run jar file by maven package. Error message: Exception in thread "main"...
I can't run jar file by maven package. Error message: Exception in thread "main"...
Hi, Nobody can help me ?
Hi, Thank you for your reply. If I omit TABLE_STRUCTURE for my tables, I have the...
Hi, please try with omitting the "type = ParameterType.TABLE_STRUCTURE" on the table...
Hello, I use JCO3 and Hibersap 1.2.0. I have an issue when I want to execute the...
After I ran the the forge command to build the plugin I got: WARNING Failed to resolve...
Hibersap 1.2.0 released
A new site for Hibersap
Maven repo http://hibersap.svn.sourceforge.net/viewvc/hibersap/m2repo not accessible
This git broken when Sourceforge transfered the project to the new layout. The new...
Access Hibersap Session from Converter
moved to github tracker
Log java.library.path
moved to github tracker
moved to github tracker
Support deep Structure Parameters
moved to github tracker
Provide default implementation for Converter
Return unique error from SapException
moved to github tracker
moved to github tracker
Convert Tables and Structures
move to github tracker
Extend Converter methods to pass field meta data
Add the possibility to change the classpath location for hib
moved to github tracker
moved to github tracker
Provide a callback mechanism for Transaction completion
Bind SessionManager automatically to JNDI.
Participate in Container Managed Transactions.
Closing since no one ever requested this. In JavaEE the use of a Resource Adapter...
Call BAPIs statelessly.
Moved to Github tracker
Map BAPI tables to non-generic Collections.
moved to Github tracker
No one ever requested this feature.
Map BAPIs using XML configuration.
Scan annotated classes with a JBoss deployer.
Support Tables in Export Parameter