Re: distribution list

hi to all,
i developed a report for sending mails to the corresponding email ids.in this i wrote
select-options: s_manif for sood-objnam no intervals.
if we did not enter any distribution list name it will automatically go to the consignee.
my requirement is while it going to the consignee it should ask a pop up regarding "Manifest will be emailed to Consignee" with ok and cancel buttons. if we click ok button then mail will go to consignee and if we click cancel button it will remain in the transcation
<b>thanks helman for giving the help.</b>
but while i click cancel button it is not remain into the transaction.
data: answer type c.
*LOOP AT S_DLINAM.
LOOP AT S_MANIF.
CLEAR DLI_NAME1.
DLI_NAME1 = S_DLINAM-LOW.
DLI_NAME1 = S_MANIF-LOW.
*IF S_DLINAM IS NOT INITIAL.
IF S_MANIF IS NOT INITIAL.
CALL FUNCTION 'SO_DLI_READ_API1'
EXPORTING
   DLI_NAME                         = DLI_NAME1
  DLI_ID                           = ' '
   SHARED_DLI                       = 'X'
IMPORTING
DLI_DATA                         = IDLIENT
TABLES
  DLI_ENTRIES                      = IDLIENT.
ENDIF.
   LOOP AT IDLIENT.
     IT_EMAIL-EMAIL = IDLIENT-MEMBER_ADR.
     APPEND IT_EMAIL.
   ENDLOOP.
   REFRESH IDLIENT.
   CLEAR IDLIENT.
  CLEAR S_DLINAM.
CLEAR S_MANIF.
ENDLOOP.
*end of insert of tcs_kun.
  CLEAR t_email_objtxt[].
Text in the email.
  t_email_objtxt = 'PDF is included as attachment.'.
  APPEND t_email_objtxt.
Fill the OTF table.
  t_email_otf[]    = h_sf-otfdata-otfdata[].
Get the address number
  READ TABLE t_partners
       WITH KEY parvw = 'ZC'.
  IF sy-subrc NE 0.
    MESSAGE ID 'ZSH' TYPE 'E' NUMBER 999
            WITH text-006.
  ENDIF.
  h_email-addr_receiver = t_partners-adrnr.
Some general settings.
  h_email-name_of_object = 'Freight'.
  h_email-descr_of_obj   = 'FREIGHT/CARGO MANIFEST'.
  h_email-descr_attachem = 'FREIGHT.PDF'.
CALL FUNCTION 'ZSH_SEND_PDF_PER_EMAIL2'
  EXPORTING
    name_of_object             = h_email-name_of_object
    descript_of_object         = h_email-descr_of_obj
    descript_attachement       = h_email-descr_attachem
    address_no_recipient       = h_email-addr_receiver
  TABLES
    OTF                              = t_email_otf
    TEXT_IN_MAIL                     = t_email_objtxt
    ITAB                             = IT_EMAIL
EXCEPTIONS
   TOO_MANY_RECEIVERS               = 1
   DOCUMENT_NOT_SENT                = 2
   OPERATION_NO_AUTHORIZATION       = 3
   ADDRESS_NOT_EXIST                = 4
   CONV_NOT_POSSIBLE                = 5
   ERR_OTF_MC_NOENDMARKER           = 6
   OTHERS                           = 7.
  IF SY-SUBRC = 0.
  call function 'POPUP_TO_CONFIRM'
  exporting
  TITLEBAR                    = ' '
  DIAGNOSE_OBJECT             = ' '
    text_question              = 'Manifest will be emailed to Consignee'
    text_button_1               = 'Continue'
  ICON_BUTTON_1               = ' '
    text_button_2               = 'Cancel'
  ICON_BUTTON_2               = ' '
  DEFAULT_BUTTON              = '1'
    DISPLAY_CANCEL_BUTTON       = ' '
  USERDEFINED_F1_HELP         = ' '
  START_COLUMN                = 25
  START_ROW                   = 6
  POPUP_TYPE                  =
  importing
    answer                      = answer
TABLES
  PARAMETER                   =
EXCEPTIONS
  TEXT_NOT_FOUND              = 1
  OTHERS                      = 2
    CALL FUNCTION 'ZSH_POPUP_MESSAGE'
      EXPORTING
        is_error     = 'I'
        popup_title  = text-007
        message_text = text-008.
  ELSE.
    CALL FUNCTION 'ZSH_POPUP_MESSAGE'
      EXPORTING
        is_error     = 'E'
        popup_title  = text-015
        message_text = text-016.
  ENDIF.
