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

Recording Program for SOST Tcode

former_member361845
Participant
0 Likes
600

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!

1 ACCEPTED SOLUTION
Read only

brad_bohn
Active Contributor
0 Likes
538

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.

2 REPLIES 2
Read only

brad_bohn
Active Contributor
0 Likes
539

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.

Read only

0 Likes
538

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.