Attaching PC Excel File to e-mail

Hi,
Is it possible to attach an existing Excel file in the Presentation server to the E-mail?
If it is poosible Please tell how

Hi Gayathri,
Refer to the following link:
http://sapdev.co.uk/reporting/email/attach_xls.htm
Hope this helps.
Reward if helpful.
Regards,
Sipra

Similar Messages

  • Can any one tell me how to attach a pdf file to the mail through workflow

    I have a smart which i am able  to convert it to a pdf file...now.. can any one tell me how to attach a pdf file to the mail through workflow

    Hi,
    To create the task for attachment
    Use the BOR SELFITEM and method NOTES_APPEND.
    The out come of this task contain a link called attachment with a clip attached. Clisk on that icon and choose the type of attachment u want . RAW , EXCEL , TXT , PDF... Then using the import icon u can attach the document u like.
    But the TYPE : OBJ.
    Similarly using NOTE_DISPLAY method u can display the documents u like.
    In any work item u have the facility to attach any atttchment for further circulation .
    Attchment @ WORKITEM
    1.Click the workitem for which you want to create the attchment
    2.Press create attachment
    3. Add the attachment u like (PDF)
    Reward points for useful answer.
    Richard A

  • How can i send a folder containing multiple excel file to a mail address?

    hi ,
           i have report showing details sales report. Key field is customer id.  my requirement is to send the output of this report as excel file  to a mail id according to customer id. suppose there are 100 customer id , so 100 excel sheet will go to the mail. I have done it. But now  i want to send a folder or zip folder that's containing all the excel file to the mail id  so the mail user can download that folder at a time containg all the excel file. Is it possible ? if then how.  i have used cl_bcs , cl_document_bcs and if_recipient_bcs  these class and interface.
    I need your suggestion.

    Hi Sandipan,
    You can use some of this classes: CL_ABAP_ZIP or CL_ABAP_GZIP
    For example:
    DATA: OBJ_ZIP TYPE REF TO CL_ABAP_ZIP,
                ZIP_FILE  TYPE XSTRING.
    CREATE OBJECT OBJ_ZIP.
    OBJ_ZIP->ADD( NAME = <file_name>   CONTENT = CONTENT ).
    OBJ_ZIP->ADD( NAME = <file_name2> CONTENT = CONTENT ).
    ZIP_FILE = OBJ_ZIP->SAVE( ).
    You can also visit this Otto Frost detailed post on GZIP:
    http://wiki.sdn.sap.com/wiki/display/profile/GZIP
    I hope that helps.
    Regards,
    John
    Edited by: John Smith on Feb 5, 2012 2:21 PM

  • 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

  • How can I attach a jpg file in a mail message as the file icon, not as an opened image in the text?

    How can I attach a jpg file in a mail message as the file icon, not as an opened image in the text?

    what's wrong with this picture

  • How can I attach a pdf file to outgoing mail without it opening up within the message?

    How can I attach a pdf file to outgoing mail without in opening up within the message?

    You can use the Share button on Preview's toolbar. Choosing Email pops open Mail with the PDF already iconified as an attachment. If it doesn't behave this nicely for you, select the PDF in Mail and choose the right contextual menu, where you will find View as Icon. I also have Send Windows-Friendly attachments enabled.

  • Internal Table attached as Excel file to an eMail - BCS_EXAMPLE_7 for UC

    Hi forums,
    SAP provided an example report to send out internal tables attached as an Excel file to a recipients eMail address. I attached the coding of the BCS_EXAMPLE_7 programm to this thread.
    report bcs_example_7.
    This report provides an example for sending an Excel
    attachment in Unicode Systems
    constants:
      gc_tab  type c value cl_bcs_convert=>gc_tab,
      gc_crlf type c value cl_bcs_convert=>gc_crlf.
    parameters:
      mailto type ad_smtpadr
       default 'john.doe(a)crazy-company.com'.                    "#EC *
    data send_request   type ref to cl_bcs.
    data document       type ref to cl_document_bcs.
    data recipient      type ref to if_recipient_bcs.
    data bcs_exception  type ref to cx_bcs.
    data main_text      type bcsy_text.
    data binary_content type solix_tab.
    data size           type so_obj_len.
    data sent_to_all    type os_boolean.
    start-of-selection.
      perform create_content.
      perform send.
    *&      Form  send
    form send.
      try.
        -------- create persistent send request ------------------------
          send_request = cl_bcs=>create_persistent( ).
        -------- create and set document with attachment ---------------
        create document object from internal table with text
          append 'Hello world!' to main_text.                   "#EC NOTEXT
          document = cl_document_bcs=>create_document(
            i_type    = 'RAW'
            i_text    = main_text
            i_subject = 'Test Created By BCS_EXAMPLE_7' ).      "#EC NOTEXT
        add the spread sheet as attachment to document object
          document->add_attachment(
            i_attachment_type    = 'xls'                        "#EC NOTEXT
            i_attachment_subject = 'ExampleSpreadSheet'         "#EC NOTEXT
            i_attachment_size    = size
            i_att_content_hex    = binary_content ).
        add document object to send request
          send_request->set_document( document ).
        --------- add recipient (e-mail address) -----------------------
        create recipient object
          recipient = cl_cam_address_bcs=>create_internet_address( mailto ).
        add recipient object to send request
          send_request->add_recipient( recipient ).
        ---------- send document ---------------------------------------
          sent_to_all = send_request->send( i_with_error_screen = 'X' ).
          commit work.
          if sent_to_all is initial.
            message i500(sbcoms) with mailto.
          else.
            message s022(so).
          endif.
      ------------ exception handling ----------------------------------
      replace this rudimentary exception handling with your own one !!!
        catch cx_bcs into bcs_exception.
          message i865(so) with bcs_exception->error_type.
      endtry.
    endform.                    "send
    *&      Form  create_content
    Create Example Content
    1) Write example text into a string
    2) convert this string to solix_tab
    form create_content.
      data lv_string type string.
      data ls_t100 type t100.
    as example content we use some system messages out of t100
    get them for all installed languages from db
    and write one line for each language into the spread sheet
    columns are separated by TAB and each line ends with CRLF
      concatenate 'This Is Just Example Text!'                  "#EC NOTEXT
                  gc_crlf gc_crlf
                  into lv_string.
    header line
      concatenate lv_string
                  'MSGID'    gc_tab
                  'MSGNO'    gc_tab
                  'Language' gc_tab                             "#EC NOTEXT
                  'Text'     gc_crlf                            "#EC NOTEXT
                  into lv_string.
    data lines
      select * from t100 into ls_t100
        where arbgb = 'SO' and msgnr = '182'.
        concatenate lv_string
                    ls_t100-arbgb gc_tab
                    ls_t100-msgnr gc_tab
                    ls_t100-sprsl gc_tab
                    ls_t100-text  gc_crlf
                    into lv_string.
      endselect.
      select * from t100 into ls_t100
        where arbgb = 'SO' and msgnr = '316'.
        concatenate lv_string
                    ls_t100-arbgb gc_tab
                    ls_t100-msgnr gc_tab
                    ls_t100-sprsl gc_tab
                    ls_t100-text  gc_crlf
                    into lv_string.
      endselect.
    convert the text string into UTF-16LE binary data including
    byte-order-mark. Mircosoft Excel prefers these settings
    all this is done by new class cl_bcs_convert (see note 1151257)
      try.
          cl_bcs_convert=>string_to_solix(
            exporting
              iv_string   = lv_string
              iv_codepage = '4103'  "suitable for MS Excel, leave empty
              iv_add_bom  = 'X'     "for other doc types
            importing
              et_solix  = binary_content
              ev_size   = size ).
        catch cx_bcs.
          message e445(so).
      endtry.
    endform.                    "create_content
    NOTES:
    UTF-16LE including the BOM (Byte order mark)
    is preferred by Microsoft Excel. If you want to create
    other binary content you may choose another codepage (e.g.
    '4110' (UTF-8) which is standard for e-mails).
    Find SAP codepage names in the drop down list
    for the codepage setting of node SMTP in transaction SCOT.
    Or: leave iv_codepage and iv_add_bom empty. Then the target
    codepage is set according to SAPconnect settings
    Important:
    SAP neither guarantees that the attachment created
    by this report can be opened by all Excel Versions nor
    that it can be opened by any 3rd party software at all
    Best regards to you
    Thorsten Hüser
    SAP CRM Senior consultant
    arvato / Bertelsmann

    Hi forums,
    SAP provided an example report to send out internal tables attached as an Excel file to a recipients eMail address. I attached the coding of the BCS_EXAMPLE_7 programm to this thread.
    report bcs_example_7.
    This report provides an example for sending an Excel
    attachment in Unicode Systems
    constants:
      gc_tab  type c value cl_bcs_convert=>gc_tab,
      gc_crlf type c value cl_bcs_convert=>gc_crlf.
    parameters:
      mailto type ad_smtpadr
       default 'john.doe(a)crazy-company.com'.                    "#EC *
    data send_request   type ref to cl_bcs.
    data document       type ref to cl_document_bcs.
    data recipient      type ref to if_recipient_bcs.
    data bcs_exception  type ref to cx_bcs.
    data main_text      type bcsy_text.
    data binary_content type solix_tab.
    data size           type so_obj_len.
    data sent_to_all    type os_boolean.
    start-of-selection.
      perform create_content.
      perform send.
    *&      Form  send
    form send.
      try.
        -------- create persistent send request ------------------------
          send_request = cl_bcs=>create_persistent( ).
        -------- create and set document with attachment ---------------
        create document object from internal table with text
          append 'Hello world!' to main_text.                   "#EC NOTEXT
          document = cl_document_bcs=>create_document(
            i_type    = 'RAW'
            i_text    = main_text
            i_subject = 'Test Created By BCS_EXAMPLE_7' ).      "#EC NOTEXT
        add the spread sheet as attachment to document object
          document->add_attachment(
            i_attachment_type    = 'xls'                        "#EC NOTEXT
            i_attachment_subject = 'ExampleSpreadSheet'         "#EC NOTEXT
            i_attachment_size    = size
            i_att_content_hex    = binary_content ).
        add document object to send request
          send_request->set_document( document ).
        --------- add recipient (e-mail address) -----------------------
        create recipient object
          recipient = cl_cam_address_bcs=>create_internet_address( mailto ).
        add recipient object to send request
          send_request->add_recipient( recipient ).
        ---------- send document ---------------------------------------
          sent_to_all = send_request->send( i_with_error_screen = 'X' ).
          commit work.
          if sent_to_all is initial.
            message i500(sbcoms) with mailto.
          else.
            message s022(so).
          endif.
      ------------ exception handling ----------------------------------
      replace this rudimentary exception handling with your own one !!!
        catch cx_bcs into bcs_exception.
          message i865(so) with bcs_exception->error_type.
      endtry.
    endform.                    "send
    *&      Form  create_content
    Create Example Content
    1) Write example text into a string
    2) convert this string to solix_tab
    form create_content.
      data lv_string type string.
      data ls_t100 type t100.
    as example content we use some system messages out of t100
    get them for all installed languages from db
    and write one line for each language into the spread sheet
    columns are separated by TAB and each line ends with CRLF
      concatenate 'This Is Just Example Text!'                  "#EC NOTEXT
                  gc_crlf gc_crlf
                  into lv_string.
    header line
      concatenate lv_string
                  'MSGID'    gc_tab
                  'MSGNO'    gc_tab
                  'Language' gc_tab                             "#EC NOTEXT
                  'Text'     gc_crlf                            "#EC NOTEXT
                  into lv_string.
    data lines
      select * from t100 into ls_t100
        where arbgb = 'SO' and msgnr = '182'.
        concatenate lv_string
                    ls_t100-arbgb gc_tab
                    ls_t100-msgnr gc_tab
                    ls_t100-sprsl gc_tab
                    ls_t100-text  gc_crlf
                    into lv_string.
      endselect.
      select * from t100 into ls_t100
        where arbgb = 'SO' and msgnr = '316'.
        concatenate lv_string
                    ls_t100-arbgb gc_tab
                    ls_t100-msgnr gc_tab
                    ls_t100-sprsl gc_tab
                    ls_t100-text  gc_crlf
                    into lv_string.
      endselect.
    convert the text string into UTF-16LE binary data including
    byte-order-mark. Mircosoft Excel prefers these settings
    all this is done by new class cl_bcs_convert (see note 1151257)
      try.
          cl_bcs_convert=>string_to_solix(
            exporting
              iv_string   = lv_string
              iv_codepage = '4103'  "suitable for MS Excel, leave empty
              iv_add_bom  = 'X'     "for other doc types
            importing
              et_solix  = binary_content
              ev_size   = size ).
        catch cx_bcs.
          message e445(so).
      endtry.
    endform.                    "create_content
    NOTES:
    UTF-16LE including the BOM (Byte order mark)
    is preferred by Microsoft Excel. If you want to create
    other binary content you may choose another codepage (e.g.
    '4110' (UTF-8) which is standard for e-mails).
    Find SAP codepage names in the drop down list
    for the codepage setting of node SMTP in transaction SCOT.
    Or: leave iv_codepage and iv_add_bom empty. Then the target
    codepage is set according to SAPconnect settings
    Important:
    SAP neither guarantees that the attachment created
    by this report can be opened by all Excel Versions nor
    that it can be opened by any 3rd party software at all
    Best regards to you
    Thorsten Hüser
    SAP CRM Senior consultant
    arvato / Bertelsmann

  • 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

  • Make excel file and then mail it via workflow...

    Hi All,
    I got a requirement in CRM Workflow like i have the item level details from a FM. Now i need to send these details by putting them in an Excel file. So how can i make an excel file in SAP and then mail the same file to a person.
    Please suggest. Is this feasible?
    Regards,
    Guddan

    Hello,
    Yes. Just attach it. I don't know how to create an excel file in SAP but I'm sure it's possible.
    You can always try these things first, and then ask if you encounter a specific problem.
    regards
    Rick Bakker
    hanabi technology

  • Problem saving Excel files sent in mail

    This problem is since I upgraded to Maverick.
    I receive an Excel file ( file.xls ) in Mail as an attachment and when I try to save there is an existing file with the same name it then ask if I want to replace it and I answer Yes. The problem is is does not replace the file and I dont get any error messages. I must delete the old version of the file first then save the new version. I dont know if it is Mail or Excel that has a problem with Maverick. Doe anybody else have this problem?

    I am experiencing exactly the same problem, but with text files. It seems that the "replace" doesn't work, but with no explaination or warning. Extrememly frustrating. (Mail 7.0, Mavericks 10.9)

  • How to attach a single file in e-mail (Yosemite)?

    When i am writing a new mail and i try to attach a single file that i have saved a minute ago from certain folder i cannot do that. When i click on the folder to open it and select the specific file to attach, the mail does not open the folder but automatically attach the whole folder to e-mail.
    Any help?
    Thanks.

    Hello dejanfromzagreb,
    That is interesting that it is grabbing the entire folder. Have you tried switching the view within the Finder window to Column View to select the right file to attach? Another alternative is to locate the file in Finder and drag it op top of the Email that you are preparing to attach it. Take a look at the article below. 
    Mail (Yosemite): Add attachments
    https://support.apple.com/kb/PH19142
    Regards,
    -Norm G. 

  • Unable to open excel files from yahoo mail

    I am unable to open an excel file in Yahoo! Mail (sent from PC) to my iMac.  My iMac has the MS Office suite too.  Any suggestions?

    Does not allow to open when on desk top. I took picture and Movie when i first got my iPhone5 and i have iphoto and iMovie 2008 they say ilife 11 is and upgrade. when i transfered pictures to start with to my iPhoto i had to inport them to iMove inorder to watch them. then when i messed around and added more shots and deleted some some went missing and to totally delet the whole bunch of photos and the movies My iMac made a folder in my Finder and drug and dropped and trashed my project that way. Three short movies went missing that i was looking to watch and they never showed back up. Today i started trying things in the New Yahoo.com Mail Applicatins Attachments and there were the three Items and the Mail Attachments page does not offer a Choice or deleting attachments.  Does Icloud save a few pictures and a movie or two for security reasons?   I tried Google answers to get my Yahoo front page restored so i do not have to use the Everything page and it was a Conection doctor and he or it wanted $38.00    I am not to sure i want to waste grocery money, Hard times!  
        If you can help great if not i am still working on things Greg

  • Nokia 930. Attach JPG/JPEG file. E-mail.

    Hi.
    Attach file in E-mail.
    Anybody have a good idea, why my Nokia 930 dont open attach JPG/JPEG file? when i receive a mail with attach file i touch the file and the phone starts download, after download process nothing happen. In my file folder i cant see the file?
    Yes i have a viewer installed.
    My old phone Nokia N8 with Symbian just open these file when i touch them. Symbian was ok.

    Works fine...
    Click on the blue Star Icon below if my advice has helped you or press the 'Accept As Solution' link if I solved your problem..
    Attachments:
    wp_ss_20141127_0001.png ‏269 KB
    wp_ss_20141127_0002.png ‏371 KB
    wp_ss_20141127_0004.png ‏994 KB

  • How to attach a word file in JAVA mail

    I am a JAVA rookie and I have a problem in attaching a word file using javamail. I searched almost all the forum but still couldn't find the solution.
    Sorry for the reposting. But can anybody please help me out? Your any words or links will be highly appreciated!
    Lakobe

    Sorry, this forum is for questions about the javadoc tool.
    There won't likely be JavaMail experts here.
    I'm not sure where else to send you.

  • How to attach a word file in JAVA mail? Please help

    I am a JAVA rookie and I have problem attaching a word file using javamail. I searched almost all the forum but still couldn't find the solution.
    Sorry for the reposting. But can anybody please help me out? Your any words or links will be highly appreciated!
    Lakobe

    If you want to include an attachment with your message, you need to build up the parts, quite literally, because the name of the applicable interface is Part. The content of your Message will consist of multiple parts within a Multipart object. Part one of the message is a BodyPart that contains the message content. Part two of the message is a BodyPart that contains the attachment. The attachment itself is specified as a DataSource. You don't have to actually read the attachment.
    You start in the same way as you do for a message without an attachment. Create the message from the session and initialize the headers:
    Message message = new MimeMessage(session);
    message.setFrom(new InternetAddress(from));
    message.addRecipient(Message.RecipientType.TO,
    new InternetAddress(to));
    message.setSubject("JDC Attachment");
    However here you need to create the Multipart object:
    Multipart multipart = new MimeMultipart();
    For part one, create a BodyPart and set the text to be a message. Then, add the BodyPart to the Multipart you just created.
    BodyPart messageBodyPart = new MimeBodyPart();
    messageBodyPart.setText("Here's the file");
    multipart.addBodyPart(messageBodyPart);
    For part two, you need to create a BodyPart again, but this time you need to create a DataSource for the file.
    messageBodyPart = new MimeBodyPart();
    DataSource source = new FileDataSource(filename);
    Use a DataHandler object to attach the data source to the message. Simply create a DataHandler for the source and attach it to the message:
    messageBodyPart.setDataHandler(
    new DataHandler(source));
    Remember to set the filename of the attachment. This permits the recipient to know the name (and type) of the received file.
    messageBodyPart.setFileName(filename);
    Attach part two in the same way as part one:
    multipart.addBodyPart(messageBodyPart);
    And as a final step before sending, attach the Multipart to the Message:
    message.setContent(multipart);

Maybe you are looking for

  • Need distrib Adobe Photoshop CS2  (AOO, AVL, N-A, Corporate)

    By a CS5, but our workers need to work in CS2 version. We make a downgrade and now i need a download distrib. Help anyone where i can download corporate CS2 distrib.

  • Advanced functions,UDF's and node function

    Dear all, Can you kindly let me know about Advanced functions,UDF's and node function.Differences and Uses. Also Let me know about the advantages,Disadvantages of Graphical,XSLT,Java,ABAP and ABAP XSLT mappings. Thanks, Srini

  • Saving a query format

    Hi, After making changes in the query in Analyzer. I would like all my queries to appear the same way(same format). However i do not want to repeat all that i did every time i execute a query. Is there a way for me to save my format and when i execut

  • Portal Best Practice Implementation

    hi, I am doing Best Practice Implementation on Enterprise Portal. In that i cant find one file. Can you please help me in finding these file "BP_RAPID_ALL.epa" Thanks in Advance Regards, Raju

  • IDOC in LSMW

    Hey all, I'm working on lSMW using IDOC processing and BAPI. Iam encountering problems in the partner function.Can anybody guide as to how to go about the entire process of LSMW.If anyone have a suitable document or article for the same kindly post i