cancel
Showing results for 
Search instead for 
Did you mean: 

IDoc problem :: PI -> JCO

Former Member
0 Kudos

Hi guys,

Scenario: ECC - PI - JCO (JAVA program)

The JCO points to the PI gateway and the ECC metadata perository - We tried to send en ALEREQ and it worked all the way through, but when we are sending other IDocs (with Z segments etc.) we get the below error:

"IDOC_ERROR_METADATA_UNAVAILABLE: Matching meta data for segment definition "E2BPIBDLVHDR001"

not found when processing IDoc no. 0000000000006011 of type "SHP_IBDLV_SAVE_REPLICA04" ."

Any good ideas?

Please advice

Thanks

Full JCO log:

ERROR 2011-06-14 11:24:48.256 JCoServerListener3 - Server exception occurred: com.sap.conn.jco.JCoException: (104) RFC_ER

ROR_SYSTEM_FAILURE: IDocException occurred (raised by system dovm-gero|a_rfc)

com.sap.conn.jco.JCoException: (104) RFC_ERROR_SYSTEM_FAILURE: IDocException occurred (raised by system dovm-gero|a_rfc)

at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:639)

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

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

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

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

at java.lang.Thread.run(Thread.java:619)

Caused by: RfcException: [dovm-gero|a_rfc]

message: IDocException occurred

Return code: RFC_FAILURE(1)

error group: 104

key: RFC_ERROR_SYSTEM_FAILURE

Exception raised by dovm-gero|a_rfc

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

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

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

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

... 4 more

Caused by: RfcException: [dovm-gero|a_rfc]

message: IDocException occurred

Return code: RFC_FAILURE(1)

error group: 104

key: RFC_ERROR_SYSTEM_FAILURE

Exception raised by dovm-gero|a_rfc

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

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

... 7 more

Caused by: com.sap.conn.idoc.IDocRuntimeException: IDocException occurred

at com.sap.conn.idoc.jco.rt.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:151)

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

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

... 8 more

Caused by: com.sap.conn.idoc.IDocMetaDataUnavailableException: (3) IDOC_ERROR_METADATA_UNAVAILABLE: Matching meta data for segment definition "E2BPIBDLVHDR001"

not found when processing IDoc no. 0000000000006011 of type "SHP_IBDLV_SAVE_REPLICA04" .

at com.sap.conn.idoc.jco.rt.JCoIDocDocument.createIDocDocument(JCoIDocDocument.java:272)

at com.sap.conn.idoc.jco.rt.JCoIDocRuntime.createIDocDocumentList(JCoIDocRuntime.java:80)

at com.sap.conn.idoc.jco.JCoIDoc$DefaultJCoIDocRuntime.createIDocDocumentList(JCoIDoc.java:144)

at com.sap.conn.idoc.jco.rt.DefaultJCoIDocServerWorker$IDocDispatcher.handleRequest(DefaultJCoIDocServerWorker.java:107)

Accepted Solutions (0)

Answers (4)

Answers (4)

naveen_chichili
Active Contributor
0 Kudos

Hi,

Try reloading metadata as already mentioned by Agasthuri.

Regards,

Naveen.

Former Member
0 Kudos

Hi

thank for all responses. we have already done that in IDX2 and reloaded the metadata for related port. it didn't solved the problem.

for TRT1818

Naser

agasthuri_doss
Active Contributor
0 Kudos

Hi,

>"IDOC_ERROR_METADATA_UNAVAILABLE: Matching meta data for segment definition "E2BPIBDLVHDR001"

Load the meta data again by deleting the existing one.

Cheers

Agasthuri

Former Member
0 Kudos

Hi Go to the TCODE IDX2 in your PI system and delete the metadata for the idoc type you are using. this will sort out the problem. Assume after you have modified the custom idoc structure you have reimported the same into the SWCV in the integration repository.

also pls do check in the SM59 of your ECC system the RFC destination which you are using to send the IDoc is having the authorization to do the IDoc processing when its being passed into PI.

Hope this helps.

Former Member
0 Kudos

Hi

Both solution from chichilin and JKNair is tested and every thing in SM59 and IDX2 looks just fine.

any other suggestions to solve this issue?

naveen_chichili
Active Contributor
0 Kudos

Hi

Check your AI_RUNTIME_JCOSERVER & AI_DIRECTORY_JCOSERVER in SM59. Also make sure if the user specified in your RFC destinatios have proper authorizations.

If PIAPPLUSER is specified in your destinations check if PIPPLUSER has below roles

SAP_XI_APPL_SERV_USER

SAP_XI_IS_SERV_USER

Regards,

Naveen