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

Mailing Program?

Former Member
0 Likes
262

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

1 REPLY 1
Read only

Former Member
0 Likes
245

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