cancel
Showing results for 
Search instead for 
Did you mean: 

Send mail to more than one employee

LG1
Explorer
0 Kudos

I call a method in my web dynpro program to send mails to employees.

I send mails to more than one employee.

In my internal table is for example 4 employees.

In the internal table I called the method cl_hrrcf_services_mail=>send_web_mail.

After I execute the method, I can see the mails of the employees on transaction

SOST.

If I run the method for the same 4 employees, SOST display only 2 or 3 of

the employees mails. If I run the method again, I can see all 4 mails on SOST.

Sometimes I can see all the mails and sometimes it is only for 2 or 3 of the

employees. I use the same employees.

Please tell me why I do'nt see 4 mails everytime I execute the method.

Thanks

Liana

Accepted Solutions (0)

Answers (1)

Answers (1)

shahid
Product and Topic Expert
Product and Topic Expert
0 Kudos

Have you tried with commit work and wait statement after the SEND method?