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

IDOC errors

Former Member
0 Likes
2,588

Hi All,

I post IDOCs and afterthat I get some errors in status 51. My requirement is to get all the errors in a report. Is there any transaction to get all the errors at one place.

Please help.

Regards,

Jeetu

8 REPLIES 8
Read only

Former Member
0 Likes
967

Hi,

If you know the IDoc number, you can use FM IDOC_GET_MESSAGE_ATTRIBUTE to get the error message.

Otherwise, you can go to transaction WE02/WE05 and BD87 to find the error.

Read only

Former Member
0 Likes
967

hello jeetu,

i think u can check the status of the ur idoc numbers by this tcode WE09.

just check this tcode. its helps u.

Read only

piyush_mathur
Active Participant
0 Likes
967

Hi Jeetu,

You can access the table EDIDS to retreived all the idocs with error code.

Piyush

Reward Points, if helpfull

Read only

Former Member
0 Likes
967

Hi All,

Thanks all of u for your reply. But I requirement is bit different.

In WE02/WE05 I can go find all the errors. But what I want is just give the Idoc numbers of message type and date , It will give all the error status of 51 in single report.

Regards,

Jeetu

Read only

0 Likes
967

Hi,

Goto EDIDS Table and u can get the idocs with errors,all the idoc with status will be stored in this table only

write like this

select docnum into table itab from edidc

where mestyp = <give the message type>

and credat = <give the date>.

if not itab[] is initial.

select docnum from edids into table itab1

for all entries in itab

where docnum = itab-docnum

and status = '51'.

endif.

now itab1 will have all the error idocs ......

Regards,

Nagaraj

Read only

0 Likes
967

Hi,

It is one of the solutions. Actually I wanted to avoid any coding and wanted is there any SAP provided report or something which can more or less solve my problem.

Regards,

Jeetu

Read only

Former Member
0 Likes
967

Hi All,

Is there any SAP provided report or transaction which will give me all the status like 51 for an IDOC.

Regards,

Jeetu

Read only

Former Member
0 Likes
967

hi Jeetu are you able to solve the problem. I am working on a similar issue so i think you can guide me better in this issue.