‎2011 Aug 01 9:50 AM
Hi Experts,
I have created a emailing z-program. Running that Z program mail will get fired to the external id (Internet). But I am facing a problem. When the program get executed the mail is getting stored in tcode SOST with message no 672. It is not getting released automatically from SOST although SAPCONNECT is running. Is there any problem in my program or is it a problem from BASIS part?
Regrads,
SURYA
‎2011 Aug 01 10:29 AM
Hi,
basis people might have blocked it or you have to add the email or domain in scot transaction ,better is ask basis peolpe
regards
m.a
‎2011 Aug 01 10:33 AM
Hi,
This might be due to a too long period set in SAPConnect node. It is settable in SCOT transaction - jobs administration: Start condition -> Period values.
Thanks
‎2011 Aug 01 10:39 AM
Msg 672 is no error, just I feel job is not running well or might be scheduled for a greater interval than you are checking.
Just select your mail in SOST, and press the button (CTRLSHIFTF7) ie. Start send process for selection....
If the email is sent successfully, then nothing wrong, just tell basis team to activate the automatic sending job.
BR,
Diwakar
‎2011 Aug 01 10:48 AM
Hi Diwakar Aggarwal ,
Thanks for your reply.
In SOST, pressing (CTRLSHIFTF7) the email is sent successfully and i have received the mail in my personal email id. So there is no error from abap side?
Regards,
SURYA
‎2011 Aug 01 10:56 AM
Yes,
So you just need to check with basis that is job sending mails is running in your system, sometimes these jobs are not Run by basis in dev servers.
Parallelly, you can yourself check as mentioned in this thread already...SCOT transaction - jobs administration: Start condition -> Period values and see if the values are ok for you.
BR,
Diwakar
‎2011 Aug 01 10:44 AM
Hi,
Tell Basis person to Schedule RSCONN01 Program with Variant (SAP&CONNECTALL or SEND ALL) in SM37 frequently(As per your requirement).
It will push your email request in SOST.
‎2011 Aug 01 1:25 PM
Hi Sryabasu,
you may use CL_BCS method SET_IMMEDIATE and forget about mail troubles for ever.
* set send immediately flag
lo_bcs->set_send_immediately( 'X' ).Start here: [Unknown thus unloved?|http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3443] [original link is broken] [original link is broken] [original link is broken];
Regards
Clemens