Sending email of invoice to more than one receipient

Hi All,
I have to send the email of the invoice to all the id's that are mentioned in the customer. As of now i am able to send the invoice (in pdf format) to only one person that is maintained in the customer master, but i have to send the invoice to all the persons whose email id is mentioned in the customer master.
Pls let me know how to meet this requirement.
Thanks,
Govind

Hi,
You can append multiple receivers to Receivers itab.
Add the recipients email address
  CLEAR t_receivers.
  REFRESH t_receivers.
  t_receivers-receiver = Emailid1
  t_receivers-rec_type = 'U'.
  t_receivers-com_type = 'INT'.
  t_receivers-notif_del = 'X'.
  t_receivers-notif_ndel = 'X'.
  APPEND t_receivers.
  t_receivers-receiver = emailid2
  t_receivers-rec_type = 'U'.
  t_receivers-com_type = 'INT'.
  t_receivers-notif_del = 'X'.
  t_receivers-notif_ndel = 'X'.
  APPEND t_receivers.
  t_receivers-receiver = emailid3
  t_receivers-rec_type = 'U'.
  t_receivers-com_type = 'INT'.
  t_receivers-notif_del = 'X'.
  t_receivers-notif_ndel = 'X'.
  APPEND t_receivers.
  CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
       EXPORTING
            document_data              = w_doc_data
            put_in_outbox              = 'X'
            sender_address             = ld_sender_address
            sender_address_type        = ld_sender_address_type
            commit_work                = 'X'
       IMPORTING
            sent_to_all                = w_sent_all
       TABLES
            packing_list               = t_packing_list
            contents_bin               = t_attachment
            contents_txt               = it_message
            receivers                  = t_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.
Regards,
Raj.

