Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Idocs with error status

Former Member
0 Likes
1,413

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?

9 REPLIES 9
Read only

SharathYaralkattimath
Contributor
0 Likes
1,355

Have you tried the tcodes WE09, WE05?

Read only

former_member730258
Participant
0 Likes
1,355

Use tcode WE02 passing the date range and Idoc status = 51.

Read only

0 Likes
1,355

Hi,

This logic has to be implemented within a program. I was looking at a table level query or any function modules

Read only

0 Likes
1,355

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

Read only

0 Likes
1,355

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

Read only

0 Likes
1,355

Hi Joveee,

Thanks for the reply.

   Do Status '51' will help us to identify  all error  IDocs? I have identified the table EDIDS.

Read only

0 Likes
1,355

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

Read only

0 Likes
1,355

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.

Read only

nagarjun_kalletla
Participant
0 Likes
1,355

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