on 01-09-2020 1:31 PM
Hello,
when we got a communication error with our SMTP relay, a lot of EMail's will get on error (Transaction SOST, message number 816).
We are looking for a way to resend these EMail's (like F7 in SOST) via a job/report every couple of hours so that their status will be changed automatically to "waiting" and they will be send out when the send process will run again and the SMTP relay will be up again.
Thanks
Jens
Please use the below class.
cl_sndrec_bcs=>requeue( it_sndrecs ).
Sample codes are available in actual SOST repeat send option(LSBCS_OUTF4C -> FORM REQUEUE)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jens,
Did you get any solution for this ?
We got the same requirement where the failed mails in sost to resend.
Tried using fm SO_SEND_PROCESS_REQUEUE but mails are not processing.
Program RSSOSOSTSTAT is for sost but we need to resend only failed jobs via batchjob.
Please share if you find out the solution for this.
Thanks,
Deva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi jens.kaireit,
You can create a scheduler and plan this report RSSOSOSTSTAT in backround.
Kr,
OHA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Oussama,
thank you for your answer.
I had a look at the report, but i didn't find a way to take the result of the selection to resend the ones on error.
What we want to do is, to run every day a job which select's all outgoing emails (INT) from the last day which have the Msg. number = 816 and put them again to the send queue (change status=waiting). So that they will be send again when the send job is running.
Kind regars
Jens
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.