cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC_ERROR_METADATA_UNAVAILABLE:

Former Member
0 Kudos

Hello,

I am using jco-idoc library to send IDOC "INVOIC01" to SAP server. Couple of hours things were fine (some other exceptions though -IDOC_ERROR_ILLEGAL_TYPE). All of a sudden I started getting this error..

com.sap.mw.idoc.IDoc$Exception: (2) IDOC_ERRO

R_METADATA_UNAVAILABLE: The meta data for the IDoc type "INVOIC01" is unavailable.

Does anyone know the cause of this error?

Any help will be deeply appreciated.

Thanks,

Ranjith Pillai.

.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello,

My problem was somebody revoked my permission accidentaly. So my client was unable to talk to that SAP instance to get MetaData. May be you should check your permission status.

Good Luck,

Ranjith Pillai.

christophe_faure
Explorer
0 Kudos

Hello Ranjith,

Have you solved the error. On my side I recently tested the

sapidoc.jar in using the JCoIdocSample1.java pgm and a

similar execption has been raised bu concerning the MATMAS02.

I am interested for solving this problem.

Thanks

Bruno ROUX

Former Member
0 Kudos

System Login failure - Clossed this message

Former Member
0 Kudos

Hello Vijay,

This is my code snippet:

JCO.addClientPool( "MyPool",----);

IDoc.Repository idocRep = JCoIDoc.createRepository("InvoiceRepository", "MyPool");

IDoc.Document doc = JCoIDoc.createDocument(idocRep, "INVOIC01");

In fact it created this document earlier and all of a sudden I started getting this error.

Thanks,

Ranjith Pillai

Former Member
0 Kudos

Hi Ranjith,

The metadata of that IDOC should be available in the IDOC repository. So, before creating the IDOC , you should create the IDOC repository. If you had created the IDOC repository, one reason could be that the JCO.client used to create the IDOC repository is no more connected to the SAP system.

Hope this helps.

Vijaya Gopal.

ygopal@cordys.com