SAP & Oracle partner and support companies

Loading

Distribution List in SAP

SAP

Distribution List in SAP

Let’s examine the SAP Distribution List in more detail. We’re going back to nuts and bolts again. We would focus on SAP’s Dispersion Rundown today. In SAP, we can create a breakdown and send a single email to multiple recipients at the same time, much like we can create an email list in Lotus Notes or Standpoint. Although the dispersion list is a well-known tool in SAP, many of our new hires may find it to be an interesting and useful teaching exercise.

As a result, Conveyance Rundown in SAP can be used in the unlikely event that it becomes necessary to email a group about a particular cycle. SAP Distribution List.

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.

Get Latitude and Longitude of any place using Google Map API in SAP

  • 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 definitely wouldn’t have made one show yourself, but you could have included the Circulation Rundown in your activities. The Premise/Administrator groups create this rundown for us in a lot of assignments. If you arrive at your scene, make sure to check. If so, this is a good opportunity to create your most memorable Circulation Rundown and practice.

We would keep posting more crucial SAP-related items in a few articles. They may appear simple, but they are quite beneficial, and young advisors should know that.

YOU MAY LIKE THIS

Future of ABAP on Cloud

Introduction to ABAP in the Cloud

ABAP Applications for the Cloud: Modernizing for the Future

× How can I help you?