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: 

ABAP program for changing the status of IDOC from 51 to 64 for a specific error message

PRAGSMATIC
Participant
0 Kudos

How can I write a program to check for all failed IDOCs which failed with a specific error message and change the status of them to 64 ?

5 REPLIES 5

srikanthnalluri
Active Participant
0 Kudos

You can check the status in EDIDS table using the message class and message number. But why do you want to change the status when it is failed.

0 Kudos

When an inbound IDOC failed with a specific error message lets say " XYZ ", I need to set those IDOCs to status 64.

0 Kudos

This link may help you.

Mohamed_Mukhtar
Active Contributor
0 Kudos

Hi Anurag,

The program RBDMANI2 can be used to reprocess the idocs which are in 51 status with specific message class and message number.

There is no need to create a custom program. Hope it helps

Regards,

Mukhtar

isuru_fernando24
Explorer
0 Kudos

Hi Nalluri,

To change the status of a iDoc to 64, use the program RC1_IDOC_SET_STATUS. You can re-process the error iDocs using program RBDMANI2 . To find iDocs with a specific error code, use data in standard table EDIDS.

Cheers!

Isuru