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

Problem in emailing

suryasarathi_basu
Participant
0 Likes
933

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

7 REPLIES 7
Read only

Former Member
0 Likes
861

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

Read only

Former Member
0 Likes
861

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

Read only

Former Member
0 Likes
861

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

Read only

0 Likes
861

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

Read only

0 Likes
861

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

Read only

Former Member
0 Likes
861

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.

Read only

Clemenss
Active Contributor
0 Likes
861

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