Attach an Excel File with Email for External Email Address

Hi,
I want to send an excel file to an external email address as an attachement.
I am using the function module SO_NEW_DOCUMENT_ATT_SEND_API1 for sending the email.
But as far as I know we can only create and send the excel file in this FM. e.g. we can put the text manually and name the file as excel and add it as packing list and send the document.
Now, my client has a template in excel/word which he wants to send as an attachment always when he sends the mail. I have below Queries:
1. Where and how do i store the template which is in Excel or word? He doesnt want to upload the template each time he runs the report. Can I save the file on AL11? how do i insert the file in this?
2. I have tried standard texts, but his template contains a logo. So, I am not sure if that would work. Can I send the template in Binary and just aapend the file extension? xls or doc? would that do?

Hi,
See if you can matintain the required templates in document management and use them in your reports.
Try the link below for reference.
[Document Management|http://wiki.sdn.sap.com/wiki/display/PLM/Templates-Document+Management]]
Regards,
Booma

Similar Messages

  • How do I save excel file with password for read only access ?

    Hi
    I am trying to save an excel file with a password to make it read only when opened
    using OLE2 . I am having a problem with the parameter list. This is my code that does
    work.
    args := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(args, 'C:\Reports\Excel\File.xls');
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 'TEST');
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 0);
    ole2.add_arg(args, 1);
    I also have the following code at the beginning of the program to suppress dialogs.
         OLE2.SET_PROPERTY(application,'DisplayAlerts', 'FALSE');
         ole2.set_property(application,'Visible', 'false');

    Hope it help.
         -- Begin : Protect your worksheet
         args := OLE2.CREATE_ARGLIST;
         OLE2.ADD_ARG(args,yourpassword); -- choose your password
         OLE2.INVOKE(worksheet, 'Protect', args);
         OLE2.DESTROY_ARGLIST(args);
         -- End : Protect your worksheet
         -- Begin : Save and close worksheet
         OLE2.INVOKE(workbook, 'Save');
         OLE2.INVOKE(workbook, 'Close');
         -- END : Save and close worksheet

  • I can't attach a large excel file with firefox. to an email.

    I often attach files to email, but this particle file will not attach.

    Go here for information how to access your firefox profile.
    http://mzl.la/NYhKHH
    Directions from the website link above…
    Windows 7 - Vista
    1. Click the Windows Start button and type %APPDATA%\Mozilla\Firefox\Profiles\ in the Search box at the bottom of the Start menu, without pressing Enter. A list of profiles will appear at the top of the Start menu.
    2. Click on the profile with “default” in the name to open it in a window.
    Windows XP
    1. Click the Windows Start button, and select Run....
    2. Type in %APPDATA%\Mozilla\Firefox\Profiles\ then click OK.
    3. A window will open containing profile folders.
    4. Double-click the folder with “default” in the name to open it.
    Once in the default profile look for a file called …. User.js and if it is not there use notepad to create a user.js file in the same folder. After you have created the file reopen it and copy the following text into the file and save.
    user_pref("capability.policy.policynames", "allowclipboard");
    user_pref("capability.policy.allowclipboard.sites", "https://www.mozilla.org");
    user_pref("capability.policy.allowclipboard.Clipboard.cutcopy", "allAccess");
    user_pref("capability.policy.allowclipboard.Clipboard.paste", "allAccess");
    After the file is saved then restart firefox.

  • Download records to EXCEL file with  Leading Zero's for numbers

    Hi All,
    I am able to download the data to EXCEL file on the presentation server.
    There are few fields (Plant,SalesOrder Number ..with Leading Zero's) in the record.
    These values are downloaded with out Leading Zero's to excel( EX: 0000004122 as 4122).
    Please help me to download the data to EXCEL file with leading zero's.
    Thanks and Regards,
    KC

    >
    Krishna Chaitanya  G wrote:
    > The excel file which is to be downloaded..will be used by some other program..to upload the values to the sap.
    > It matters there....
    > KC
    HI KC,
    then no need to download the zeros,
    after uploading, loop at that uploaded internal table and use CONVERSION_EXIT_APLHA_INPUT and pass the vbeln(without zeros) to this FM, it will return the value with added zeros.
    hope this solves your query
    a small example
    Loop at itab into is.
    CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
    EXPORTING
    INPUT = is-vbeln "(  this is without zeros)
    IMPORTING
    OUTPUT = is-vbeln. "( this is with leading zeros)
    modify itab from is.
    endloop.
    Edited by: Soumyaprakash Mishra on Oct 6, 2009 2:16 AM

  • Excel file with auto-filter

    I have a excel file with auto-filters (sort filters) i'm
    trying to incorporate that into my web page via dreamweaver. what
    is the best method on doing so? converting the file to any other
    format will loose the auto-filter feature i have setup on the excel
    file. any ideas would be appreciated.

    Nor do I... Now! ;-)
    BTW interesting error message. I've never seen that.
    Walt
    "Ken Binney" <[email protected]> wrote
    in message
    news:g8kig8$2tm$[email protected]..
    > Thanks for posting that Walt, but I have no problems
    reaching the site
    > from New York.
    >
    >
    >
    > "Walt F. Schaefer" <[email protected]> wrote
    in message
    > news:g8kco3$o97$[email protected]..
    >> link delivers this: This Account Has Exceeded Its
    CPU Quota
    >>
    >> Whoops!
    >>
    >> --
    >>
    >> Walt
    >>
    >>
    >> "Ken Binney"
    <[email protected]> wrote in message
    >> news:g8k8vp$j7e$[email protected]..
    >>> You might also consider converting it to a table
    and use javascript for
    >>> sorting
    >>> Here's a free script
    >>>
    >>>
    http://www.mingyi.org/other/ts_demo.html
    >>>
    >>> "bronxbabie1"
    <[email protected]> wrote in message
    >>> news:g8jsro$269$[email protected]..
    >>>>I have a excel file with auto-filters (sort
    filters) i'm trying to
    >>>>incorporate
    >>>> that into my web page via dreamweaver. what
    is the best method on doing
    >>>> so?
    >>>> converting the file to any other format will
    loose the auto-filter
    >>>> feature i
    >>>> have setup on the excel file. any ideas
    would be appreciated.
    >>>>
    >>>
    >>>
    >>
    >>
    >
    >

  • Attaching generated excel file in cfmail

    Hi,
    I've attached the code in which I've generated an excel file
    from my data, which the user can then open/save on their PC. I now
    want to attach this excel file to an email (using cfmail) and send
    it (the task will then become scheduled).
    How do I save rather than output the excel file?
    Katie

    Hi,
    Have a look at the following tags:
    1)
    <cfsavecontent> to generate a variable from your
    tab-delimited content
    <cffile action = "write"> to generate a temp file with
    your content
    <cfmail> and attach that file to your email
    or
    2)
    <cfsavecontent>
    <cfmail>,<cfmailpart> to attach the variable
    directly to the email without creating a temp file first (have not
    tried that myself)
    cheers,
    fober

  • Restrict email attachments if more than 1mb for internal and 250kb for external emails

     
    Hi,
    Restrict email attachments if more than 1mb for internal and 250kb for external emails ?
    Can any one help me in this issue
    Thanks
    Deepan.T

    Hi Deepan,
    You can use transport rule to restrict the attachment size.
    I use the following transport rule to reject the attachment size over 2MB with "5.7.1" information returned.
    New-TransportRule "block large attach" -AttachmentSizeOver 2MB -RejectMessageEnhancedStatusCode "5.7.1"
    For more information, here is an article for your reference.
    New-TransportRule
    http://technet.microsoft.com/en-us/library/bb125138(v=exchg.141).aspx
    Hope it helps.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • Excel file with numbers on ipad.

    I sent an excel file with numbers to my ipad.  When I open it with Numbers there is no data in the cells.  HELP!!

    How did you send it? Email? iTunes?

  • Oracle WebADI: How to Download the WebADI Excel File with Parameter

    Hello Friends,
    How to Download the Oracle WebADI Excel File with Parameter??
    For Ex: How to download the Employees for Specific Department from Oracle WebADI.
    And After to change the specific changes on Employee Data to Upload.
    Thanks in Advance.

    Hi Team.
    Any Advise on it!!

  • Need to generate the excel file with diffrent sheets using utl_file package

    Hi,
    Sorry for previous message in which I had missed the usage of " UTL_FILE " package
    I need to generate the excel file with diffrent sheets . Currently I am generating the data in three diffrent excel files using
    " UTL_File " package and my requirement is to generate this in a single excel file with diffrent sheets.
    Please help on this
    Thanks & Regards,
    Krishna Vyavahare

    Hello 10866107,
    at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the packages behind second and fourth link support more than one worksheet.
    Regards
    Marcus

  • From sap to excel file with different sheets?

    can  i upload   an internal table  from  SAP to single Excel file with different sheets for example like : sheet1, sheet2, sheet3.......sheet10. , but need to upload data from sap to excel worksheets ie. from multiple named tabs in Excel. Is this possible, and if so, please can you help and advise me how?
    thanks
    venkat.
    Edited by: Matt on Feb 16, 2009 2:15 PM  Removed excessive question marks...!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi venkat,
    Yes indeed it is possible to write data from internal table to different excel sheets. Check out SAP's Microsoft OLE functionality.Search on SDN for OLE . Following are some links
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/sample%252bprogram%252bto%252bopen%252bexcel%252bsheet%252busing%252bole
    You can also check out FM ALSM_EXCEL_TO_INTERNAL_TABLE to check how to read different worksheets.
    Using the above two resources you can create a program that can upload data to multiple worksheets in the same workbook.
    Also see this link
    Creating Excel with More than one page
    Edited by: aditya aghor on Feb 16, 2009 1:57 PM
    Edited by: aditya aghor on Feb 16, 2009 2:02 PM

  • How to read a passward protected excel file with the help of database connectivity tool kit

    hi, i was reading an excel file with the help of database connectivity tool kit in labview 8.0
    i made tabels in the excel file nand made odbc connection and specified the workbbok name.
    now my problem is how to read the same file if i specife a pasword to that excel file ?

    Hi,
    Check out this thread about opening a password-protected Excel file using ActiveX. This should take care of it for you!
    Amanda Howard
    Americas Services and Support Recruiting Manager
    National Instruments

  • Any way to export table to excel file with leading 0s?

    I have to export about 50 excel files from different tables.  Some tables contain leading 0s in the columns.  If I use bcp to export to xls file, the leading 0s will be missing.  If bcp to csv or txt file, there will be no issue at all.  But I have to export to xls file in order to let client update that xls file and reload to tables again.
    Is there any other ways to do this task?
    Thanks in advance.

    Ok,  I played with it and fixed it on mine to work.
    Here is what you do.  Create a blank Excel file in Excel with a single header row with your column names in it, and then set the datatypes for each column in Excel to match your export type.  For the below, create an Excel file and in column A1, put "Name" and change the column to Type Text.  Then in B1 type Date and set it to type Date, then save the file as c:\Test.xls.  Then close the file in Excel.
    In SSMS execute the following:
    Code Snippet
    INSERT INTO OPENROWSET('Microsoft.Jet.OLEDB.4.0',
    'Excel 8.0;Database=C:\test.xls;HDR=YES',
    'SELECT Name, Date FROM [Sheet1$]')
    SELECT [Name], GETDATE() FROM msdb.dbo.sysjobs
    GO
     It worked perfectly in my environment.  Don't bother with BCP, just create a formated Excel File with a header row with your output column names and then save it.

  • Setting up MX Record for External email Access

    To All,
    I'm having trouble getting mail sent from external users to email accounts setup on my internally hosted server.
    I have setup my server in a Standard Configuration using the following format for my FQDN:
    server.mydomain.com (not real name)
    I have checked both Primary Zone and Reverse Zone and both check fine.
    I can send and receive email, while connected within my local domain, between users I have setup on my server using the format:
    [email protected]
    I can send email from inside the network to an outside email account, but cannot receive email from any users outside.
    I have POP, IMAP, and SMTP ports (110, 143, and 25, respectively) all forwarded to my server thru my AEBS.
    Consulting the setup guides, I have found these references to editing the MX record to allow for external email access using the [email protected] format:
    +"If you don’t want to use your server’s fully qualified DNS name for users’ email addresses, the+
    +DNS service must also include an MX record for your server. For example, if your server’s DNS+
    +name is myserver.example.com and you want to have email addresses like [email protected],+
    +the DNS service needs an MX record for your server."+....from the Installation and Setup Worksheet, page 15.
    also
    +"If you want users to be able to send and receive mail over the Internet, make sure DNS+
    +service is set up with the appropriate MX records for Mail service:+
    +A. If you have an ISP that provides DNS service to your network, contact the ISP and+
    +have the ISP set up MX records for you. Your ISP needs to know your mail server’s+
    +DNS name (such as mail.example.com) and your server’s IP address."+...from the Mail Service Admin page 22.
    My question is...how does the MX record need to be set up?
    Like this?
    10 @ mydomain.com
    Thanks for your help,
    Steve

    Camelot,
    Thanks for replying.
    1) What format do you want your users' email address in? (e.g. [email protected], >[email protected], [email protected], etc.)
    I want my users to have a [email protected] email address.
    I set up an A record as you suggested:
    mail.mydomain.com A 1.2.3.4
    My MX record was setup:
    mydomain.com 10 mail.mydomain.com
    However, I am still getting returned email from outside users. They are getting the following error:
    +This is an automatically generated Delivery Status Notification+
    +Delivery to the following recipient failed permanently:+
    [email protected]
    +Technical details of permanent failure:+
    +Google tried to deliver your message, but it was rejected by the recipient domain. We recommend contacting the other email provider for further information about the cause of this error. The error that the other server returned was: 554 554 5.7.1 <[email protected]>: Relay access denied (state 14).+
    Checking the Server Logs for IMAP I am getting these errors:
    +Jan 21 12:11:34 server imap[44121]: AOD: user opts: get attributes for user: user failed with error: -14479+
    +Jan 21 12:25:18 server imap[44236]: AOD: user opts: get attributes for user: user failed with error: -14479+
    +Jan 21 12:31:46 server imap[44473]: AOD: user opts: get attributes for user: user failed with error: -14479+
    +Jan 21 12:32:49 server imap[44499]: AOD: crypt authentication error: authentication failed for user: username (-14090)+
    +Jan 21 12:37:06 server imap[44598]: AOD: user opts: get attributes for user: user failed with error: -14479+
    +Jan 21 12:49:39 server imap[44520]: AOD: user opts: get attributes for user: user failed with error: -14479+
    +Jan 21 13:01:51 server imap[45049]: AOD: user opts: get attributes for user: user failed with error: -14479+
    +Jan 21 13:11:58 server imap[385]: AOD: user opts: get attributes for user: user failed with error: -14479+
    When I try and use an online MX Record checker to check the MX record, it says the mail.mydomain.com record is invalid.
    It's not until I change my MX record back to:
    +@ 10 mydomain.com+
    will the MX record show valid.
    Network Utility scans show the following with the MX record set to @ 10 mydomain.com:
    ++; <<>> DiG 9.4.2-P2 <<>> mydomain.com mx +multiline +nocomments +nocmd +noquestion +nostats search+
    ++;; global options: printcmd++
    ++wekrugs.com. 3600 IN SOA server.mydomain.com. admin.mydomain.com. (++
    ++ 2009011900 ; serial++
    ++ 86400 ; refresh (1 day)++
    ++ 3600 ; retry (1 hour)++
    ++ 604800 ; expire (1 week)++
    ++ 3600 ; minimum (1 hour)++
    ++ )++
    If I have it set up the way you suggested, the Network Utility and MX Checker reports that the NameServers don't respond to the entered MX record name.
    Thanks again for your help,
    Steve

  • How to auto insert a number array with size of 20 into a named excel file with the positon is from A1 TO A20?i use lv6.1

    can you give me a example vi for it ?thanks a lot!
    how to auto insert a number array with size of 20 into a named excel file  with the positon is from A1 TO A20?i use lv6.1

    You don't need us to give you an example, as the example already comes with LV. Go to Help>>Find Examples and search for "excel". You will find an example called "write table to XL". You should note that the example doesn't do that exactly, because it writes a 2D array from 2 to N.
    You can modify the example by using only one for loop (instead of nested loops) with a 1D array or by going into the Set Cell Value and modifying it to accept a second cell value for the Cell2 terminal and wiring in a 1D array instead of the single string. If you do modify it, be sure to save it under a different name, so you don't overwrite the original.
    To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
    In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
    Try to take over the world!

Maybe you are looking for

  • How do I view credit card details in my account?

    HI I got a message from Apple support to say my details had been changed credit card and if it wasn't me which I don't think it was cause I don't know how to get into the details to cahnge them!! i Have changed my password now but need to go in and v

  • File type association

    Hi, Is it possible to associate a file type extension (*.txt) for example to a labview aplication ? That in order to open a file just by double clicking on it. Thanks in advance for your help. Maxime

  • How do I change the background of a single cell or a row in a table?

    How do I change the background of a single cell or a row in a table? I doesn't seem to be letting me do that.

  • Duplicating DVDs from Sony DVD/VCR combo

    Please forgive a question that actually has nothing to do with DVD Studio Pro. (I DO own it, though!) I just figured you guys would know a lot. I have a Sony DVD/VCR combo unit. I've created a DVD on the unit with footage from my MiniDV camcorder. Th

  • E51 print with an hp color laserjet 2600n

    Hi I have a nokia e51, it can connect to my wi-fi but I have a problem with my Hp color laserjet 2600n. I try to create a unix print server on my pc that running windows xp, but it doesn't work. In particular the print receive the document in its que