2012 Sep 24 7:05 AM
Hello Experts,
I had done a Development in Past wherein I have to send Automatic Mail to user on creation of Sales Order.
So for this I had used Function Module "SO_NEW_DOCUMENT_ATT_SEND_API1".
Now my new requirement is that I have send this Automatic Mail to multiple users at same time,
My few try were in vain and EMAIL is only deliverable to Single User.
So please help me with this So that i can find way out of this?
Regards,
Atul
Moderator message : Not enough re-search before posting, discussion locked
Message was edited by: Vinod Kumar
2012 Sep 24 7:15 AM
Hi,
If U want to send multiple user then try with append statement ,
Append all your receiver id to receivers table
Example:
clear it_receive.
it_receive-rcv = 'EMAIL ID1'.
it_receive-rec_type = 'U'.
Append it_receive.
clear it_receive.
it_receive-rcv = 'EMAIL ID2'.
it_receive-rec_type = 'U'.
Append it_receive.
like this.
Thanks
Gourav.
2012 Sep 24 7:22 AM
2012 Sep 24 7:35 AM
Hi,
Check how to get the receiver data.
Pass the details to RECEIVERS table .
Receiver type will be 'U' for sending through internet, To get other types check the value range for SO_ESCAPE.
Append to table receiver and pass the table for function module.
DATA : receiver TYPE STANDARD TABLE OF SOMLRECI1.
receiver-receiver = <email>.
receiver-rec_type = 'U'.
APPEND receiver.
Regards,
Vinod