Message was edited by: sun deep
Message was edited by: sun deep
Message was edited by: sun deep

You can do something like this.
report zrich_0001.
data: answer type c.
call function 'POPUP_TO_CONFIRM'
  exporting
*   TITLEBAR                    = ' '
*   DIAGNOSE_OBJECT             = ' '
    text_question              = 'Manifest will be emailed to Consignee'
    text_button_1               = 'Continue'
*   ICON_BUTTON_1               = ' '
    text_button_2               = 'Cancel'
*   ICON_BUTTON_2               = ' '
*   DEFAULT_BUTTON              = '1'
    DISPLAY_CANCEL_BUTTON       = ' '
*   USERDEFINED_F1_HELP         = ' '
*   START_COLUMN                = 25
*   START_ROW                   = 6
*   POPUP_TYPE                  =
  importing
    answer                      = answer
* TABLES
*   PARAMETER                   =
* EXCEPTIONS
*   TEXT_NOT_FOUND              = 1
*   OTHERS                      = 2
if answer = '1'.
  write:/ 'The answer is yes'.
elseif answer = '2'.
  write:/ 'This answer is no'.
endif.
Regards,
Rich Heilman

Similar Messages

  • 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.

  • Creating distribution lists in SAP CRM 5.0 business workplace

    Hi Experts,
    We have CRM 5.0 and I have tried to create distribution lists for
    mailsending.
    After defining a name and a folder (that is then created) for the
    list the recipient list insertion is a following task.
    I can search for partners of different type by F4 help but no
    matter the type of the partner searched - the type that is
    automatically entered to the lists recipents table is "shared
    distribution list". even though the desired type is among others
    in a list other values cannot be selected.
    Please help, is this a setting that can be undone or what might
    be a problem in the procedure that i use in creating a list?
    has anyone else had similar problems?
    Thank You so much,

    i have received an answer from SAP:
    "The reason for the error is a wrong entry in table TBCS_RECIP. To removethis entry, please use the report which is entered in the description
    of note 735795 or delete the wrong entry direct on table TBCS_RECIP.
    After the run of the report or the deletion on table TBCS_RECIP you willnot find further the selection option 'Business Partner' on the F4 help."
    The entry was removed and for Lists business partners cannot be selected at all - as a standard. really sad endeed.

  • 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

  • In the upgrade to Yosemite, the distribution list feature in mail appears to have been eliminated.  Any suggestions?

    Prior to upgrading to Yosemite, mail allowed you to select all from a contact group and paste the e-mail address of the group to an e-mail send field.  This "distribution list" feature does not seem to work in this new system.  Any suggestions?

    You can see a detailed comparison between MobileMe and iCloud, plus general information and some links to Apple Help pages, here:
    http://rfwilmut.net/icloud
    Question 2 would be best asked as an individual question in the hope of attracting the attention of someone who is in the same situation and can give you a practical answer: question 3 would best be asked in the iPhone forum.

  • Setting up Contacts "groups" or "distribution lists" on Treo Pro??

    Is there any way to set up a "group" or "distribution list" on Treo Pro w/ Windows Mobile so that I can send a text message to a group rather than have to put in each phone number individually???
    Post relates to: Treo Pro T850U (Unlocked)

    Hello!
    Windows Mobile devices doe not have this function at least out straight foward of the box, will require the use of a 3rd-party SMS application.  PalmOS smartphones have an upping here with its templates folder but in your case you could try making SMS drafts and use those as a "group template."
    Post relates to: Treo 650 (Unlocked GSM)

  • Distribution list do not appear in TO: field when user wants to send email

    All the blackberry users in the corporate are on BES server. When user enters the first few letters of a person or the # sign and the first few letters for the distribution list in TO: field, the email addresses are showing up from Global Address List (GAL) for example, and they can choose the email address.
    There is a particular issue with one user. His bb does not show any distribution list when he types # sign. The individual contacts from GAL are showing up after typing the first few letters though.
    User has a personal account apart from the corporate account.
    I can not figure out the problem.
    We recently wiped his bb and activated it, because he did not have the option to reply or forward his emails.
    If you know what could be the solution apart from reactivating the bb, please let me know.
    Regards,

    Hello,
    Honestly, from your original description, your users have a function I've never seen. To access the GAL from my BB, I must enter some characters and then use the Lookup function. Your description does not include the Lookup, so I honestly have no idea how your users are configured. From what you describe, it sounds like you are somehow (and for some reason) pushing the entire GAL to each device and this is not working on that one device. But, honestly, with Lookup, I can see no reason to want to push the full GAL out.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • How to create a rule for distribution list

    I have users in a distribution list that all require a specific rule to be created for them. I have been able to create a a rule to distribute in Exchange management shell which works properly but I have found out that the rule will not be visible to the
    end user in the Outlook 2007 client. I was wondering if there is a solution to distribute a rule to these users without the need tot visit each of their computers while they are signed in (24-hour business but I.T. only works day shift). Any solution would
    be appreciated.

    Hi,
    From your description, I would like to clarify that the rule you create in EMS is the transport rule. Users can't see the transport rules on Outlook side. They can see the Outlook rules on Outlook side. Your understanding will be appreciated.
    Hope this can be helpful to you.
    Best regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Amy Wang
    TechNet Community Support

  • 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.

  • Email ALV report to a distribution list

    Hi all,
    I have scheduled an alv report (uses ALV Grid) to run in the background using SM36.I put the spool list to be delivered to a set of people whose addresses are in the distribution list. The mails are being received by the users. But the problem is : <b>There are around 20 columns in the report but only info upto 15 columns are being sent as a PDF. There is no problem with the number of rows being sent. It's only the width of the report has been shortened. Can anyone help me out with this please, it is a urgent requirement.</b>
    Satish

    Hello,
    In general I'd recommend you should always use a full address for your email recipients. Your mail server should handle a fully qualified address even for local delivery, however by using the fully qualified version you protect yourself from any configuration changes on the mail server that would stop local addressing working.
    Just my thoughts.
    John.
    http://jes.blogs.shellprompt.net
    http://apex-evangelists.com

  • How can I use a distribution list to send an email or an invitation

    I would like to know if I can have a distribution list (several people that belongs to a group) that at the moment that I would like to send them the same email or invitation, I just wnat to recall the name of my distribution list, as I do in Microsoft outlook, and then the mail or invitation goes directly to everyone that belogs to this distribution list

    Apologies. I should have said Ignore. I can't answer the question as it relates to an iPhone.

  • How to send a Weekly E-mail to a Distribution list from Sharepoint by collecting all the events available in all Sharepoint calendars

    Hi,
        I have created many Calendars in my Sharepoint site like Meeting Calendar, Downtime Calendar etc. I will be creating some events in these calendars every week. My requirement is to collect all the events available in the calendar for that week
    and send a weekly mail with all this events to the distribution list
         Is this requirement can be done using the Sharepoint designer workflow or does it require any code related activities to accomplish this? If so can you please provide me the Steps by step process to complete this and can you also share
    the code in case if you have it
    Thanks in Advance

    Hi,
    Try with worklfow timer control and send mail to weekly.(Performance good)
    http://infomoss.blogspot.in/search/label/Workflow2010
    one more option try with Timerjob..(if no way use it)
    http://infomoss.blogspot.in/2013/05/companymicrosoft-todo-update-copyright.html
    http://infomoss.blogspot.in/2013/01/webclient-sharepoint-2010-read-image-uri.html
    Thanks
    Jaison A
    http://infomoss.blogspot.in

  • How to send mail to all the receipients in distribution list

    Hi All,
    As per my requirement I need to send error log in doc format.
    I am using the help of following code suggested by someone in sdn.
    Mehr Beispile unter BCS_EXAMPLE_* mit se38
    Mehr Beispile unter BCS_TEST*     mit se38
    DATA: SEND_REQUEST       TYPE REF TO CL_BCS.
    DATA: SUBJECT            TYPE SO_OBJ_DES.
    DATA: ATT_TYPE           TYPE SOODK-OBJTP.
    DATA: IT_TEXT            TYPE BCSY_TEXT.
    DATA: WA_TEXT            LIKE SOLI.
    DATA: IT_BIN             TYPE SOLIX_TAB.
    DATA: WA_BIN             TYPE SOLIX.
    DATA: DOCUMENT           TYPE REF TO CL_DOCUMENT_BCS.
    DATA: SENDER             TYPE REF TO CL_SAPUSER_BCS.
    DATA: RECIPIENT          TYPE REF TO IF_RECIPIENT_BCS.
    DATA: BCS_EXCEPTION      TYPE REF TO CX_BCS.
    DATA: SENT_TO_ALL        TYPE OS_BOOLEAN.
    Bytes der Datei
    DATA: IT_LENGHT          TYPE SO_OBJ_LEN.
    DATA: N10(10)            TYPE N.
    START-OF-SELECTION.
      PERFORM MAIN.
      PERFORM RSCONN01_EXECUTE.
    END-OF-SELECTION.
    FORM MAIN.
      TRY.
    Dokument erstellen (mit Anhang)
          SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
          PERFORM HEAD_CONT.
          PERFORM RAW_ATT.
    Dokument (mit Anhang) setzen
          CALL METHOD SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
    Absender setzen
          SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ).
          CALL METHOD SEND_REQUEST->SET_SENDER
            EXPORTING
              I_SENDER = SENDER.
    Empfänger setzen
          RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(
                                            'email@address' ).
          CALL METHOD SEND_REQUEST->ADD_RECIPIENT
            EXPORTING
              I_RECIPIENT = RECIPIENT
              I_EXPRESS   = 'X'.
    Dokument senden
          CALL METHOD SEND_REQUEST->SEND(
            EXPORTING
              I_WITH_ERROR_SCREEN = 'X'
            RECEIVING
              RESULT              = SENT_TO_ALL ).
          COMMIT WORK.
    Sende-Error abfangen
        CATCH CX_BCS INTO BCS_EXCEPTION.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
          EXIT.
      ENDTRY.
    ENDFORM.                    "main
    FORM HEAD_CONT.
      CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
      ATT_TYPE = 'RAW'.
      SUBJECT = 'Betreffzeile'.
      WA_TEXT = 'First Line'. APPEND WA_TEXT TO IT_TEXT.
      WA_TEXT = 'Second Line'. APPEND WA_TEXT TO IT_TEXT.
      DESCRIBE TABLE IT_TEXT LINES N10.
      N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
      IT_LENGHT = N10.
      TRY.
          DOCUMENT = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
                    I_TYPE    = ATT_TYPE
                    I_TEXT    = IT_TEXT
                    I_LENGTH  = IT_LENGHT
                    I_SUBJECT = SUBJECT ).
    Error abfangen
        CATCH CX_BCS INTO BCS_EXCEPTION.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
          EXIT.
      ENDTRY.
    ENDFORM.                    "HEAD_CONT
    *&      Form  RAW_ATT
          text
    FORM RAW_ATT.
      CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
      ATT_TYPE = 'RAW'.
      SUBJECT = 'Text Anhang'.
      WA_TEXT = 'First Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
      WA_TEXT = 'Second Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
    Lenght of Att_Text
      DESCRIBE TABLE IT_TEXT LINES N10.
      N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
      IT_LENGHT = N10.
      TRY.
          CALL METHOD DOCUMENT->ADD_ATTACHMENT
            EXPORTING
              I_ATTACHMENT_TYPE    = ATT_TYPE
              I_ATT_CONTENT_TEXT   = IT_TEXT
              I_ATTACHMENT_SIZE    = IT_LENGHT
              I_ATTACHMENT_SUBJECT = SUBJECT.
    Error abfangen
        CATCH CX_BCS INTO BCS_EXCEPTION.
          WRITE: 'Fehler aufgetreten.'(001).
          WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
          EXIT.
      ENDTRY.
    ENDFORM.                    "ATT_RAW
    But From this method I am not able to send the mail to the distribution list created.
    Please suggest How this can be done.
    I dont want to chang

    Hi Smriti,
    You can make changes like shown below. The changes are shown in the code format for your easy reference. You can remove the code in bold. This will work.
    Mehr Beispile unter BCS_EXAMPLE_* mit se38
    Mehr Beispile unter BCS_TEST* mit se38
    DATA: SEND_REQUEST TYPE REF TO CL_BCS.
    DATA: SUBJECT TYPE SO_OBJ_DES.
    DATA: ATT_TYPE TYPE SOODK-OBJTP.
    DATA: IT_TEXT TYPE BCSY_TEXT.
    DATA: WA_TEXT LIKE SOLI.
    DATA: IT_BIN TYPE SOLIX_TAB.
    DATA: WA_BIN TYPE SOLIX.
    DATA: DOCUMENT TYPE REF TO CL_DOCUMENT_BCS.
    DATA: SENDER TYPE REF TO CL_SAPUSER_BCS.
    DATA: RECIPIENT TYPE REF TO IF_RECIPIENT_BCS.
    DATA: BCS_EXCEPTION TYPE REF TO CX_BCS.
    DATA: SENT_TO_ALL TYPE OS_BOOLEAN.
    Bytes der Datei
    DATA: IT_LENGHT TYPE SO_OBJ_LEN.
    DATA: N10(10) TYPE N.
    data: it_recipients type standard table of ad_smtpadr.
    data: w_recipients type ad_smtpadr.
    START-OF-SELECTION.
    PERFORM MAIN.
    PERFORM RSCONN01_EXECUTE.
    END-OF-SELECTION.
    FORM MAIN.
    TRY.
    Dokument erstellen (mit Anhang)
    SEND_REQUEST = CL_BCS=>CREATE_PERSISTENT( ).
    PERFORM HEAD_CONT.
    PERFORM RAW_ATT.
    Dokument (mit Anhang) setzen
    CALL METHOD SEND_REQUEST->SET_DOCUMENT( DOCUMENT ).
    Absender setzen
    SENDER = CL_SAPUSER_BCS=>CREATE( SY-UNAME ).
    CALL METHOD SEND_REQUEST->SET_SENDER
    EXPORTING
    I_SENDER = SENDER.
    Empfänger setzen
    LOOP AT it_recipients into w_recipients.
    RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS(w_recipients).
    CALL METHOD SEND_REQUEST->ADD_RECIPIENT
    EXPORTING
    I_RECIPIENT = RECIPIENT
    I_EXPRESS = 'X'.
    ENDLOOP.
    RECIPIENT = CL_CAM_ADDRESS_BCS=>CREATE_INTERNET_ADDRESS('email@address' ).
    CALL METHOD SEND_REQUEST->ADD_RECIPIENT
    EXPORTING
    I_RECIPIENT = RECIPIENT
    I_EXPRESS = 'X'.
    Dokument senden
    CALL METHOD SEND_REQUEST->SEND(
    EXPORTING
    I_WITH_ERROR_SCREEN = 'X'
    RECEIVING
    RESULT = SENT_TO_ALL ).
    COMMIT WORK.
    Sende-Error abfangen
    CATCH CX_BCS INTO BCS_EXCEPTION.
    WRITE: 'Fehler aufgetreten.'(001).
    WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
    EXIT.
    ENDTRY.
    ENDFORM. "main
    FORM HEAD_CONT.
    CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
    ATT_TYPE = 'RAW'.
    SUBJECT = 'Betreffzeile'.
    WA_TEXT = 'First Line'. APPEND WA_TEXT TO IT_TEXT.
    WA_TEXT = 'Second Line'. APPEND WA_TEXT TO IT_TEXT.
    DESCRIBE TABLE IT_TEXT LINES N10.
    N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
    IT_LENGHT = N10.
    TRY.
    DOCUMENT = CL_DOCUMENT_BCS=>CREATE_DOCUMENT(
    I_TYPE = ATT_TYPE
    I_TEXT = IT_TEXT
    I_LENGTH = IT_LENGHT
    I_SUBJECT = SUBJECT ).
    Error abfangen
    CATCH CX_BCS INTO BCS_EXCEPTION.
    WRITE: 'Fehler aufgetreten.'(001).
    WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
    EXIT.
    ENDTRY.
    ENDFORM. "HEAD_CONT
    *& Form RAW_ATT
    text
    FORM RAW_ATT.
    CLEAR: IT_TEXT[], WA_TEXT, SUBJECT.
    ATT_TYPE = 'RAW'.
    SUBJECT = 'Text Anhang'.
    WA_TEXT = 'First Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
    WA_TEXT = 'Second Line in ATT'. APPEND WA_TEXT TO IT_TEXT.
    Lenght of Att_Text
    DESCRIBE TABLE IT_TEXT LINES N10.
    N10 = ( N10 - 1 ) * 255 + STRLEN( WA_TEXT ).
    IT_LENGHT = N10.
    TRY.
    CALL METHOD DOCUMENT->ADD_ATTACHMENT
    EXPORTING
    I_ATTACHMENT_TYPE = ATT_TYPE
    I_ATT_CONTENT_TEXT = IT_TEXT
    I_ATTACHMENT_SIZE = IT_LENGHT
    I_ATTACHMENT_SUBJECT = SUBJECT.
    Error abfangen
    CATCH CX_BCS INTO BCS_EXCEPTION.
    WRITE: 'Fehler aufgetreten.'(001).
    WRITE: 'Fehlertyp:'(002), BCS_EXCEPTION->ERROR_TYPE.
    EXIT.
    ENDTRY.
    ENDFORM. "ATT_RAW
    where the internal table "it_recipients" contains all the e-mail addresses.

  • How to send a broadcast message to public distribution list?

    I set up a Pulic distribution list in Unity system, but what extension number should I dial to send a publick distribution list? What is the public distribution list number?
    Thanks for any input.

    Log to Unity (press the Messages button and type your password). It will prompt you what is the button that you need to press to send a message (by default is 2), press that number, now it will prompt you to spell the name of the person or the distribution list. You can press ## (# key twice) to change to enter the extension.
    If you go to the SAWEB and search for your Distribution List you will see that you can add and extension.
    So by following the above instruction you can send a message by spelling the name of the DL or entering the extension of the DL.
    HTH
    //Jorge

  • Send mail to distribution list using UTL_MAIL.SEND

    Oracle 10.2.0.4.0
    Does UTL_MAIL.SEND support sending mail to a distribution list?. The doc says, the recipient mail-id should be separated by a comma. The distribution list has mail-id separated by a comma. I executed a test case sending a mail to a distribution list, I did not receive any error or exception. I did not receive the test mail as well!!.
    Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.
    Thanks

    Has anyone used the UTL_MAIL.SEND to send mails to a distribution list?.Oracle RDBMS does not know or care is email address is single recipient or list.
    It sends message to name provided.
    It is up to MTA to deliver any message it gets.
    Are you 100% certain that message got to MTA & was successfully processed by it?

  • How to send mail as a distribution list

    I have created a number of distribution lists under the groups tab just to the right of mailboxes in the recipients section of the exchange admin centre in microsoft exchange 2013.
    i have set permission on these mailboxes for send as to be permitted but when trying to send mail from outlook 2013, outlook web app or from ios i am unable to get the distribution lists email address to appear in the from list.
    could someone please explain how i can resolve this for each of these 3 platforms?

    Hi,
    Great advice from Veerapandian.
    Based on my knowledge, Distribution List is based on Outlook, Distribution Group is based on Exchange server. You can grand send as permission to DG.
    Send as permission is a permission based on AD, please make sure the DG can be resolved from GAL.
    Please run following command to whether set “Hide this group from address lists” attribution, if so please remove this setting.
    Get-DistributionGroup | FL alias,*HiddenFromAddressListsEnabled*
    More details about Configure Distribution Group Properties, please refer to:
    http://technet.microsoft.com/en-us/library/bb124513(v=exchg.150).aspx
    Best Regards,
    Allen Wang

Maybe you are looking for

  • Eject button not working on dvd/cd tray

    You name it, I've tried it! Apples advice was to backup my work and wipe the dripe and reinstall the OS. Guess what - the eject button still doesn't work! Well done apple. That'll be 2 days wasted of precious production time. All this after a new pow

  • Help in struts

    Thanks, I want to pass parameters using a link ( anchor tag) inside jsp like: http://localhost:8080/surepro/saveContract.do?action=Display&id=3 My problem is how can I handle these action and id parameters? Should I have to use getParameter() method

  • Can't print shipping labels

    I haven't been able to print a shipping label since yesterday morning, what's going on? I've always had issues with this but never so long. Called customer support, no help. Cleared cache, different browser,... nothing works. 

  • Regarding selection options

    whan i am using select-options prior to this i what to display check  box on the same line.           when i am selecting the this check box it should execute automaticall could u plz explain the code clearly with example.

  • Error in Binding_Error

    Hi Experts, I am trying to get an IDoc from R/3 to the XI adapter.  I use transaction WE19 to start processing to the XI adapter and the RFC fails.  When I look in transaction SM58 I see Error in Binding_Error in the Status Text for the call.  I can