Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

JCoServer Error Comunication

Former Member
0 Kudos

Hello,

We're trying to connect a Java program to R / 3 system but have an error;

I created a port in the transaction WE21

I created a profile partner in the transaction WE20

Create a distribution model in transaction BD64 distribute and when I try I get the following error:

Target system JAVSYS

Communication error occurred

The JCoServerFunctionHandlerFactory com.sap.conn.idoc.jco.rt.DefaultJCoIDocCallH

Anyone know anything about this error or where I can see more detail

Best Regards!

1 REPLY 1

HAL9000
Product and Topic Expert
Product and Topic Expert
0 Kudos

Your target system JAVSYS seems to be some Java application with running JCo 3.0 standalone plus the Java IDoc Class Library 3.0 Add-On.

The full (non-truncated) error message is most likely this error message:

"The JCoServerFunctionHandlerFactory com.sap.conn.idoc.jco.rt.DefaultJCoIDocCallHandlerFactory returns null for function name <RFM_NAME>"

So this issue needs to be examined at the external Java side.There is either some JCo configuration error with missing RFC or IDoc meta data or you are sending usual RFC calls to a Java target system that is supposed to handle IDocs only.

Best regards,

Stefan