on 2013 Apr 22 10:17 AM
Hello Experts,
I am sending the notification email in CRM using cl_bcs class and this mail should be send to "TO" and "CC" of this i am using add_recipient method of cl_bcs.
* Add TO recipient with its respective attributes to send request
l_recipient = cl_cam_address_bcs=>create_internet_address( l_addr-e_mail ).
CALL METHOD l_send_request->add_recipient
EXPORTING
i_recipient = l_recipient
i_express = abap_true.
* Add CC recipient with its respective attributes to send request
l_recipient = cl_cam_address_bcs=>create_internet_address( l_addr-e_mail ).
CALL METHOD l_send_request->add_recipient
EXPORTING
i_recipient = l_recipient
i_copy = abap_true.
Now when the "TO" and "CC" email id are different then it work fine. But issues comes when "TO" and "CC" email are same then it sends the email only to "TO". In SOST also i can see only one entry. I think it somewhere check if TO and CC emails are same then it delete the entry OR is there any attribute i need to set so that mail can be send for this scenario.
Hello Hemant,
If you test with the BCS example program BCS_EXAMPLE_4, you can see that
duplicate recipient will be removed.
This is a standard behavior.
Thanks & Regards,
Rajesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.