Distribution List in SAP

How to send EMAIL in SAP

Let’s go deep into Distribution List in SAP. Once more we are returning to nuts and bolts. Today we would zero in on the Dispersion Rundown in SAP. Very much like we can make an email list in Lotus notes or Standpoint, comparably we can make a rundown in SAP and send one email to various beneficiaries all the while. Dispersion list is a well established device in SAP, yet a large number of our fresher could see this as instructional exercise helpful and fascinating.

ABAP on SAP HANA. Part VI. New Age Open SQL ABAP 740

As such, on the off chance that there is a venture necessity to tell a gathering about a specific cycle through email then one can utilize Conveyance Rundown in SAP.

Dissemination list are like SMTP and lessens programming work by and large for informing gathering.

Steps for creation of Distribution List (DL):

  • Tcode for Distribution list is SO23.
  • Click on create button and create your own folder in DL and specify the details as showed.
  • One can set below properties like retention properties etc.
  • When the envelope is made and individual properties are added according to above preview add the particular email id to whom mail ought to be sent and you are finished making DL.

Different ways to use DL:

Not many of the numerous manners by which the Conveyance Rundown can be utilized is referenced underneath:

  1. One can go to SBWP tcode and select the folder which you have created as part of Distribution List and click on create new document.

Make your message as displayed underneath and tap on send.

Click on send and choose the Appropriation list made by you and tap on send , your mail is sent.

2. Create a custom program which can be used to send email according to your Distribution List.

*&---------------------------------------------------------------------*
*& Report ZYASH_DL
*&---------------------------------------------------------------------*
*& Demo program to send email to Distribution List
*&---------------------------------------------------------------------*
 REPORT zyash_dl.
 "Create a ref of type CL_BCS
 DATA : obj_mail  TYPE REF TO cl_bcs,
        obj_send  TYPE REF TO if_recipient_bcs,
        l_output  TYPE boolean,
        mail_body TYPE bcsy_text.
  TRY.
     obj_mail = cl_bcs=>create_persistent( ).
   CATCH cx_send_req_bcs .
 ENDTRY.
 ** ONE CAN TAKE THE DL AUTOMATICALLY BY PASSING IT THROUGH SELECTION SCREEN AS INPUT PARAMETER
 TRY.
     obj_send ?=  cl_distributionlist_bcs=>getu_persistent( i_dliname = 'ZYASH'
                                                             i_private = ' ' ).
   CATCH cx_address_bcs .
 ENDTRY.
 TRY.
     obj_mail->add_recipient( i_recipient  = obj_send ).
   CATCH cx_send_req_bcs .
 ENDTRY.
 
 "Lets create the message 
 APPEND 'Hi , Please comment if you found this article useful' TO mail_body.
 TRY.
     DATA(l_doc) =   cl_document_bcs=>create_document( i_type        = 'RAW'
                                                    i_subject     = 'Welcome Yash To DL'
                                                    i_sensitivity = 'P'
                                                    i_text        = mail_body ).
   CATCH cx_document_bcs .
 ENDTRY.
 
 TRY.
     obj_mail->set_document( i_document = l_doc ).
   CATCH cx_send_req_bcs .
 ENDTRY.
 TRY.
     CALL METHOD obj_mail->send
       EXPORTING
         i_with_error_screen = space
       RECEIVING
         result              = l_output.
   CATCH cx_send_req_bcs .
 ENDTRY.

You could have involved the Circulation Rundown in your activities yet you probably won’t have made one show yourself. In many tasks, the Premise/Administrator groups make this rundown for us. Check in the event that you approach make it in your scene. In the event that indeed, this is a decent chance to make your most memorable Circulation Rundown and practice.

In couple of articles we would continue to post more essential stuffs utilized in SAP. They could look straightforward, yet they are extremely helpful and youthful advisors need to be aware of it.

YOU MAY LIKE THIS

Future of ABAP on Cloud

Introduction to ABAP in the Cloud

ABAP Applications for the Cloud: Modernizing for the Future

  • Related Posts

    AI-Code Creates More Testing Work: Adapting to Increased Demand |

    Learn about the impact of AI-generated code on QA teams and strategies for adapting to increased testing demands. | Bright-Minds Training Institute, Pune

    Bridging the Gap: How Automation Addresses Understaffing in QA Teams |

    Learn how automation is helping to address the understaffing crisis in quality assurance teams, improving efficiency and enhancing software products. Discover best practices for implementing automation and explore the future of QA automation at Bright-Minds.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You Missed

    AI-Code Creates More Testing Work: Adapting to Increased Demand |

    • By Varad
    • October 24, 2026
    • 3 views
    AI-Code Creates More Testing Work: Adapting to Increased Demand |

    Bridging the Gap: How Automation Addresses Understaffing in QA Teams |

    • By Varad
    • October 23, 2026
    • 9 views
    Bridging the Gap: How Automation Addresses Understaffing in QA Teams |

    Selenium BiDi: A Game Changer for Browser Automation |

    • By Varad
    • October 22, 2026
    • 14 views
    Selenium BiDi: A Game Changer for Browser Automation |

    Catch Regressions First: The Power of Continuous Performance Baselines

    • By Varad
    • October 21, 2026
    • 25 views
    Catch Regressions First: The Power of Continuous Performance Baselines

    uman Oversight in AI Testing

    • By Varad
    • October 19, 2026
    • 18 views
    uman Oversight in AI Testing

    Harnessing Observability for Automated Regression Tests

    • By Varad
    • October 18, 2026
    • 27 views
    Harnessing Observability for Automated Regression Tests