Send Mail to External Mail ID's for Multiple Users

Hi All,
I want to send mail from SAP to External mail ID's for multiple Users.The program is ok.
But I want to send this to Multiple external Mail id's. Where should I assign this receivers list. Pls advise.
What is the transaction to assign multiple receivers.?
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA              = GD_DOC_DATA
        PUT_IN_OUTBOX              = 'X'
        COMMIT_WORK                = ''
      TABLES
        PACKING_LIST               = IT_PACKING_LIST
        CONTENTS_TXT               = IT_MESSAGE
        RECEIVERS                  = IT_RECEIVERS
      EXCEPTIONS
        TOO_MANY_RECEIVERS         = 1
        DOCUMENT_NOT_SENT          = 2
        DOCUMENT_TYPE_NOT_EXIST    = 3
        OPERATION_NO_AUTHORIZATION = 4
        PARAMETER_ERROR            = 5
        X_ERROR                    = 6
        ENQUEUE_ERROR              = 7
        OTHERS                     = 8.
Thank You.
Pranitha.

IT_RECEIVERS parameters needs to be passed as shown below.
    wa_receivers-receiver = "..........External mail id".
    wa_receivers-rec_type = 'U'.
    wa_receivers-express = 'X'.
    APPEND wa_receivers TO lt_receivers.
    CLEAR  wa_receivers.
Once mail is triggered to the external mail id's, check the mail is transferred from SAP or not using the tcode SCOT.
In SCOT,follow the path UTILITIES-> Overview of send orders.
Regards,
Satish Kanteti

