09-21-2010 11:01 AM
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
09-21-2010 12:24 PM
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
09-21-2010 12:34 PM
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
09-21-2010 1:27 PM
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
09-21-2010 3:25 PM
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