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

Emails not sent through batch jobs while using SO_NEW_DOCUMENT_SEND_API1

Former Member
0 Likes
2,328

Dear all,

I use the above FM to send emails. We have two reports, first - used to upload the users into the system, second - used to check if the first report is success or not. If the first report is failed, the second report will send email to the person who scheduled the job.

So I developed a report to send the email - it is running fine when I execute in foreground and I am receiving the emails. But when I schedule this job in SM36, i am not recieving any emails.

Please let me know if any any specific configuration needs to be done to the FM SO_NEW_DOCUMENT_SEND_API1, so that I can get the emails if I schedule the jobs via SM36.

Thanks in advance.

Vijay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,289

Hi Vijay,

Please check if your mail item is found in SOST (after the background program completes).

Normally after mails are generated by the function, they sit in queue (visible in SOST) and can either be manually "pushed out" or are automatically pushed out via scheduled job for program RSCONN01.

Regards,

Aditya

Dear all,

I use the above FM to send emails. We have two reports, first - used to upload the users into the system, second - used to check if the first report is success or not. If the first report is failed, the second report will send email to the person who scheduled the job.

So I developed a report to send the email - it is running fine when I execute in foreground and I am receiving the emails. But when I schedule this job in SM36, i am not recieving any emails.

Please let me know if any any specific configuration needs to be done to the FM SO_NEW_DOCUMENT_SEND_API1, so that I can get the emails if I schedule the jobs via SM36.

Thanks in advance.

Vijay

3 REPLIES 3
Read only

Former Member
0 Likes
1,290

Hi Vijay,

Please check if your mail item is found in SOST (after the background program completes).

Normally after mails are generated by the function, they sit in queue (visible in SOST) and can either be manually "pushed out" or are automatically pushed out via scheduled job for program RSCONN01.

Regards,

Aditya

Read only

Former Member
0 Likes
1,289

Hi,

Execute SCOT tcode  your mails may be in waiting status there.

you have to schedule RSCONN01 program for every 10 or 5 min in back ground to resolve the issue.

Read only

Former Member
0 Likes
1,289

Hi All,

Thanks for your reply..But still after calling the report RSCONN01, I am not getting any mails if I schedule the report in SM36.

But if I execute it as a normal report, i am receiving the mails successfully.

Please let me know if any configurations are to be done for sending mails through background mode.

Regards,

Vijay