cancel
Showing results for 
Search instead for 
Did you mean: 

SAP ECC-SM58 Error-IDOC Metadata unavailable

former_member216353
Participant
0 Kudos

Hi all,

We are facing a peculiar issue while testing outbound Idoc related scenarios from SAP ECC to SAP PI AEX 7.4

When Idocs of type. - MessageType.BasicType.CustomExtension are being pushed from SAP ECC, they are getting stuck in SM58 Tcode with the below error.

[JRA] serverExceptionOccurred. Server XI_IDOC_DEFAULT_SID, Managed_Application_Thread_59, connectionId=5-10.56.129.171|sapgw20|XI_IDOC_DEFAULT_SID, Exception: com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "LOIPRO01" with extension "/XXXXX/ZLOIPRO01" is unavailable.

After this error, when we tried to upload the metadata in Idoc adapter monitor, it throws an error saying

"Metadata could not be preloaded, check log for details.

We have seen this type of issue for two Idoc types till now.

DESADV.DELVRY03.ZVDELVRY03_LSP

LOIPRO.LOIPRO01./SWGZA/ZLOIPRO01

Did anyone face this issue before. Any inputs/pointers to resolve this would be helpful.

Thank you

regards,

Younus

Accepted Solutions (0)

Answers (2)

Answers (2)

Ryan-Crosby
Active Contributor
0 Kudos

Hi Younus,

We faced a similar situation recently and the one thing we were missing was updating Idoc adapter metadata in the ID so it was pointed to the proper system in the SLD.  We had copied a system for an upgrade to a new technical system name - it looks like you are upgrading your PI so maybe you have a mismatch?

Regards,

Ryan Crosby

former_member184720
Active Contributor
0 Kudos

Hi Younus - Did they release those segments in ECC?

Also do you see any additional information under NWA logs?

JaySchwendemann
Active Contributor
0 Kudos

Hi,

what does the log say? Please check developer trace and SAP logs.

Besides what Hareesh is suggesting to check, you may also want to ensure the user has sufficient rights to read your IDoc metadata. Check this note http://service.sap.com/sap/support/notes/974537

Cheers

Jens

former_member216353
Participant
0 Kudos

Hi Hareesh and Jens

This Idoc flow has been working fine with SAP PI 7.1 Dual Stack

The user with which we are trying to import meta data has admin access.

On the SAP segment getting released, I'm getting this checked. Will share the results soon

Logs say the same.

[JRA] serverExceptionOccurred. Server XI_IDOC_DEFAULT_SID, Managed_Application_Thread_59, connectionId=5-10.56.129.171|sapgw20|XI_IDOC_DEFAULT_SID, Exception: com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: (3) IDOC_ERROR_METADATA_UNAVAILABLE: The meta data for the IDoc type "LOIPRO01" with extension "/XXXXX/ZLOIPRO01" is unavailable.


regards,

Younus

JaySchwendemann
Active Contributor
0 Kudos

Also check your TCP / IP Connection in ECC whether you have selected propper unicode settings. See also here

Cheers

former_member216353
Participant
0 Kudos

Hi Jens,

1. Yes, the RFC destination is having the "Unicode" option checked.

2. The segments are also released from SAP ECC.

Other Idocs are getting processed, only selected Idoc types have this issue.

regards,

Younus

JaySchwendemann
Active Contributor
0 Kudos

Hi Younus,

ok, so most of the obvious sources of error are checked. Now it's probably wise to eliminate any caching problem and the like.

I would suggest following (top down):

  • Perform cache refreshes, most notably CPA Cache Refresh (full if possible)
  • Restart SAP PI (as it is a test system this should be ok, hopefully)
  • Perform Authorization Checks (for particular or all users) on ECC system while trying to import metadata
  • Increase Log / Trace level on PI
  • Have a look at XPI Inspector on PI. However, I'm not sure if tracing options of XPI Inspector are sufficient to track down your current issue
  • Open an incident at SAP

Cheers

Jens