06-05-2017 3:54 AM
Hi Team,
I know the process of sending mails to N no of DL List of only one DL name .
https://wiki.scn.sap.com/wiki/display/Snippets/How+to+send+mail+to+a+distribution+list+or+a+group+ID
Can i know , how to send more than one DL List in a single stretch via code level .
I dont want to use loop and send the content to the DL List , which takes more time for the execution .
Scenario :
I have more than one DL List in my scenario where i need to send the content in a single stretch .
Regards.
Karthik S
06-05-2017 10:51 AM
"I dont want to use loop and send the content to the DL List , which takes more time for the execution ."
Executing a loop uses a very, very, very small amount of time on compared to the time it takes to generate and send the emails. I really wouldn't worry about that.
06-05-2017 12:44 PM
Calling ADD_RECIPIENT several times, once per distribution list, doesn't fit your requirement?
CALL METHOD send_request->add_recipient
EXPORTING
i_recipient = recipient
i_express = ca_x.