10-29-2015 4:37 PM
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!
12-04-2015 8:55 AM
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