‎2008 Jun 03 2:53 PM
Hello All,
I need to set up a batch job and this would run daily. I can do this in SM36 and have done it.
But the question is I have couple of email ID's from the company I am working in and some email ID's for a different company.
The concern is when the JOB runs everyone has to receive a mail.
Please suggest.
Thanks.
Shreekant
‎2008 Jun 03 2:54 PM
Could you just create a custom program that sends the requisite email to a table of email adresses and add that as a final step to the background job? You could then use a custom table to control which email addresses are sent to.
Gareth.
‎2008 Jun 03 2:54 PM
Could you just create a custom program that sends the requisite email to a table of email adresses and add that as a final step to the background job? You could then use a custom table to control which email addresses are sent to.
Gareth.
‎2008 Jun 03 2:57 PM
Thanks Gareth.
I dont want to do any custom development. I am intrested in creating a distribution list and use it in SM36.
Please suggest..
Ster
‎2008 Jun 03 2:59 PM
‎2008 Jun 03 3:12 PM
HI
In Tcode-SBWP you can create a distribution list with both internal and external mail ids
Regards
‎2008 Jun 03 3:21 PM
May be creating events will help on this.
Please check this link.
http://searchsap.techtarget.com/general/0,295582,sid21_gci1156900,00.html
a®
‎2008 Jun 03 3:23 PM
Thanks All,
I have created the distribution list in SBWP and have used the same in SM36.
However I guess there is a program that needs to run to send all the emails.
ANy idea of what that program is.
Ster
‎2008 Jun 03 3:27 PM
Hi,
I'm not 100% sure but it's likely to be a basis setting against the SMTP config of your system. If you run the job and let the emails get sent you should be able to see them in transaction SCOT waiting to be sent - yuo can manually force a send from that transaction but I'm sure there is a setting on the system somewhere that controls how often the mails should go out.
Gareth.
‎2008 Jun 03 3:30 PM
Check this
SUBMIT rsconn01 USING SELECTION-SET 'INT' AND RETURN.
a®