cancel
Showing results for 
Search instead for 
Did you mean: 

Adding custom Segment in IDoc going through SAP Java Connector (JCo)

0 Kudos

Hello

We have an existing IDoc (with Extension) interface going to BOOMI through SAP JCo.

I have added a new segment in the Extension, but am getting a error (I think in SAP JCo)

What setup step has been missed to add the new segment to the outbound IDoc?

com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: (3) IDOC_ERROR_METADATA_UNAVAILABLE: Matching meta data for segment definition "/TXN/IS_E1EDP05000" was not found when processing IDoc no. 0000001419465997 of type "INVOIC01" with extension "ZINVOIC1".

Accepted Solutions (0)

Answers (1)

Answers (1)

HAL9000
Product and Topic Expert
Product and Topic Expert

After modifying interface or type/structure definitions in the SAP system, you need to clear the respective local repository cache of JCo/IDoc Library, so that the new metadata will be fetched again afterwards.

I don't know if BOOMI offers the functionality to do so at runtime (JCo/JIDocLib offers appropriate APIs). If not, the easiest way for achieving this would be to restart the JCo process, i.e. your Java application server.