My Oracle Support Banner

Error: Unable To Get Metadata For HRMD_A07 when SAP Listener Attempts to Receive Idocs (Doc ID 1199186.1)

Last updated on JULY 21, 2020

Applies to:

Identity Manager Connector - Version 9.1 and later
Information in this document applies to any platform.

Symptoms

OIM version: 9.1.0.2
SAP ER connector: 9.1.2
JCO 3.0.5

SAP HRMS Listener -scheduled task starts successfully.
When SAP sends the iDocs to listener, following error occurs:

Unable to get metadata for HRMD_A07 with extension Z_HRMD_A_EXT.


Same iDocs parsed successfully from file, when using SAP HRMS User Recon -scheduled task.

Log file shows the following error:

DEBUG 17 Aug 2010 18:01:38,114 OIMCP.SAPH - oracle.iam.connectors.sap.common.parser.SAPIDOCListener$TidHandler : TidHandler : checkTID called for TID=<TID>
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - ====================================================
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - oracle.iam.connectors.sap.common.parser.SAPIDOCListener$ThrowableListener : serverExceptionOccurred : >>> Error occured on OIM.1 connection <HOST>|<PORT>|OIM.1
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - ====================================================

ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - ================= Start Stack Trace =======================
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - oracle.iam.connectors.sap.common.parser.SAPIDOCListener$ThrowableListener : serverExceptionOccurred
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - Unable to get metadata for HRMD_A07 with extension Z_HRMD_A_EXT
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - Description : Unable to get metadata for HRMD_A07 with extension Z_HRMD_A_EXT
ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - com.sap.conn.idoc.IDocRuntimeException: Unable to get metadata for HRMD_A07 with extension Z_HRMD_A_EXT
at com.sap.conn.idoc.jco.rt.SAPRepository.queryRootSegmentMetaData40(SAPRepository.java:1310)
at com.sap.conn.idoc.jco.rt.SAPRepository.queryRootSegmentMetaData(SAPRepository.java:1141)
at com.sap.conn.idoc.jco.rt.SAPRepository.getRootSegmentMetaData(SAPRepository.java:907)
at com.sap.conn.idoc.rt.DefaultIDocDocument.<init>(DefaultIDocDocument.java:119)
at com.sap.conn.idoc.jco.rt.JCoIDocDocument.<init>(JCoIDocDocument.java:92)
at com.sap.conn.idoc.jco.rt.JCoIDocDocument.createIDocDocument(JCoIDocDocument.java:170)
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)
at com.sap.conn.jco.rt.DefaultServerWorker.dispatchRequest(DefaultServerWorker.java:153)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.dispatchRequest(MiddlewareJavaRfc.java:3300)
at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcServer.executePlayback(MiddlewareJavaRfc.java:2780)
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)
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(Unknown Source)
Caused by: com.sap.conn.jco.JCoException: (180) JCO_ERROR_DESTINATION_DATA_INVALID: Destination IDOCLISTEN was changed. Refresh the destination instance with the JCoDestinationManager.
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:846)
at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:28)
at com.sap.conn.jco.rt.ConnectionManager.internalExecute(ConnectionManager.java:274)
at com.sap.conn.idoc.jco.rt.SAPRepository$ConnectionProvider.execute(SAPRepository.java:1639)
at com.sap.conn.idoc.jco.rt.SAPRepository.queryRootSegmentMetaData40(SAPRepository.java:1265)
... 18 more

ERROR 17 Aug 2010 18:01:38,286 OIMCP.SAPH - ================= End Stack Trace =======================
DEBUG 17 Aug 2010 18:01:38,286 OIMCP.SAPH - oracle.iam.connectors.sap.common.parser.SAPIDOCListener$TidHandler : rollback : rollback called for TID=<TID>

Changes

Upgraded SAP JCO from 3.0.4 to 3.0.5.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.