Application Development 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: 

Getting a summary of all errors in an idoc

Former Member
0 Kudos

Hello all,

Today we have workflow being triggered when a financial idoc fails. This workflow then creates a BDC session where our client areas can go an resolve the error. However, when you process the SM35 you have to step through all of the errors one by one until completetion.

What we would like to do is find a way to capture (for notification purposes) all of the errors that the idoc has at one time. We would then use this collected data to let the clients know what ALL of the errors are before they go to SM35. this would help with any research that they have to do.

Do you know of any way to capture all of the errors in an idoc as opposed to only the first one you would see in the errors tab?

many thanks

-Jeff Paolone

1 ACCEPTED SOLUTION

former_member194669
Active Contributor
0 Kudos

Hi,

May be you can check for table EDIDS giving docnum and STATYP eq "E". will give you all IDoc error message and pass the Error message into fm MESSAGE_PREPARE. will give you the Error message in an IDoc,

aRs

3 REPLIES 3

Former Member
0 Kudos

Hello,

Go to WE02 and display the list of IDOCs.

Double click on a specifi IDOC and you can see the error records on the left hand side.

Regards,

Vasanth

Note - Please mark all the helpful answers

0 Kudos

Thank you,

But this only gives you the first error as it is processed correct?.

I would like so see ALL of the errors that this particular IDOC has.

former_member194669
Active Contributor
0 Kudos

Hi,

May be you can check for table EDIDS giving docnum and STATYP eq "E". will give you all IDoc error message and pass the Error message into fm MESSAGE_PREPARE. will give you the Error message in an IDoc,

aRs