‎2011 Apr 26 8:52 AM
Hi Experts,
I have a requirement to write program to send fail mails from SOST Tcode.
For that i am planning to write Recording Program (still not clear if it will work, as the where data in SOST is maintained)
However, send me some snipets which can help to achieve this goal.
Any suggestion will be welcome!
‎2011 Apr 26 2:19 PM
A recording is unlikely to work for that. If you're resending bounced emails, you'd be better off reading the emails with a failed status from SOES then embedding the 'copy and re-send' functionality from SOST into your own application. It's probably easier to process the SOST queue directly or to fix the address at the source master record and re-send the object from output control.
‎2011 Apr 26 2:19 PM
A recording is unlikely to work for that. If you're resending bounced emails, you'd be better off reading the emails with a failed status from SOES then embedding the 'copy and re-send' functionality from SOST into your own application. It's probably easier to process the SOST queue directly or to fix the address at the source master record and re-send the object from output control.
‎2011 May 09 7:03 AM
Hi,
Find the solution what i opted. Recording will not work as the failed messages in SOST can't be recorded.
I have find the solution by using FM 'SX_SNDREC_SELECT' and got the Error once.
Using 'perform requeue using lt_resend changing counter'
from standard send the error mails into the Queue.
This solution will be helpful.