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

SOST Email Issue

Former Member
0 Likes
2,486

I am using CL_BCS to send email with excel attachment. ( which contains contracts).

If I run my program with small range of contracts ( 50 records in Excel) I am able to see email in SOST with status waiting. However if my number of large range of contracts ( For e.g. 2000).  I see the email in SOST with status 'Dispatch Time Not yet reached' and emails are not sent to customers.. I see long text as

Definition

A message was sent from the application. The application told the send interface that the message must not be sent before a specified time.

Use

The message is not currently recorded by the send process. Only when the send time specified by the application has been reached, will the send process send the message.

Can someone provide me pointers what system settings should be checking..

Thanks.

I am using CL_BCS to send email with excel attachment. ( which contains contracts).

If I run my program with small range of contracts ( 50 records in Excel) I am able to see email in SOST with status waiting. However if my number of large range of contracts ( For e.g. 2000).  I see the email in SOST with status 'Dispatch Time Not yet reached' and emails are not sent to customers.. I see long text as

Definition

A message was sent from the application. The application told the send interface that the message must not be sent before a specified time.

Use

The message is not currently recorded by the send process. Only when the send time specified by the application has been reached, will the send process send the message.

Can someone provide me pointers what system settings should be checking..

Thanks.

7 REPLIES 7
Read only

former_member213851
Active Contributor
0 Likes
1,933

Hi,

Please check your settings in TCODE scot.

Read only

0 Likes
1,933

What settings should i check there?

Read only

Former Member
0 Likes
1,933

Hi,

Check the time which is set to run the job which sends out email.

You can search on SDN for the above issue for example:

http://scn.sap.com/thread/1588970

Read only

Former Member
0 Likes
1,933

Sounds like there is a setting that expects a send time when the request is over a certain size?  Did you use SET_SEND_IMMEDIATELY method of CL_BCS?

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
1,933

If the same code and emails settings are used to send the emails, I'd check with Basis on this.

Read only

VijayCR
Active Contributor
0 Likes
1,933

HI ,

Its Will be present in your inbox .Its because mails are getting stuck.Did u write a submit statement on the RSSOSRT programs?

Read only

Former Member
0 Likes
1,933

Hi,

     It's an issue regarding the settitngs in SCOT transaction. Generaly, in development environment it is not set correctly. You can check with BASIS. In the mean time try to manualy reprocess the message in SOST by selecting the mail and executing it.

Thanks & Regrads,

Samir