2014 Jul 01 9:40 AM
Hi Everyone,
How to find all idocs with error status for a given date range?
Hi Everyone,
How to find all idocs with error status for a given date range?
2014 Jul 01 9:53 AM
2014 Jul 01 10:24 AM
2014 Jul 01 10:40 AM
Hi,
This logic has to be implemented within a program. I was looking at a table level query or any function modules
2014 Jul 01 10:50 AM
Hi,
I think you can write a select query to get the error idocs from the status records table "EDIDS" in where
condition provide the error status code range.
Thanks,
Mallikarjuna
2014 Jul 01 10:57 AM
Hi,
Please refer EDIDS for Status and EDIDC for control records.
Also refer the below wiki page for details.
http://wiki.scn.sap.com/wiki/display/ABAPConn/IDoc+Overview
Thanks,
Karthik
2014 Jul 01 10:58 AM
Hi Joveee,
Thanks for the reply.
Do Status '51' will help us to identify all error IDocs? I have identified the table EDIDS.
2014 Jul 01 11:09 AM
Hi Kiran,
in Table EDIDS there is a field STATYP, if it is E then you can find all the IDOC's with errors.
Thanks,
Sharath
2014 Jul 01 11:23 AM
You may check at the table to be sure though I believe it's the usual error for the Idoc that was not posted. Usually 1 Idoc may have multiple status records but the final status would either be 53 (posted) or 51 (not posted) for inbound, and 30 (ready) or 31 (error) for outbound.
2014 Jul 04 9:43 AM
EDIDS is the table with Idoc Status records. If your message is 51 - inbound you can consider it as error and for out bound 02 will be the error status.
Write a select query on table EDIDS where creation date in s_date and mstyp 51 or 02
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |