Skip to Content
avatar image
Former Member

IDOC error:IDOC_ERROR_METADATA_UNAVAILABLE

I had followed the "How to Send an IDoc from SAP ECC to the SAP MII IDoc Listener" atricle to setup IDOC Listenser completely.

When SAP ERP sent MATMAS message IDOC to SAP MII,I found error message in Netweaver as below:

com.sap.conn.idoc.IDocRuntimeException: IDocException occurred?

at com.sap.mw.jco.jra.idoc.JRAIDocExtension$IDocMessageHandler.onMessage(JRAIDocExtension.java:111)?

at com.sap.mw.jco.jra.JRA$ReaderThread.sendDirectToMdb(JRA.java:6643)?

at com.sap.mw.jco.jra.JRA$ReaderThread.sendAsynchRequest(JRA.java:6605)?

at com.sap.mw.jco.jra.JRA$ReaderThread.handleRequest(JRA.java:6763)?

at com.sap.conn.jco.rt.DefaultServerWorker$RequestDispatcher.handleRequest(DefaultServerWorker.java:959)?

at com.sap.conn.jco.rt.DefaultServerWorker$RequestDispatcher.handleRequest(DefaultServerWorker.java:937)?

at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:142)?

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:2630)?

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2307)?

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.playbackTRfc(MiddlewareJavaRfc.java:2139)?

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.handletRfcRequest(MiddlewareJavaRfc.java:2021)?

at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.listen(MiddlewareJavaRfc.java:1912)?

at com.sap.conn.jco.rt.DefaultServerWorker.dispatch(DefaultServerWorker.java:259)?

at com.sap.conn.jco.rt.DefaultServerWorker.loop(DefaultServerWorker.java:321)?

at com.sap.conn.jco.rt.DefaultServerWorker.run(DefaultServerWorker.java:220)?

at com.sap.mw.jco.jra.JRA$ReaderThread.run(JRA.java:7233)?

at com.sap.engine.services.connector.jca15.work.TaskImpl.run(TaskImpl.java:255)?

at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)?

at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)?

Caused by: com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "" is unavailable.?

at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:132)?

at com.sap.conn.idoc.jco.JCoIDocDocument.<init>(JCoIDocDocument.java:74)?

at com.sap.conn.idoc.jco.JCoIDocDocument.createIDocDocument(JCoIDocDocument.java:117)?

at com.sap.conn.idoc.jco.JCoIDocRuntime.createIDocDocumentList(JCoIDocRuntime.java:83)?

at com.sap.mw.jco.jra.idoc.JRAIDocRuntime.createIDocDocumentList(JRAIDocRuntime.java:104)?

at com.sap.mw.jco.jra.idoc.JRAIDocExtension$IDocMessageHandler.onMessage(JRAIDocExtension.java:69

Please give me any solution to resolve this problem.

Thanks

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 24, 2010 at 12:39 AM

    Hi Adarsh,

    I had updated IDOC Listener in MII, but still happen same error.

    Do you think I need configure more IDoc message type or check another in MII?

    Thanks

    BR,

    Vincent Lee

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Vincent,

      Please verify whether you have set the Unicode option while creating RFC destinations but there can be an authorization issue too.

      You can refer to this SAP Notes "1473183" for more detailed info.

      Hope this helps!!

      Regards,

      Adarsh

  • avatar image
    Former Member
    Jun 23, 2010 at 08:02 AM

    Vincent,

    this error is usually due to credencial problems. Please check the user and password used in MII in the connection to your SAP system.

    Michael

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 23, 2010 at 08:35 AM

    Hi Michael,

    I had set Netweaver XMIIIDOC05 adapter resource logon user/password is ok and tested SAP ERP with MII connection is OK .

    Do you have any instruction for setting user name/password in SAP MII site?

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Vincent,

      from my experience (MII 12.0), check the Data Server - SAP Servers entry. In Message Listener, check the Client Properties. Those are the places that sometimes have to be corrected.

      Michael

  • avatar image
    Former Member
    Jun 23, 2010 at 09:17 AM

    Hi Michael,

    My Sap MII version is v12.1. I had set user name/password in Netweaver's XMIIIDOC05 resource adapter's property and test is ok.

    I think it should be another problem not account issue.

    Vincent

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hello Vincent,

      Just make sure that you have hit the update button in MII Message Listeners after configuring IDOC listener in NWA.

      Any changes made to listener in nwa will not get reflected unless you do update in message listeners.

      Hope this helps!!

      Regards,

      Adarsh

  • avatar image
    Former Member
    Jun 24, 2010 at 10:01 AM

    it is ok for changed to unicode.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded