cancel
Showing results for 
Search instead for 
Did you mean: 

SAP XI 7.0: Outbound IDocs not created in ECC (Missing IDocs!!)

Former Member
0 Kudos

Hi All,

There is a problem in IDoc creation from XI to ECC. This is a one time issue in production where in around 40K messages are processed every hour by XI for a particular interface IDoc To IDoc. But on a certain day the target ECC system was unavailable for some time and this was an unplanned activity.

Due to the target unavailability the messages were stuck in SM58 (the usual place for a IDoc during LUW not completed), once the target was available back and the LUWs are cleared we see that few IDocs were posted successfully but many IDocs were lost and are not traceable now. I have already checked the following areas:

1. I checked in IDX5 for the messageIDs and tried to Track the IDocs in Target system, few IDocs are visible but for remaining the IDoc and Status cell in IDX5 is blank.

2. SM58: No entries present.

3. SMQ1/SMQ2: No entries at XI and at target ECC as well.

4. No relevant entries in table: ARFCSSTATE and ARFCSDATA

5. SXI_MONITOR: The message is successful and chequered flag at Inbound and Outbound.

I am totally unaware what else could be checked to find these lost IDocs, is there any possibility that the IDocs are just lost, but I feel that SAP is not a system which can lose data like this. Please help me to find the missing IDocs.

Thanks & Regards,

Rahul

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Are you sure that no restoration was made in the ECC system? this might explain the missing IDOCs.

Basically - the SM58 is the end point in the XI system for the IDOCs. if they are not there - it mean that they were sent to the ECC. so you need to check your ECC transactions and traces - not the XI.

Former Member
0 Kudos

Hi Imanuel,

Restoration was not done, even I can see some IDocs created at the same time when others were not created.

I totally agree with you that SM58 being the last point for Idoc in XI but if the IDoc is not visible in ECC is there any approach we can take in ECC to find the IDoc.

Is there any FM or tables where we can check the Stuck IDocs in ECC using the XI transaction ID, Serialization Key or Message ID.

I have checked WE02, SMQ2 but no luck.

Also If someone can share the FMs that converts the XML IDOC to IDOC in ECC and some way to find the logs of that FMs using some identification key from XI, this could help me to dig deeper.

Thanks & Regards,

Rahul

Former Member
0 Kudos

Hello again.

You don't get the XML IDOC in ECC.

The XI uses the IDOC adapter to convert and send it in EDI.

when the IDOC arrives in ECC it will create an entry in EDIDS (the IDOC status table) - but in that case you should see it in WE02.

I recommend you to open an OSS to SAP - as a thorough investigation is needed here.

I am sorry I couldn't be of more help.

Good luck,

Imanuel.

P.S. please post the cause of your problem here when you find it.