Cl_bcs with Distribution List

Hello everyone,
We have used cl_bcs to create a mail program. Our customers want to use this program to send mails to distribution lists exist in SAP system. Is there any method/way to do this inside cl_bcs?
Thank you.
PS : I have checked create_rml_adress but couldn't figure out whether it does what I need or not.

In your program, you could retrieve the SAP distribution list with ABAP Code, loop through it and add the addresses to your recipient list for BCS program.  However, wouldn't it be simpler to maintain these in your email system, and send the email to specific lists in mail system?   To utilize this, you need to supply only one email address to BCS, the recipient being the distribution list in the email system.   I've tried both ways and the email list works better, IMHO, since someone doesn't have to maintain SAP list to change recipients.

Similar Messages

  • DISTRIBUTION LIST WITH EXTERNAL EMAIL SEND FROM OUTSIDE

    Hello to all,
    I'm new in the foruum.
    i have the following problem with Distribution Lists.
    I have create one Distribution List which include email address from our company and external email address.
    When i send from inside all works fine.
    But when i send from outside the email received from inside users(email addresses of my domain) but never received from outside email addresses.
    How can resolve this issue?
    Pls help

    Read carefully my question.
    i have change this setting when create the group.But my problem isn't that users from outside can't send to distribution list. The problem is that in my distribution list i have email addresses from my company (@domain.com) and external email addresses (@gmail.com,@yahoo.com).
    When a user from inside send to the Distribution List all works fine. When a user from outside send to the Distribution List, users from my company(@domain.com) which include in the Distribution List receive the email but user with external email addresses(@gmail.com,@yahoo.com)
    didn't receive the email.

  • How to create distribution list in workflow? for  sending mail or work-item

    Hi,
    How to create distribution list in workflow? for  sending mail or work-item to multiple users.
    Regards,
    Surjith

    Hi Surjith,
    A.Working with Distribution Lists Creating a Distribution List.
    1 Businees Workplace->shared folder - create new subfolder name = WF_distributor
    2.Then click on the distribution list in Businees Workplace.
    say create Name = WF_Vliste
    folder Name = WF_distributor
    3.distribution list content tab
    Enter Recipient (SAP User ID)
    B.Wrkflow Builder
    Find out the dialig step in which u want to use distribution list
    Use workflow Rule 30000012 (SWX_READ_DLI).
    Maintain the binding from workflow container to rule container.
    Just pass the name of the distribution list from WF to Rule container.
    Regards
    Sagar S

  • Updating distribution list

    how to maintain a distribution list with additional email addresses? any tcode or program for that
    regards
    cs

    Hello everyone!
    maybe you help me about a issue with distribution lists.
    I create a distribution lists with several e-mail addresses. The list is added  in a Job (SM36). When first run, the result send to addresses but a second run, not success the send.
    What is the mistake?
    thanks in advance for your help.
    Regards.
    Juan Jo.

  • Is there an easy way of creating a distribution list from an email with multiple addresses? Those addresses are not in your contacts already, and don't need to be.

    I want to be able to take all the email addresses someone else has used to distribute an email and create the same distribution list for myself for future use.  I don't want to add all those people to anywhere in my contacts list.  I just want them to be in my "new distribution list", like "soccer families", etc.  I tried to copy and paste, but didn't get anywhere. Maybe I was close, or maybe it isn't possible.  Thoughts?

    Ed on iPad wrote:
    I don't want them in contacts because they are simply a related group (like my sons current soccer team).  People I may never need to email again after a sports season.  I don't want to have to have these people in my contacts permanently. 
    You don't. When the season is over, delete them.
    But, the text clipping should work.
    The next IOS should have a feature "create mailing list from distribution list".  A fast and simple way to retain a distribution list from an email you received.  People get copied all the time using distribution lists they may want to reuse easily, like school, sports or work groups.  Oh well.
    How is that any different from adding them to Contacts? Here's the feedback page: http://www.apple.com/feedback/
    There is a set of Mail Scripts that has a function to Add Addresses from an email to any group. But, it doesn't work with Mountain Lion.

  • How do I set up a distribution list with multiple email addresses?

    I can't figure out how to do this - I am a .mac member and really have no idea how to use the desktop mail function but I am assuming that I need to set up the distribution list in mail since I can't find anywhere to do it on .mac.
    I am really sorry for this lame question - is it a problem with my ISP (sbc) or is it my operating system - 10.3.9?

    Welcome to the discussions, CassC.
    You may need to re-post in the pre-Tiger mail forum.
    But what I THINK you need to do is use your Address Book, and make a group. Add to the group (by selecting, dragging and dropping) the contacts you need in the distribution list. Now in Mail use the name of the group in the To: or Cc: or Bcc: field to send them all mail.
    AK

  • Need to send an attachment with the mail to the distribution list

    Hi all,
    How do I send an <b>attachment</b> with the e-mail to a distribution list?
    I am using the FMs <b>SO_DLI_EXPAND</b> and <b>SO_OBJECT_SEND</b> to expand the distribution list and send mail to the distribution list respectively.I am getting the contents of the file in the email that is being sent. The file is being extracted from UNIX.
    However, the contents of the file has to go as an attachment.
    Please assist.
    Thanks and regards,
    Anishur

    Hello,
    You can do it like this...using SapScript:
    REPORT YMAIL.
    DATA: ITCPO LIKE ITCPO,
    TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA LIKE SODOCCHGI1.
    DATA: MAILPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC LIKE SOMLREC90 OCCURS 0 WITH HEADER LINE.
    DATA: SOLISTI1 LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
    FORM SEND_FORM_VIA_EMAIL *
    FORM SEND_FORM_VIA_EMAIL.
    CLEAR: MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    REFRESH: MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
    MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
    MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
    MAILTXT-LINE = 'Here is your file, would you check it?'.
    APPEND MAILTXT.
    Prepare Packing List
    PERFORM PREPARE_PACKING_LIST.
    BREAK gpulido.
    Set recipient - email address here!!!
    <b>*MAILREC-RECEIVER = '[email protected]'.
    MAILREC-RECEIVER = '[email protected]'.
    MAILREC-REC_TYPE = 'U'.</b>
    APPEND MAILREC.
    Set recipient - email address here!!!
    *MAILREC-RECEIVER = 'BGIRALDO'.
    *MAILREC-REC_TYPE = 'B'.
    *APPEND MAILREC.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    DOCUMENT_DATA = MAILDATA
    PUT_IN_OUTBOX = 'X'
    TABLES
    PACKING_LIST = MAILPACK
    OBJECT_HEADER = MAILHEAD
    CONTENTS_BIN = MAILBIN
    CONTENTS_TXT = MAILTXT
    RECEIVERS = MAILREC
    EXCEPTIONS
    TOO_MANY_RECEIVERS = 1
    DOCUMENT_NOT_SENT = 2
    OPERATION_NO_AUTHORIZATION = 4
    OTHERS = 99.
    submit rsconn01 with mode = 'INT' and return.
    CASE SY-SUBRC.
    WHEN 0.
    WRITE: / 'Result of the send process:'.
    LOOP AT MAILREC.
    WRITE: / mailrec-RECEIVER(48), ':'.
    IF mailrec-RETRN_CODE = 0.
    WRITE 'sent successfully'.
    ELSE.
    WRITE 'not sent'.
    ENDIF.
    ENDLOOP.
    WHEN 1.
    WRITE: / 'no authorization to send to the specified number of'
    WHEN 2.
    WRITE: / 'document could not be sent to any of the recipients!'.
    WHEN 4.
    WRITE: / 'no authorization to send !'.
    WHEN OTHERS.
    WRITE: / 'error occurred during sending !'.
    ENDCASE.
    ENDFORM.
    Form PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
    CLEAR: MAILPACK, MAILBIN, MAILHEAD.
    REFRESH: MAILPACK, MAILBIN, MAILHEAD.
    DESCRIBE TABLE MAILTXT LINES TAB_LINES.
    READ TABLE MAILTXT INDEX TAB_LINES.
    MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
    CLEAR MAILPACK-TRANSF_BIN.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 0.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'RAW'.
    APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form. just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
    PERFORM GET_OTF_CODE.
    LOOP AT SOLISTI1.
    MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
    APPEND MAILBIN.
    ENDLOOP.
    DESCRIBE TABLE MAILBIN LINES TAB_LINES.
    MAILHEAD = 'TEST.OTF'.
    APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
    MAILPACK-TRANSF_BIN = 'X'.
    MAILPACK-HEAD_START = 1.
    MAILPACK-HEAD_NUM = 1.
    MAILPACK-BODY_START = 1.
    MAILPACK-BODY_NUM = TAB_LINES.
    MAILPACK-DOC_TYPE = 'OTF'.
    MAILPACK-OBJ_NAME = 'TEST'.
    MAILPACK-OBJ_DESCR = 'Subject'.
    MAILPACK-DOC_SIZE = TAB_LINES * 255.
    APPEND MAILPACK.
    ENDFORM.
    Form GET_OTF_CODE
    FORM GET_OTF_CODE.
    DATA: BEGIN OF OTF OCCURS 0.
    INCLUDE STRUCTURE ITCOO .
    DATA: END OF OTF.
    DATA: ITCPO LIKE ITCPO.
    DATA: ITCPP LIKE ITCPP.
    CLEAR ITCPO.
    ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    FORM = 'YSEND_MAIL'
    LANGUAGE = SY-LANGU
    OPTIONS = ITCPO
    DIALOG = ' '
    EXCEPTIONS
    OTHERS = 1.
    CALL FUNCTION 'START_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
    WINDOW = 'MAIN'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    Close up Form and get OTF code
    CALL FUNCTION 'END_FORM'
    EXCEPTIONS
    ERROR_MESSAGE = 01
    OTHERS = 02.
    MOVE-CORRESPONDING ITCPO TO ITCPP.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = ITCPP
    TABLES
    OTFDATA = OTF
    EXCEPTIONS
    OTHERS = 1.
    Move OTF code to structure SOLI form email
    CLEAR SOLISTI1. REFRESH SOLISTI1.
    LOOP AT OTF.
    SOLISTI1-LINE = OTF.
    APPEND SOLISTI1.
    ENDLOOP.
    Reward points if helpful.
    Thanks
    Message was edited by:
            Pattan Naveen

  • Moving distribution list memberships from contact to user object with sync engine

    We only have the FIM sync engine and when replacing an AD contact object with a user object I am being asked to move the distribution lists that the contact is a member of over to the new user object. I've done the contact to user replacement provisioning
    many times before but never had to migrate the group memberships over.
    Does anyone have any advice for the best approach to do this?

    This is what I suspected.  You are not doing conversions.  You are simply Deprovisioning contact and provisioning user. For all intends and purposes, the 2 objects are not related in any shape of form.  So how do you know that this contact
    is related to that user?? 
    What you need is, to have both objects connected at the same time in MV before contact is deprovisioned.  Only this way you know that user 'U' is the same as contact 'C'.  FIM needs to know this.
    For this, you need to have one MV object with 2 AD connectors, one for user and one for contact. You can use to MAs, or you can use code to have one object with 2 connectors.  (Usually this is not allowed, but with code you can pass this)
    Before deprovisioning contact, you do the group membership changes, then you deprovision contact. 
    Nosh Mernacaj, Identity Management Specialist

  • Emails flowing in BCC when distribution list was added with new id's

    Hi,
    I had to add 7 additional e-mail id's to the esisting distribution list which has already got 18 email id's.
    This distribution list was included in the repient list of a custom job few months back.
    The job was sending emails to the 18 recipients in TO earlier, but after I added 7 more email id's the job is sending emails to all recipients in BCC.
    I did not change any configs of DL in Batch Job recipient or any where. I want to know if there is any limitation of distribution list or any other issue leading to BCC functionality.
    Please advice ASAP as its making problems in Production to the business.
    Thanks in advance,
    Ravi Shankar

    vz_ric wrote:
    The majority of websites are set up the same way for all browsers. It's the software manufacturers responsibility to make their software compatible with websites, not the other way around. Otherwise everyone who has a website will have to make 10 different sites to work multiple browsers.
    Contrarily, it is Verizon's, as well as other companies like Verizon whose customer base uses a wide variety of web browsers, web page designers' responsibility to use only standard W3C-recognized code and not to use non-standard non-W3C-recognized code, e.g., Microsoft's Internet Explorer specific code, when designing their web pages. In my opinion based on my observations, Verizon's web page designers are too often guilty of using IE-specific code.

  • Recipient List Along with distribution

    Dear Experts,
    Is there any possible way i can send recipient list along with distribution. As i am distributing Engineering docs through distribution to client. It is INT type distribution client wants to know the recipients of this distribution as well. can this scenario be implemented or not.
    Thanks
    KD

    Hi,
    Function module that is called by customer exit CVDI0002 after the data for recipient list screen (screen 100, program SAPLCVV1 ) has been read.
    Depending on the function (i_function) called, documents, recipients, or general data is determined. You can change this data in the include program. The modified data is then displayed on screen 100 (program SAPLCVV1 ).
    If you change recipient data, for example, the changes must also be made in the following tables:
    Table T_DRZA (document recipient relation)
    Table T_REC (to display the change in the table control)
    For more details on this refer link below
    http://srm.quadrem.net/SAPHelp/helpdata/EN/e8/7e7e08663611d1949200a0c92f024a/frameset.htm
    Small tweaking in the customer exit can help in achieving your requirement.
    Hope this helps.
    Regards,
    Deepak Kori

  • Why did I lose my contact distribution lists with IOS 7?

    Why did I lose my contact distribution lists in my calendar after upgrading to IOS 7?

    Disregard ... I found what happened.

  • Power-shell distribution list update Managedby with foreach loop

    The script function is to find a user that is listed a a manager/owner on a distribution list and then replace that manager. The issue is I'm unable to replace the manager when they are a owner/manager of multiple distribution list. The script is successful
    if I remove the foreach loop and just run the script on one distribution list. Please see error message below. Any help is appreciated. 
    $user = "eharris"
    #$DLSimilarmgr = "harris, aaron m"
    $username = (get-aduser $user).name
    $listDLgroup = get-distributiongroup -resultsize unlimited | where {$_.managedby -like "*$username*"} |fl name
    $Foreach ($GrpDL in $listDLgroup) {
       $listDLManager = $GrpDL.ManagedBy 
       $NewDLManager = get-user -id "aharris"  
       $listDLManager+= $NewDlManager 
       set-distributiongroup $GrpDL -managedby $listDLManager -BypassSecurityGroupManagerCheck
    Aaron Harris ExchangeSharePointGuy

    Having issue combing the two scripts. The first scripts gets the DL managers. The second script will update the managed by field of the users and the previous managers of the DL. However, I don't know how to update a multiple DL when the user is listed as
    a manager of more than 1 DL at a time. In script 2 I would like to update the multiple return value for script 1. Any help would be appreciated. 
    #script 1 list the dl's the users is a manager of 
    $user = "eharris"
    $username = (get-aduser $user).name
    $listDLgroup = get-distributiongroup -resultsize unlimited | where {$_.managedby -like "*$username*"} |fl name
    #Script 2 working gets the dl and adds the new member and the previous members of that DL
    $GrpDL = Get-DistributionGroup -id "#365DLTest"
    $listDLManager = $GrpDL.ManagedBy $NewDLManager = get-user -id "eharris" 
    $listDLManager+= $NewDlManager set-distributiongroup "#365DLTest" -managedby $listDLManager -BypassSecurityGroupManagerCheck
    Aaron Harris ExchangeSharePointGuy

  • Can't send an e-mail with a distribution list, message read "invalid address(es)", how can i find out which address is invalid?

    this is a new distribution list so the addresses should be current

    Make sure the user name contains a valid ''@'' symbol and a domain like gmail.com
    For example ''[email protected]'' or
    ''[email protected]''

  • How to send spool to Distribution List using JOB_CLOSE

    Please help on sending Distribution list when job defined using JOB_OPEN, JOB_Submit and JOB_CLOSE
    Thanks.

    Hi, this is code:
    DATA  WA_RECIPIENT LIKE swotobjid.
    CONSTANTS:  gc_objname  TYPE oj_name    VALUE 'RECIPIENT'.
    PERFORM get_distribucion_list USING    'NAME_LIST'   " name of List of distribution
                                  CHANGING WA_RECIPIENT.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
          jobcount                          = l_jobcount
          jobname                           = l_jobname
          strtimmed                         = 'X'
        recipient_obj                     = wa_recipient
    IMPORTING
       job_was_released                  = l_libero
    EXCEPTIONS
       cant_start_immediate              = 1
       invalid_startdate                 = 2
       jobname_missing                   = 3
       job_close_failed                  = 4
       job_nosteps                       = 5
       job_notex                         = 6
       lock_failed                       = 7
       OTHERS                            = 8.
    FORM get_distribucion_list USING    p_objnam       TYPE so_obj_nam
                               CHANGING p_wa_recipient LIKE swotobjid.
      DATA: it_tab LIKE STANDARD TABLE OF soxdl
                   INITIAL SIZE 0 WITH HEADER LINE.
      CHECK NOT p_objnam IS INITIAL.
      CALL FUNCTION 'SO_DLI_LIST_READ_XDL'
        EXPORTING
          dli_generic_name            = p_objnam
          public                      = 'X'
          subscript                   = 'X'
        TABLES
          dli_display_tab             = it_tab
        EXCEPTIONS
          communication_failure       = 1
          dl_list_no_entries          = 2
          owner_not_exist             = 3
          system_failure              = 4
          x_error                     = 5
          parameter_error             = 6
          OTHERS                      = 7
      IF sy-subrc = 0.
        READ TABLE it_tab INDEX 1.
        IF sy-subrc = 0.
          CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
            IMPORTING
              own_logical_system             = p_wa_recipient-logsys
            EXCEPTIONS
              own_logical_system_not_defined = 1
              OTHERS                         = 2.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
          MOVE gc_objname TO p_wa_recipient-objtype.
          CONCATENATE it_tab-dlitp it_tab-dliyr it_tab-dlino
                      INTO p_wa_recipient-objkey.
        ENDIF.
      ELSE.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.

  • What is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?

    what is difference between distribution list and share point group? Can we add distribution list into person and group column of share point list?

    there is a workaround you can try, create audience and add DL to them and deal with the audience or convert DL to groups
    https://social.technet.microsoft.com/Forums/en-US/02f0d773-8188-4d94-a448-0c04d838b0cf/distribution-lists-in-sharepoint?forum=sharepointgenerallegacy
    Kind Regards,
    John Naguib
    Technical Consultant/Architect
    MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation
    Please remember to mark your question as answered if this solves your problem

Maybe you are looking for

  • Illustrator CC 2014 won't open!!!

    I have just updatd my Illustrator app but it simply won't star!! This is what I keep getting: Adobe Illustrator CC 2014 quit unexpectedly Click Reopen to open the application again. Click Report to see more detailed information and send a report to A

  • L_TO_CREATE_MULTIPLE with split bins

    Hi, I need to create a transfer order without reference for multiple line items with split bin items. When using LT01, an item is split sucessfully over two bins when necessary and I need to do the same, but with multiple lines on the TO. Both L_TO_C

  • Problem with the InputStreamReader

    Hi all, I'm working on a method that would execute unknown SHELL commands. I tried to read the Output from the execution and I don't know why but it keep running the ".read" method indefinitly. Here is my code: Process process = Runtime.getRuntime().

  • SQL to get unique record

    EVENT_ID TRANSFER_ID 44745 693420 44744 693420 44743 603420 44742 603420 44741 543420 44740 543420 44739 543421 44738 543421 How can I get list of unique TRANSFER_ID? EVENT_ID TRANSFER_ID 44745 693420 44743 603420 44741 543420 44739 543421

  • Is Adobe Design Standard CS6 accessible via App Mgr?  Programs don't start from it

    When I click on an Adobe application, say Photoshop, in the App Mgr main menu, nothing happens.  But when I go the usual Windows route Start - Programs - Adobe Design Standard CS6 - Photoshop , Photoshop starts right away. My Design Standard CS6 is 6