cancel
Showing results for 
Search instead for 
Did you mean: 

JCoIDoc CreateDocument

Former Member
0 Kudos

Hi,

how can i create an IDoc.Document-Object with JCoIDoc.CreateDocument without connect to an SAP-System.

I have inserted meta-data in the repository-cache, but the create function does not find the meta-data in the cache.

Application error: com.sap.mw.idoc.IDoc$Exception: (2) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "IDOCTEST" is unavailable.

Has somebody an idea.

Kind regards

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

We are experiencing a similar problem - Does anyone have an ideea what might be causing this?

Former Member
0 Kudos

The way I used to do offline stuff is get the repository online and load it. At the end use objectstream to write to file. Remember to close the SAPConnection....

When offline load the repository from the file.

You should then get your information...

Enjoy