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: 

IDoc Status Messages

Former Member
0 Kudos
1,236

Hi All, Is there any Function Module or standard report which will list out all the Status messages of an IDoc...Basically i need to capture all the segments which are in error state... In EDIDS table i am not able to link to a particular segment.

Please help me out

Thank You,

Regards,

Swaroop Patri...

7 REPLIES 7

Former Member
0 Kudos
296

HI,

<b>ALE/IDOC Status Codes/Messages</b>----


01 Error --> Idoc Added

30 Error --> Idoc ready for dispatch(ALE Service)

then goto SE38 --> Execute the Program RBDMIDOC

29 Error --> ALE Service Layer

then goto SE38 --> Execute the Program RSEOUT00

03 Error --> Data Passed to Port ok

then goto SE38 --> Execute the Program RBDMOIND

12 Error --> Dispatch ok

<b>Inbound Status Codes</b>

50 Error --> It will go for ALE Service Layer

56 Error --> Idoc with Errors added

51 Error --> Application Document not posted

65 Error --> Error in ALE Service Layer

Regards

Sudheer

Former Member
0 Kudos
296

Hello,

To check the status msgs of an IDOc use the Tcodes :

1)WE02

2) WE05

3) WE07(Idoc Statistic)

Click F6, this will give EDI error History, this will use for overall statistic.

4) If you want to process error idoc run program RBDINPUT.

Regards,

Deepu.K

0 Kudos
296

Thank you Deepu for your reply

Actually i am looking for a FM which will display me all the error status messages with respective segments...

let me know if this can be done thru other way...

Regards,

Swaroop

former_member194669
Active Contributor
0 Kudos
296

Hi,

May be try with fm IDOC_READ_COMPLETELY

aRs

0 Kudos
296

Hi, I think IDOC_READ_COMPLETLY will display all the status records from EDIDS. Which is also not displaying the segments in EDIDS structure...

I need to know that error belongs to which Segment...

Let me know if there is any other way or if i am missing some thing...

Regards,

Swaroop

Former Member
0 Kudos
296

Hi,

I think you can try with the FM's :

IDOC_STATUS_WRITE_TO_DATABASE and

IDOC_STATUS_WRITE_TO_DATABASE.

Moreover you can read the status from EDIDS table and you can link the segment number with the status.

Hope it was useful.

Thanks,

Sandeep.

ferry_lianto
Active Contributor
0 Kudos
296

Hi,

Please try this FM IDOC_GET_MESSAGE_ATTRIBUTE.

Regards,

Ferry Lianto