Skip to Content
avatar image
Former Member

How to send Mails to 'N' no of DL list in SAP ABAP

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 05, 2017 at 09: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.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 05, 2017 at 11:44 AM

    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.
    Add comment
    10|10000 characters needed characters exceeded