Application Development 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: 

Outgoing emails in SOST to be deleted

Former Member
0 Kudos

Hi There!

I've a requirement to delete few mails before RSCONN01 is triggered in production to send all the mails lying in SOST queue.

I'm planning to have a wrapper program which will delete the required emails from SOST list and then submit a job for RSCONN01.

Can you help with some idea on how to delete these emails from the outgoing mail list?

Thanks in advance!

G@urav

4 REPLIES 4

Former Member
0 Kudos

Hi,

Any reason you can't use the Delete (trashcan) button in SOST to delete the unwanted mails? Or is your problem one of selection?

Regards, Andy

0 Kudos

I don't want to do that manually in foreground.

I'm looking for some FM to be very specific that can help to delete these entries. By now I've figured out that SOOD is the table from which SOST list is getting populated.

G@urav

0 Kudos

Hi Gaurav,

Call program RSSO_DELETE_PRIVATE in your program along with selection screen values viz. date, user etc.

This should be called after send mail FM,

It should be something like :-

CALL FUNCTION Send..mails..

  WAIT UP TO 1 SECONDS.
  SUBMIT rsconn01 WITH mode = 'INT'
                WITH output = 'X'
                AND RETURN.

SUBMIT RSSO_DELETE.. using selection

Thanks,

Best regards,

Prashant

0 Kudos

Thanks Prashant!

This looks like a good alternative.

But still I feel , if we can delete an entry from SOST using 'Delete' button, there should be some way of acheiving it via some FM/program.

Thanks again!

G@urav