Skip to Content
0
Former Member
Sep 27, 2006 at 01:50 PM

IDoc to Java --> not calling 'handleRequest'

58 Views

Hello,

I try to send IDocs from SAP to a JCoIDoc.Server. I tried to use JCoIDocSample3.java out of sapidocjco-1.0.6

IDoc goes out correctly, in my IDoc-Server the overriden method 'protected void handleRequest(IDoc.DocumentList documentList)' is never called.

In method 'void dispatchRequest(Function function)' the following exception occures:

com.sap.mw.idoc.IDoc$Exception: (2) IDOC_ERROR_METADATA_UNAVAILABLE: The meta da

ta for the IDoc type "LOIPRO01" is unavailable.

at com.sap.mw.idoc.jco.JCoIDoc$JCoDocument.<init>(JCoIDoc.java:326)

at com.sap.mw.idoc.jco.JCoIDoc$JCoDocumentList.<init>(JCoIDoc.java:3072)

at com.sap.mw.idoc.jco.JCoIDoc$Server.dispatchRequest(JCoIDoc.java:10267

)

Can anybody help me with this problem?

C. Stephani