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

using so_object_send twice in the same report

Former Member
0 Likes
426

Hello All,

I have a requirement in which i need to send a mail with a certain text to a receiver1. Then in the same report i need to send another text to another receiver2.

I am calling the function module so_object_send twice to do this.But only one mail is sent with both the receivers in the same mail.But the requirement is that two seperate mails should go to two different receivers.What can be the problem?

Kindly help,Points will be rewarded graciously..

Regards,

Anuj.

Hello All,

I have a requirement in which i need to send a mail with a certain text to a receiver1. Then in the same report i need to send another text to another receiver2.

I am calling the function module so_object_send twice to do this.But only one mail is sent with both the receivers in the same mail.But the requirement is that two seperate mails should go to two different receivers.What can be the problem?

Kindly help,Points will be rewarded graciously..

Regards,

Anuj.

2 REPLIES 2
Read only

Former Member
0 Likes
400

Hi,

I hope you are clearing the work areas & Internal table after the 1st FM SO_OBJECT_SEND is called.

Flow should be as follows:

1) Populate 1st receiver & Email details

2) Call FM "SO_OBJECT_SEND"

3) Clear Work area & Refresh Internal tables

3) Populate 2nd receive & Email details

3) Call FM "SO_OBJECT_SEND".

Best regards,

Prashant

Best regards,

Prashant

Read only

0 Likes
400

Hi prashant,

yes i have done the same but it is of no help.