Similar Messages

  • Problem while sending mail to external mail ids

    Hi All,
    while trying to send mail to external mail ids through some custom program, i'm facing an error as "recipient not in address management".
    Can anyone giude me why this is occuring and actually what is this Address management?
    Thanks & Regards,
    Anil.

    Hi,
    Check this sample code..
    http://www.sapdevelopment.co.uk/reporting/email/email_mbody.htm
    * Add the recipients email address
      clear it_receivers.
      refresh it_receivers.
    <b>  it_receivers-receiver = p_email.
      it_receivers-rec_type = 'U'.
      it_receivers-com_type = 'INT'.</b>
      it_receivers-notif_del = 'X'.
      it_receivers-notif_ndel = 'X'.
      append it_receivers.
    what Fm you are using..?are you specifying like above for e-mail address..
    Regards
    vijay

  • Can SAP send e-mail to external mail with attached file?

    Hi ABAP Guru.
    Can SAP send the E-Mail to external mail server? (e.g. Hotmail, Yahoo and so on.)
    And Can the E-Mail sent with attached file?
    And How to do that?
    Please give me your advice.
    Thank you and Best Regard,
    Nattapash C.

    Thank you very much! Amit Gujargoud.
    And I'm so sorry for my question that not clear for you and everyone.
    What I need to know is How to do with ABAP Code.
    I found the Function Module
    'SO_DOCUMENT_REPOSITORY_MANAGER' with method 'SEND' is being used for my case.
    but I don't know what field of structure RECIPIENTS (Table parameter of this Func. Module) that used for define recipient's E-Mail Address.
    Does anyone know the field or Have any method to solved my case?
    Please give me your advice.
    Thank you and Best regard.
    Nattapash C.

  • How to send sapmails to external mail systems

    Hi,
    how to send sapmails to external mail systems....
    like if we want to mail a purchase order from SAP System to *@yahaoo.com or @.com.
    TY.

    hi manish,
    u can do it.
    chk this .
    chk this code
    DATA: objpack LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
    DATA: objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE.
    DATA: objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE.
    DATA: reclist LIKE somlreci1 OCCURS 5 WITH HEADER LINE.
    DATA: doc_chng LIKE sodocchgi1.
    *& Form f_send_mail
    text
    --> p1 text
    <-- p2 text
    FORM f_send_mail .
    *store the vendor name, vendor email id , employee name and employee
    *email id in the internal table int_crb
    Creation of the document to be sent
    CLEAR doc_chng.
    REFRESH objpack.
    REFRESH objhead.
    REFRESH reclist.
    REFRESH objtxt.
    File Name
    doc_chng-obj_name = 'SHIPMENT'.
    Mail Subject
    CONCATENATE 'Shipment Document No.' int_crb_mail-shipdocnum
    'Cleared.'
    INTO doc_chng-obj_descr SEPARATED BY ' '.
    Mail Contents
    objtxt-line = 'Hi,'.
    APPEND objtxt.
    objtxt-line = ' '.
    APPEND objtxt.
    CONCATENATE 'Shipment Document Number ' int_crb_mail-shipdocnum
    ' cleared for move.' INTO objtxt-line SEPARATED BY ' '.
    APPEND objtxt.
    objtxt-line = ' '.
    APPEND objtxt.
    CLEAR objtxt.
    objtxt-line = 'Regards '.
    APPEND objtxt.
    objtxt-line = ' '.
    APPEND objtxt.
    objtxt-line = 'SAP '.
    APPEND objtxt.
    CLEAR objtxt.
    APPEND objtxt.
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    doc_chng-doc_size = ( tab_lines - 1 ) * 255 + STRLEN(
    objtxt ).
    Creation of the entry for the compressed document
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'RAW'.
    APPEND objpack.
    Completing the recipient list
    target recipent
    CLEAR reclist.
    reclist-receiver = int_crb_mail-empperid. "employee email ID
    "wf_empperid.
    reclist-express = 'X'.
    reclist-rec_type = 'U'.
    APPEND reclist.
    copy recipents
    CLEAR reclist.
    reclist-receiver = int_crb_mail-smtp_addr."vendor email id
    reclist-express = 'X'.
    reclist-rec_type = 'U'.
    reclist-copy = 'X'.
    APPEND reclist.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = doc_chng
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    operation_no_authorization = 4
    OTHERS = 99.
    COMMIT WORK.
    SUBMIT rsconn01
    WITH mode = 'INT'
    WITH output = ' '
    AND RETURN.
    ENDFORM. " f_send_mail
    for any clarifiaction pls mail me.
    pls reward points, if this helped u.
    regards,
    anversha.
    [email protected]

  • Send Workitem to external mail ID and Execute?

    Hi all,
    I have requirement to send a WorkItem to Approvers External Mail ID and executes there.I have tried to send text mail to Approver's external mail id using Fm SO_NEW_DOCUMENT_SEND_API1.
    It is working fine but how to send WI to external mail id?
    Is there any way?
    Regards,
    Arpita

    Hi AC,
    there is a way out for the problem which you have where the user doesnt want to put his SAP userid and pwd and wants him to take directly to the SAP screen.
    For this you need to create a shortcut in your SAP logon pad for the transaction.
    and since you want him/her to go directly to the tcode, you need to put an entry in your sapshortcut.ini
    -pw "password"
    So what this entry does is the moment user clicks the workitem in Outlook, it would directly take him to the t-code for which you have created the shortcut, without asking him/her credentials.
    For your second issue, yes if 2 users get workitem, if any one reserves or executes the workitem, it automatically deletes from the other users SAP inbox.
    Hope it helps.
    Aditya

  • Setting up accounts for multiple users

    Suggestions for allowing multiple users to access one account to avoid having to reimburse folks for every download on their work iPads?

    short answer, no. Mail.app does not have support within itself for multiple user accounts. It displays the messages from the mailboxes of the user that is currently logged in. so if you want multiple people to read their mail on the same mac without being able to read other users' mail, you will need to set up multiple user accounts. alternatively, use another client. i think thunderbird supports multiple mail accounts under the same user account. hope this helps.

  • How to use the same POWL query for multiple users

    Hello,
    I have defined a POWL query which executes properly. But if I map the same POWL query to 2 portal users and the 2 portal users try to access the same page simultaneously then it gives an error message to one of the users that
    "Query 'ABC' is already open in another session."
    where 'ABC' is the query name.
    Can you please tell me how to use the same POWL query for multiple users ?
    A fast reply would be highly appreciated.
    Thanks and Regards,
    Sandhya

    Batch processing usually involves using actions you have recorded.  In Action you can insert Path that can be used during processing documents.  Path have some size so you may want to only process document that have the same size.  Look in the Actions Palette fly-out menu for insert path.  It inserts|records the current document work path into the action being worked on and when the action is played it inserts the path into the document as the current work path..

  • Can we creat an Apple ID for multiple users?

    I work for a company where we are rolling out iPads in big amounts. The problem is that they all need an Apple ID in the training they get about the iPad they receive because they have to install MobiControl on it.
    It's no problem to let them create an Apple ID at home, but they have to fill in credit card numbers once they connect at work when they try to install apps. That's the problem... Not everyone want's or has credit cards...
    Maybe it's possible to create an Apple ID for multiple users???
    Thanks!

    iPad in Business and Education
    You may find a better answer in this part of the forum, since it's meant for situations like you're in.
    http://www.apple.com/support/appleid/
    is also info about apple ID's.
    You can make apple ID's without a credit card, you just have to jump through a couple of hoops to do it since the default is that people will always give a credit card. The key to making an ID without a credit card is that you try to download a free app first, then follow the 'make an ID' prompt. That will get you the 'none' option for payment.

  • Can I use one itunes account for multiple users and multiple devices

    Can I use one itunes account for multiple users and multiple devices?

    The iTunes EULA, as I understand it (I'm not an attorney )for Apps is basically that one person can use an App multiple devices, or multiple people can use an App one device..so one to many or many to one, but not many to many....

  • For multiple users on a computer, will Firefox Sync synchronize all the users on a computer or only the one logged on?

    For multiple users on a computer, will Firefox Sync synchronize all the users on a computer or only the one logged on? For instance my spouse and I will share a laptop and I want to sync my Firefox when I log on there also but do not want to sync her data.

    Curt
    how do you know if your using the
    Central cache all distributed cache ?
    and are they both stored in the same place ?

  • Can i install itunes multiple times on one computer for multiple users?

    Can i install itunes multiple times on one computer for multiple users?

    Like most applications you only need to install it once for it to be available to all users. (That said it is possible to install an application and only make it available to the current user, but that's rarely needed.)
    tt2

  • How to make Adobe acrobat feature to convert SAP  Pages to PDF available for multiple users connected to the same Citrix server

    Hi,
    In my previous endeavours to solve this business requirement where multiple users will be able to use the Adobe acrobat feature to convert SAP pages inside SAP to PDF, I was told that it is not possible to do this for multiple users at the same time. However I have found an article according to which it says it is possible. Could you check it once and let me know if this article can be used for implementing the requirement stated above as this link clearly indicates that Adobe Acrobat is supported on Citrix.
    Please find the link below where it states it is adobe acrobat is supported in Citrix for multiple users.
    http://www.adobe.com/devnet-docs/acrobatetk/tools/AdminGuide/citrix.html.

    1. What is the Acrobat feature that you mean? There's nothing specific to SAP included with Acrobat.
    2. Yes, some Terminal Server configurations appear supported (check carefully). All users of the terminal server will need a license, so far as I know - total licenses = total individual people using.

  • Triggering a sub work flow for multiple users at same time.

    I have a scenario in which I have created sub workflow as an activity for approval process. This sub work flow should be triggered for multiple users at the same time and their decison is independent of each other.
    This is like creating multipe instance of the same sub work flow and then the sub work flow runs indepedently as a new work flow for each of the approver and the process is completeded for approver independently.
    How can this be achieved?

    Tyr to do like this,
    1. First include the subworkflow in the main workflow template.
    2. Now include standard Block Step in the main workflow template.
    3. In the block select the block type as ParForEach.
    4. Before doing the 3rd point make sure that all the agents for whom you want whom you want to initiate the workflow, populate them in a Multiline conatiner element.
    5. Once completing 3rd and 4th points open the block step under the tab ParallelProcessing  assign the multiline container element name in the   for e;g if the multi line container element name is COSTCENTER then do the binding like below. the conatiner element COSTCENTERLINE is created by default once you include the multi line conatiner element under parller processing tab.
    &COSTCENTER[&_WF_PARFOREACH_INDEX&]&   -------->     &_COSTCENTER_LINE&
    Now assign the agent of the subworkflow as COSTCENTERLINE , imean if suppose you have 3 entries in the internal table then three separate and for three different agents the workflow is instantiated.

  • Is there a way for multiple users to connect to my home sharing with their iOS device to select music to stream to my A/V receiver jukebox style?

    I have an A/V receiver that I can connect to and select music to stream over my network but I want to know if I have a party if it's possible for multiple users to have access on their own devices to my home shared music and select music to play like a jukebox.

    I almost forgot that using folders can allow each folder to contain a song. I also recall touch tracks or one key play...

  • How can I create a folders of apps for multiple users?

    I use several iPads with my students and would like to set up a folder for each student. I want to place "an alias" of each app the student uses in their folder. On my Mac, I can "make alias" and place aliases in seperate folders. How can I do that on my iPad? Thanks!

    You can drag one app on top of another and make a folder. However the limit to this is, for your situation, there can be no sharing of apps....the app Fred can only be in one folder because it's only on the device once.  (so it may not work for what you need)
    and I cannot recall if you can edit the name of the folder.
    Unfortunately, for situations like yours, the iPad was created to be a single user device, so there's really not support for multiple users or multiple levels of access.

Maybe you are looking for

  • Cisco Jabber for Mac 9.2.1: slow to register with CUCM

    Hi, We have this specific problem on our Jabber for Mac 9.2.1 client only: the client takes 60 to 70 seconds to connect to CUCM (running 8.6.2) when it starts. After Jabber registers with CUCM, there is no issue, it's just very slow to register. Anyb

  • Windows 7 64bit timed out when d/l my purchases

    Tried everything turned of firewall turned off virus protection hooked directly into modem. All my other programs connect with no problem.What happen was i bought a new computer downloaded the 64 bit version of itunes no problem accessing itunes or l

  • Is oracle 8.1.5 compatable with jdk1.2 drivers

    i tried to load the driver class by using Class.forName ("oracle.jdbc.driver.OracleDriver"); Class not found exception was raised . i have [oraclehome]\jdbc\lib\classes111.zip and other zip files in the class path. i have jdk 1.2 on my machine. is or

  • Difference in report FS10 and S_ALR_87012004

    Hi Gurus, I have asset account which is CWIP asset, and I do APC in this asset and also AIAB in this.? I have following questions on this account Difference in report FS10 and S_ALR_87012004 Why this report have difference? What are the possiblity of

  • Small problem with generics

    Hi, I'd like to get my generic (Hash)Map back from a textfile, for this I have written a method that reads the file and returns an Object. The only problem I have is that I get the error "java uses unchecked or unsafe operations , ..." with the follo