Similar Messages

  • Send email from SAP with more than one attachment

    Hi all,
    How can i send email with more than one attachment and different types of document(doc,pdf,etc.) from SAP to external?
    Besr regards,
    Munur

    Hi,
    I use :
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    the main problem with different attachemts is to genereate the packing_list.
    the packing list is a kind of description of the data table... where ist the start  of an image, end, size...
    "Creation of the entry for the compressed attachment
            objpack-transf_bin = 'X'.                    " it could be an image
            objpack-head_num = lv_head_num_count .  " inital 1 each att  add 1
            objpack-head_start = 1.                     " fix
            objpack-body_start = gv_startnum.    " table with attachments  1. line one
            objpack-body_num = tab_lines.          " how many lines are in the table of attachment
            objpack-doc_size = tab_lines * 255.   " size of the  attachment...
           objpack-doc_type = lv_typ . " 'JPG'.
            objpack-obj_name = 'ATTACHMENT'.
            objpack-obj_descr = lv_stripped_name  " name of the JPG
       APPEND objpack.
       APPEND LINES OF lt_goscontent TO gt_maildata.  " data Table...
    bestreg
    robert

  • Cannot Add Invoices with more than one costing centers by SDK.

    Have no available DI Interface to access cost/profit center
    Cannot Add Invoices with more than one costing centers by SDK.

    Dear Srikanth,
    Thanks a lot for your reply.
    We want add a invoice with DI API, but the DI API provide only one costing center: CostingCode in Document_Lines Object. But we have two costing centers, one is department, the other is salesperson.
    This is my question.
    It will be appreciated highly if you give me a solution.
    Thanks!
    Xingjun Han

  • Why can't I send a text message to more than one contact?

    With all my previous cell phones I was able to send a single text message to more than one contact. With the iPhone I can only send to one contact and then I have to type the text message again and send to another contact, and so on. Or am I messing a fuction on the iPhone that allows for sending a text message to more than one contact?

    No, you are not missing it. That feature is not available on the iPhone.

  • HT3529 How do I send a text message to more than one phone number at the same time?

    How do I send the same text to more than one phone at the same time?

    You'll need to see if there's an app in the App Store that does what you want. Search for "Group SMS" or similar.

  • Ios email environment to attach more than one file

    The Email environment in the iOS including the latest version iOS 7 has some missing important features that Apple should really consider it.
    The email environment doesn't facilitate attaching more than one file to an e-mail, especially when talking about different file formats, e.g. attaching excel sheet with pdf in one email.
    also it is abusing that in order to attach a file, other than photo format, you can't attach it to a reply email, you need to open a new email, and it doesn't start with opening a new email and attach to it the file, it starts with choosing the file to be sent over email, then a new email will be opened.
    I believe these issues are very serious when talking about business iOS users.

    Tap the square with arrow on top right and select pictures you want to send (max 5 pictures)
    http://i1224.photobucket.com/albums/ee374/Diavonex/f0bd7d73.jpg

  • How do i send a gift card to more than one person

    HOW DO I SEND MORE THAN ONE GIFT CARD AT A TIME PLZ HELP IM DYING

    Repeat the process for each gift card.  They must be sent independently as they are sent to different person.

  • Import AP Invoices with more than one Prepayment Application

    Hi,
    We have a requirement to import AP Invoices from the legacy system with more than one prepayment application to the invoice.
    The AP_INVOICES_INTERFACE table provides only one column for Prepayment Number. Also, more than one line can not be created for the same invoice number.
    Is there any solution to the above situation?
    Gajendra

    Dear Srikanth,
    Thanks a lot for your reply.
    We want add a invoice with DI API, but the DI API provide only one costing center: CostingCode in Document_Lines Object. But we have two costing centers, one is department, the other is salesperson.
    This is my question.
    It will be appreciated highly if you give me a solution.
    Thanks!
    Xingjun Han

  • Sending a Text Message to More Than One Person...

    How do i send a single text message to more than one person? Is that possible?

    Not possible at present. It's on the list of feature requests. We hope an update will add this feature in the near future.

  • IDOC: INVOIC - for more than one purchase order

    Hello Experts,
    I have an IDOC INVOIC for incomming invoices.
    The problem is, that in case of more purchase orders (GR was posted with the same delivery number!) the IDOC can not be posted, because it just finds the first PO (invoiced quantity higher than GR quantiy).
    How can i reach, that the IDOC finds all PO with the same delivery number (from GR) und splits up the the relevant purchase orders!
    In Segment E1EDP02
    i have qualifier 016
    and BELNR = is the delivery numner by GR (the delivery numner is the same for all POs).
    Many thanks in davance,
    Hannes

    Hi Prashant
    1-I accessed form Setup > Transactions > AutoInvoice > Grouping Rule and removed (Group by) Data at the table
    2-at system opiton i made this rule used
    3-i Created 2 sales orders and shipped it
    4-Post to the Receivables
    it generates 2 invoices for every sales order not one invoice for the two sales order
    what's my error
    Regards
    Amr Hussien

  • How to send the invoice through more than one E-mail Ids?

    Hi Experts,
    I need to send invoice to two email ids. I made a set up in vv31 by setting the transmission medium 7 but
    it doesn't work.
    The customer is asking that when i do invoice it should go to two email address.
    Which output type i should take?
    Kindly help me regarding this.
    Thanks
    Raghu

    Hi,
    In VV31
    In communication maintain recipients as your 2 Emil id's and recipient type
    If you have customized output then take that if Not then use standard RD00
    Kapil

  • Can you send a link to view more than one image?

    I need to send a link to a bunch of images, rather than just one at a time. You can't seem to do that with a folder. Is there any other way to accomplish this?
    Thanks.
    Bob

    Thanks very much for the info, Ken.
    I don't know if they're go for that, but I'll suggest it.
    Thanks again.
    (Put a ruch on that file sharing option...please!...lol)
    Bob

  • I want to send  a text message to more than one person!

    HOW?

    Well, I was typing up a solution for ya and decided to test it to see if it still worked, but apparently it doesnt, at least not with cingular/at&t. You used to be able to send text messages to people via e-mail by using their [email protected] The syntax might have changed. I would check into this and see if it's available for AT&T still and for the networks the other people you want to text at the same time are using. Add that as the person's e-mail address in your contact list and just e-mail them all at the same time on the iphone.

  • How to send a text message to more than one recipient?

    Hi There,
    I'm most likely missing something very obvious here, but I cannot figure out how to add a second (or more) recipient in the To: field for a text message. I can add, select the first recipient, delete etc. but can't figure out how to add another.
    Any help much appreciated,
    Rod.
    iPhone Mac OS X (10.4.8)
    Macbook
    iPhone    

    Please see this thread:
    "Solution: How to (maybe) SMS multiple people...or at least work-around"
    http://discussions.apple.com/message.jspa?messageID=4872943#4872943

  • How do I send a text message to more than one contact

    How do I send a text message on my iPhone 4 to various friends? How do I create a "Group Contact"?, I never had to do it or sent them separate, but I think is time to learn.
    Thank you.

    Thank you so much, will do it.
    Happy Holiday Season!

Maybe you are looking for

  • Open the reservation for the Production order

    Hi, I have post the GI for Production order MB1A with movement type 261 from 100 peaces components. I would like to cancel a partial quantity of components from this posting (about 30 peaces). After cancel it the reservation for the production order

  • APEX Report Formatting in PDF Help

    Hello there, I was asked to create a report in APEX that will generate a report in PDF. The report will have the first column that will print Institution names, the subtotal should print the institution sector (eg: research university or state Univer

  • In Apps I pad I was Committed to A newspaper Contract Witgout Pressing Accept

    Today on my New I Pad I looked in Apps Newspapers (which it said it was Free) I Clicked On The Daily News To see if the On Line version Was the same as todays Copy Which I Purchase every day. A staement came up Cancel or Accept I Clicked Cancel. The

  • How to debug start routine for the custom code?

    Hi Experts, Can anybody tell me how to debug the start routine? Also could you please guide me where to write the custom code in the start routine. Thanks in advance. Sharat.

  • No section Org Unit Information in Nakisa OrgChart

    Hello We have faced a problem during the customization of the Nakisa OrgChart. I go to Nakisa Admin Console - OrgChart - Hierarchies - Organizational structure - Details Designer. There are two sections which must be displayed in Nakisa OrgChart: Org