cancel
Showing results for 
Search instead for 
Did you mean: 

JCoIDoc / JCo listening to the same server configuration fails

Former Member
0 Kudos

Hello experts,

I'm trying to use SAP JCo IDoc Library 3.0.5 / SAP JCo Library 3.0.6 for processing of IDocs / BAPIs sent from SAP. When a IDoc server is created with a set of ServerDataProvider properties, the server starts and is able to process the IDocs right. However, when I use the same configuration for starting a plain JCo Server for processing of BAPIs, the Server doesnt start. The getServer() call on JCoServer is rejected with a java.lang.ClassCastException - DefaultServer incompatible with JCoIDocServer. Is there any work around for this?

Regards, Srinu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Srini,

I have worked on JcoIDOC & am able to post IDOC in the SAP System. As well as from SAP system am able to tranfer the idoc to XML in a local file system.

Can you please elaborate your scenario..?

Thanks,

Arun.