‎2007 Dec 06 8:38 PM
Hi,
I am looking for sample program code if IDoc's failed.
This is my requirement.
I need to run a job(run a program in background) to fetch all IDoc failed (errored) for a selection input message class. and send a mail to some specific users.
If anybody having code please send me.
Thanks
Sa_R
‎2007 Dec 06 8:48 PM
Hi,
I don't have anything handy rightnow, but one way of doing it is
all the IDOC's will be stroed in EDIDS table, so develop a program and schedule as background job, which will check this table with date and time parameter and check for the status, If you find any status 51 for the time you have given, then use standard FMs to send email to the user.
I hope this will work.
Pavan