Send multiple email attachments using FM SO_NEW_DOCUMENT_ATT_SEND_API1.How?

Hi All,
I have a requirement to send email to an external ID for which I am using FM SO_NEW_DOCUMENT_ATT_SEND_API1.Can anyone give a sample code to send multiple excel attachments using this function module.
Points would be rewarded.
Thanks
Archana.

Check the Thread,,
Re: more than 1 attachements/sheets in SO_DOCUMENT_SEND_API1

Similar Messages

  • When sending an email I used to be able to add a distribution list from my contacts, I now have to add each email address individually, does anyone know how I can add the whole list?

    When sending an email I used to be able to click on a distribution list in my contacts and it would add all the email addresses, I now have to add each email address individually and this takes a lot of time.  Could someone tell me how I can add a distibution list/group to my emails?

    Barney,
    I have four groups.
    I just typed the name of one of those groups in the To field on the iPhone's email, and received:
    Invalid Address
    "<group name>" does not appear to be a valid email address.  Do you want to send it anyway?
    I clicked continue and it remains in my outbox.
    Help is appreciated.
    Thanks,
    Michael

  • Multiple Email Accounts using MS Mail

    I want to setup multiple email accounts using MS mail.  My already has an account, but I want to add an account for my son.  I've added the account on verizon and in MS mail.  However, I want to have completly separate accounts so that when my son opens his email  he only see his email and when my wife opens her email, she only sees her email.  Right now, when MS mail is opened both their emails come up and when they send an email, they must select which email account they are sending from.
    Does anyone know how to do this?

    One option would be to not use MS Mail (I assume you really mean Windows Live Mail?).   You could create accounts for them and have them just use the Web mail interface to get to their mail.
    Another option would be to give each person their own "user account" on your machine instead of all logging into the computer as the same userid.   If you do this, any mail settings will remain with the individual account.

  • Norton Internet Security cannot scan emails the use SSL. How do I insure that I do not get a virus or malware by opening an email in Thunderbird?

    Norton Internet Security cannot scan emails the use SSL. How do I insure that I do not get a virus or malware by opening an email in Thunderbird? I have read that you don't have to click on a link to get malware but that some email can trigger malware just by opening and reading. Any suggestions to keep my emails from triggering malware? AOL Desktop software has it's own built-in email scanner but I'm trying to get away from using their software and rely just on TB.
    Thanks

    There are many aspects to this question.
    First, using SSL or TLS to send and receive email is important because it prevents others from sniffing your email login. Particularly if you are using a device over wi-fi or on untrusted networks, this is critical because if others obtain your email login, bad things can happen.
    Of course, using SSL or TLS with your mail server also protects the content of your email from being captured by others, so that's good too.
    Second, you are correct that there can be security threats in email other than the attachments, although the attachments generally are the most dangerous. Your antivirus should protect you from bad attachments because in order to open them, they need to be written to disk in a temporary folder, and your AV software leaps into action whenever a new file is added to disk. You also can hedge your bets by using a two-step approach: first save the attachment to disk and only after it survives the real-time AV scan then launch it in the appropriate application.
    Sometimes content in the message body can trigger a vulnerability in your email software or a plugin. As these vulnerabilities become known, Mozilla updates its software, but there seem to always be new issues discovered and there will never be perfect security. I'm not sure how helpful email scanning is for this problem.

  • Workflow sending multiple emails

    Workflow sending multiple emails.
    I had created the workflow for document library (ABC)
    The document library ha 2 fields
     1. Employee Name
     2. Resume Type
    Document Library Settings are as shown in the screenshot.
    My workflow settings are as shown in the screenshot:
    When I upload a document, workflow is sending 2 emails.
    How to resolve to send only 1 email. Any help will be appreciated. 

    Hi,
    According to your description, my understanding is that the workflow you created sent two emails instead of one emails if you uploaded a document to library.
    Could you provide the actions that you used in the workflow or a screenshot about your workflow?
    Please add a step at the end of your workflow which will pause the workflow for a few minutes and test whether this issue occurs.
    Here is a similar post:
    https://sharepointnomad.wordpress.com/2013/05/09/solved-sharepoint-2013-custom-workflow-generates-duplicate-email-notifications/
    Best Regards,
    Dean Wang
    TechNet Community Support
    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]

  • ICal sends multiple emails for invites and updates to event attendees - HELP!

    Every time I create or send an event in iCal, it sends multiple emails to each attendee (2-3 duplicate emails) with the same event.  So if I have 3 event invitees, they get 3 emails each.  All the emails are sent from the correct account in Apple Mail, and the calendar itself shows only one email address for each attendee, but for some reason the sent folder shows that each person was emailed 2-3 times.  This is causing quite a problem for work, as any invite I send is clogging up inboxes with duplicate and triplicates for each attendee. 
    When I send a meeting acceptance, it only sends one reply, so I have no idea why it's duplicating or triplicating events when new ones are sent out or udpated by me.  I can't delete my calendar without losing important events from clients or what not, so I'm not sure what to do.
    Also notable:
    I am NOT using iCloud calendars as I needed to create a calendar group and iCloud didn't support that.
    My calendar is syncing to an FTP so that people in my main office can view and download my calendar as needed.
    I am on a brand new (not even 2 mos old) MacBook Pro Retina 2013 model, with OS X 10.8.3
    I am on Calendar 6.0
    I can't change/update events on my calendar from one sub-calendar to another once they are created (though I can edit on my iPhone and resync). This is really annoying and I've posted about this before to no avail (thread here: https://discussions.apple.com/message/21646850#21646850 and here: https://discussions.apple.com/thread/3920017?start=0&tstart=0).
    For now (for this thread) I'd like any help possible in getting my calendar to send just ONE email to meeting attendees when I create and/or update an event.
    Thanks!

    I have the same issue.  Did you get a resolution to this?  Whenever I add a new person to the meeting invite iCal always resends the entire invite...it should just send the invite to newly added participants.

  • HT2523 My TextEdit will not open email attachments ending docx. How can I remedy this?

    My TextEdit will not open email attachments ending docx. How can I remedy this?

    No, TextEdit cannot read those. You will need to convert them to .doc files first:
    Mac users using Word 2004 who receive a Word 2008 for Mac, (or Word 2007 for Windows) document, will not be able to read this without having the Open XML Converter installed, which can be downloaded from Microsoft.
    Go to this page:
    http://www.microsoft.com/mac/downloads.mspx
    and click on the right under Most Popular, 'Open XML File Format Converter for Mac 1.0.2'
    This opens a window at the bottom of the page. Scroll that to the bottom and click on English.dmg, and it will download for you as a disk image, which can be installed in the usual way.
    After installation you can open and read .xml formatted Word 2008 documents in Word 2004.
    Update: This link  http://support.microsoft.com/kb/976831  takes you to a newer version 1.1.3 (released Nov 10, 2009).

  • Users sends multiple emails for one email to be received

    I have a user who states that she has to send multiple emails to a customer before she one is able to get through.  She doesn't receive a bounce back from them.  I recently suggested she remove an images from the emails, we have a corporate logo
    that can be used in our signatures, as many of her customers are government and I figured they may be blocking the emails for this reason.  Nothing seems to have helped and she still seems to be having the issue.  This also occurs sometimes for some
    of her customers and other times with others, so it doesn't seem specific to the customer.  I have repaired Office and run a virus scan, the scan came up with minimal malware and removed it.

    Hi,
    Please follow these steps to create a test email in Outlook and send out:
    1. Open Outlook, click New Email.
    2. In the new window, edit To and Subject fields.
    3. Click OPTION, check Request a Delivery Receipt.
    4. Then click Send to send the test message.
    Please check whether the test message is listed in the Sent Items folder or not. Also waiting for the Delivery Report of this message.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Sending multiple email for free goods item category??

    Hi,
    we have requirement to send email (Z report in smartforms) automatically when sale order save in tcode VA01/VA02.
    we made reqd config in tcode NACE and we set access sequence on ORDER TYPE and it's working fine. but the problem is that when order booked for item category free goods it sends multiple emails. (i.e. no. of line items = no. of email) for one order no. All other item category is working fine. only problem with the free goods.
    I am an abaper. all config are made with the consent of SD consultant.
    pls help.
    thanks
    Radhashyam Sahoo.

    If you are an ABAPer, then it sounds like you simply need to debug the processing to identify where/why the fault occurs.  As for the NACE settings, you should understand the config as well as your functional counterpart.  It will make you a better developer and help you understand the processing code.

  • Send attachment though mail using FM SO_NEW_DOCUMENT_ATT_SEND_API1

    Hello Gurus,
    Please help me with the mail sending attachment(excel file) using FM SO_NEW_DOCUMENT_ATT_SEND_API1.
    Here is the actual problem.
    I am using the FM SO_NEW_DOCUMENT_ATT_SEND_API1 in my prog.
    My attachment(excel sheet which is taken from internal table) contains the 10 records with one header description and data related to that description.
    I am able to send the attachment but the records in the attachment has more than 255 characters nearly 700 character length.
    So I spilt up each internal table record(with structure type solisti1) into 3 internal table records and populated it.
    It is showing the entire record in the attached file but I am not able to see some fields which are embeded deeply inside the cells.
    And they are not having any proper allignment.
    Please do help me.
    Promise to reward points.
    Mac

    Here is the sample 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.
    DATA: TAB_LINES LIKE SY-TABIX.
    Creating the document to be sent
    DOC_CHNG-OBJ_NAME = 'OFFER'.
    DOC_CHNG-OBJ_DESCR = 'Auction of a Picasso jr'.
    OBJTXT = 'Reserve price : $250000'.
    APPEND OBJTXT.
    OBJTXT = 'A reproduction of the painting to be auctioned'.
    APPEND OBJTXT.
    OBJTXT = 'is enclosed as an attachment.'.
    APPEND OBJTXT.
    DESCRIBE TABLE OBJTXT LINES TAB_LINES.
    READ TABLE OBJTXT INDEX TAB_LINES.
    DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
    Creating 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.
    Creating the document attachment
    (Assume the data in OBJBIN are given in BMP format)
    OBJBIN = ' \O/ '. APPEND OBJBIN.
    OBJBIN = '     '. APPEND OBJBIN.
    OBJBIN = ' / \ '. APPEND OBJBIN.
    DESCRIBE TABLE OBJBIN LINES TAB_LINES.
    OBJHEAD = 'picasso.bmp'. APPEND OBJHEAD.
    Creating the entry for the compressed attachment
    OBJPACK-TRANSF_BIN = 'X'.
    OBJPACK-HEAD_START = 1.
    OBJPACK-HEAD_NUM   = 1.
    OBJPACK-BODY_START = 1.
    OBJPACK-BODY_NUM   = TAB_LINES.
    OBJPACK-DOC_TYPE   = 'BMP'.
    OBJPACK-OBJ_NAME   = 'ATTACHMENT'.
    OBJPACK-OBJ_DESCR = 'Reproduction object 138'.
    OBJPACK-DOC_SIZE   = TAB_LINES * 255.
    APPEND OBJPACK..
    Entering names in the distribution list
    RECLIST-RECEIVER = '<name>@yahoo.com'.
    RECLIST-REC_TYPE = 'U'.
    APPEND RECLIST.
    RECLIST-RECEIVER = 'DLI-NEUREICH'.
    RECLIST-REC_TYPE = 'P'.
    APPEND RECLIST.
    Sending the document
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
             DOCUMENT_DATA = DOC_CHNG
             PUT_IN_OUTBOX = 'X'
             COMMIT_WORK   = 'X'
        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.
         CASE SY-SUBRC.
           WHEN 0.
             WRITE: / 'Result of the send process:'.
             LOOP AT RECLIST.
               WRITE: / RECLIST-RECEIVER(48), ':'.
               IF RECLIST-RETRN_CODE = 0.
                 WRITE 'sent successfully'.
               ELSE.
                 WRITE 'not sent'.
               ENDIF.
             ENDLOOP.
           WHEN 1.
         WRITE:
         / 'no authorization to send to the specified number recipients!'.
           WHEN 2.
             WRITE: / 'document could not be sent to any of the recipient'.
           WHEN 4.
             WRITE: / 'no authorization to send !'.
           WHEN OTHERS.
             WRITE: / 'error occurred during sending !'.
         ENDCASE.
    Regards,
    Pavan.

  • SharePoint 2013 - SPD Custom Workflow keeps sending multiple emails for a single Task

    I have a workflow triggering on List item created only. There are multiple stages in the work flow and in each stage a single task is assigned to a group of people. Currently group is only having one user i.e. my own test user with a valid email address.
    Workflow was running fine for first 5 runs but now it keeps sending multiple emails for each task multiple times and runs very slow. I have only single workflow in development server with 24GB RAM.
    Enabling the Workflow log in Event viewer does not show any error or warnings. The only clue I see is WorkFlowManager Database table "DebugTrace" having multiple entries showing that WF is trying to send same email multiple times with failed attempts,
    but in reality emails are being delivered as well.
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx Status: HTTPRetrying
    http://server/site/_vti_bin/client.svc/sp.utilities.utility.SendEmail Retry sending email in xx.xx.xx  Status: HTTPFailed
    I could not get the exact phrase as I don't have direct access to development machine at work.
    Any help or guidance will be highly appreciated.

    Yes, I have on-premise SP site, and here is the actual log I see in DebugTraces table.
    Message              Level     Name    Category
    Attempt 1 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:06.            
    2              HttpRequestRetrying     Http
    Attempt 2 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:07.            
    2              HttpRequestRetrying     Http
    Attempt 3 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:09.            
    2              HttpRequestRetrying     Http
    Attempt 4 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' failed with response '<Exception.
    No Status Code>'.              2              HttpRequestFailed          Http
    Attempt 5 of the HTTP request to 'http://site/collection/_vti_bin/client.svc/sp.utilities.utility.SendEmail' will be made in 00:00:13.            
    2              HttpRequestRetrying     Http

  • Sending mails with attachments using oracle 8i

    Hi,
    Could anybody please send a sample code for sending mails
    with attachments using oracle 8i.
    Thanks in advance

    For oracle8i there is an example package from OTN:
    http://www.oracle.com/technology/sample_code/tech/pl_sql/htdocs/Utl_Smtp_Sample.html
    You have to re-write the package a bit to work it with BLOBs instead of RAW attachments, but that should be no problem
    Hop this helps,
    Michiel

  • Send an email  by using FM SO_NEW_DOCUMENT_SEND_APII

    hi ,
    I am able to send an email by using this FM.SO_NEW_DOCUMENT_SEND_API.
    But now the requirement chnaged for to default the sender ID default.
    I found that this is not possible by the current fm.
    I sthere any other way to send an email with content in Body of email with sender address default.
    Regards,
    Esh

    > I sthere any other way to send an email with content in Body of email with sender address default.
    Hi Eswar.,
    i didnt get you.,
    Suppose if you looged in to user id E00593 and Send Mail ., From address will be  the email Id corresponding to E00593 ( you can see the Email Id for the user in SU01 Tcode )
    When You send the Email using so_new_document_send_api1  the default sender address will come based on the logged In user Id.,
    revert if you are asking about some other issue.,
    hope this helps u.,
    Thanks & Regards,
    kiran

  • I want to build a website that can send out email automatically using c#

    I want to build a website that can send out email automatically using c# and sql server when a date has reached. I have googled but nothing works.
    http://www.quartz-scheduler.net/documentation/quartz-2.x/tutorial/using-quartz.html
    I came across this, but I am still unsure what to do. 

    I came across this, but I am still unsure what to do
    http://forums.asp.net/

  • It's currently taking me ages to send multiple emails as I'm having to copy and paste the email each time. Does anyone know if there is a way that I can send the same email several times but that can be addressed (Dear....) to different people?

    It's currently taking me ages to send multiple emails as I'm having to copy and paste the email each time. Does anyone know if there is a way that I can send the same email several times but that can be addressed (Dear....) to different people?

    Oh at least just duplicate the same email several times so all I will be maunally inserting each time will be the address/name??? Please help!!!

Maybe you are looking for

  • How to import existing WLS Portal App into Workshop?

    I have searched and searched, and tried every different combination of imports, with no success. I have an existing EAR file, with a Portal Application, created for WebLogic. I am able to deploy it to my server, and it works fine. I would like to imp

  • Delete Record, Javascript error

    Hi everyone Just wondering if you can help.  I am getting 2 javascript errors in dreamweaver when I try to enter a delete record using server behaviour. They are (in order they appear) While executing onblur in DeleteRecord.htm, the following javascr

  • Setup Streams Fails ORA-23616

    Run the following to setup streams but it failing. BEGIN DBMS_STREAMS_ADM.maintain_schemas (schema_names => 'hr', source_directory_object => NULL, destination_directory_object => NULL, source_database => 'orcl1', destination_database => 'orcl2', perf

  • How to run script in HP -UNIX

    Hi all, I am facing problem in running oracle scripts in HP-Unix.. In nohup option i can`t able to use @ symbol... can anyone suggest me how to run ???its urgent In solaris i usually run like below nohup sqlplus -s data/data @script.sql & but i cant

  • MacBook Pro i7 slow!! What to do?

    I have a MacBook Pro 15" late 2012 model with the quad core 2.3 Ghz i7 and 4gb ram Of late it has started working very slowly. Pages takes a minute to open, finder hangs and safari cracks. Also iLife is slow. What to do? Gaming has bobissues I can pl