Error Sending IDOC from WM -> SAP in 6.5

Hi,

ENV: WM 6.5 SAP Adapter on HP Unix
I am unable to send IDOC from the Flow services. I have tried using

pub.sap.transport.ALE:OutboundProcess and also pub.sap.idoc:documentToIDoc

In the both the case i get the following error:

com.wm.app.b2b.server.ServiceException: [ART.117.4002] Adapter Runtime (Adapter Service): Unable to invoke adapter service pub.sap.transport.ALE:OutboundProcess.
[SAP.102.9020] JCo error: com/sap/mw/idoc/jco/JCoIDoc$JCoDocumentList

Even when i try to do a lookup from the WM SAP Admin page, i get a similar error:

class java.lang.reflect.InvocationTargetException
Message com/sap/mw/idoc/jco/JCoIDoc
Service wm.sap.Ale:getIDocDefinition

The SAP connection is fine as i am able to lookup RFC functions and execute them

Is this a problem due to some missing libraries or something in the classpath?

Thanks
Sudheer

Hi Subheer,

please check the SAP Adapter 6.5 Installation Guide (Page 7).

There are some libs mentioned which need to be downloaded from SAP Marketplace. Unfortunately I am looking for this libs too as I am not possible to download them by myself as I donĀ“t have access to a valid installation number.

Check the Adapters Info Page (The Link under Packages -> Management) in IS Admin for Load errors. I think you are looking for the sapidoc.jar and/or sapidocjco.jar.

Check for the version of the used SAP jars. It must be 2.1.x or newer.

Regards,
Holger