Attaching Excel in Briefing Book output mail

Hi,
I have a question from users if they can attach any XLS output in the automated mail sent for a briefing book. This can be Excel output of same Briefing Book. Let me know if there is any such option.
Thanks in advance
Edited by: user1997473 on Feb 7, 2012 11:36 PM

Hi,
I have a question from users if they can attach any XLS output in the automated mail sent for a briefing book. This can be Excel output of same Briefing Book. Let me know if there is any such option.
Thanks in advance
Edited by: user1997473 on Feb 7, 2012 11:36 PM

Similar Messages

  • I am using apple iPad with iOS 7. I am not able to attach excel or work files in mail . Please help

    I am not able to attach excel or word file using iOS 7 mail

    Generate the email from an App that handles the document type like Pages for Word and Numbers for Excel.

  • How to send mail attachment excel sheet correctly

    Hi,
    I  am working one program and there the out put should be sent in mail attachment in excel sheet. I have used one Function module SO_DOCUMENT_SEND_API1. I am able to send the output data mail attachment excel sheet. But one problem I am facing that last two lines in excel sheet are shifting one tab right. It should come from from first column itself.
    How to correct this program any one can answer it with some code if possible.
    Waiting for quick response.
    Best Regards,
    BDP

    Hi,
    I  am working one program and there the out put should be sent in mail attachment in excel sheet. I have used one Function module SO_DOCUMENT_SEND_API1. I am able to send the output data mail attachment excel sheet. But one problem I am facing that last two lines in excel sheet are shifting one tab right. It should come from from first column itself.
    How to correct this program any one can answer it with some code if possible.
    Waiting for quick response.
    Best Regards,
    BDP

  • Submit Report as an attachement Excel via mail

    Hi,
    I want to send an email with the result of report O4B1 as attachment Excel with columns separated in Excel.
    Best regards.

    REPORT  YJAJUR_EMAILOPTIONS                     .
    tables: kna1.
    data: begin of it_kna1 occurs 0," with header line,
          kunnr like kna1-kunnr,
          land1 like kna1-land1,
          name1 like kna1-name1,
          end of it_kna1.
    data: w_sender like somlreci1-receiver.
    CONSTANTS:
    con_tab TYPE c VALUE cl_abap_char_utilities=>horizontal_tab,
    con_cret TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    data: it_mess_att like solisti1 occurs 0 with header line,
            gd_attachment_desc type sopcklsti1-obj_descr.
    data: gd_subject   like sodocchgi1-obj_descr,
          it_mess_bod like solisti1 occurs 0 with header line,
          gd_sender_type     like soextreci1-adr_typ,
           gd_attachment_name type so_obj_des.
    select-options: p_email for w_sender no intervals.
    PARAMETER mailid TYPE adr6-smtp_addr NO-DISPLAY.
    data : it_kna2 type kna1 occurs 0 with header line.
      select kunnr
             land1
             name1
             from kna1 into table it_kna1 .
       select * from kna1 into table it_kna2.
       concatenate 'EMSIL OPTIONS DONE BY sANTOSH.s.jAJU' 'MODEL WISE upto' Into gd_attachment_desc separated by space.
    concatenate  'Custmer' 'custmer name' 'custmer land1'      con_tab into
    it_mess_att separaTED BY con_tab.
    CONCATENATE con_cret it_mess_att INTO it_mess_att.
       APPEND it_mess_att.
       CLEAR it_mess_att.
    *loop at p_email.
    *endloop.
    data: i1 type string.
    perform email.
    loop at p_email.
    i1 = i1 + 1.
    concatenate 'email' ':' i1 space p_email-low into it_mess_bod.
    it_mess_bod = p_email-low..
    APPEND it_mess_bod.
    clear it_mess_bod.
    perform send_mail.
    endloop.
    perform display_data..
    *&      Form  email
          text
    -->  p1        text
    <--  p2        text
    FORM email .
    loop at it_kna2.
          concatenate con_cret  it_kna2-kunnr con_tab
                    it_kna2-name1 con_tab it_kna2-land1 into it_mess_att.
            APPEND it_mess_att.
       CLEAR it_mess_att.
    endloop.
    ENDFORM.                    " email
    *&      Form  send_mail
          text
    -->  p1        text
    <--  p2        text
    FORM send_mail .
    DATA: send_request  TYPE REF TO cl_bcs,
          document      TYPE REF TO cl_document_bcs,
          recipient     TYPE REF TO cl_cam_address_bcs,
          bcs_exception TYPE REF TO cx_bcs,
          sent_to_all   TYPE os_boolean,
          lt_tab        TYPE TABLE OF makt,
          lt_fields     TYPE TABLE OF w3fields,
          lt_html       TYPE TABLE OF w3html.
    data: ld_error    type sy-subrc,
            ld_reciever type sy-subrc,
            ld_mtitle like sodocchgi1-obj_descr,
            ld_email like  somlreci1-receiver,
            ld_format type  so_obj_tp ,
            ld_attdescription type  sopcklsti1-obj_descr,
            ld_attfilename type  so_obj_des ,
            ld_sender_address like  soextreci1-receiver,
            ld_sender_address_type like  soextreci1-adr_typ,
            ld_receiver like  sy-subrc.
      data:   t_packing_list like sopcklsti1 occurs 0 with header line,
              t_contents like solisti1 occurs 0 with header line,
              t_receivers like somlreci1 occurs 0 with header line,
              t_attachment like solisti1 occurs 0 with header line,
              t_object_header like solisti1 occurs 0 with header line,
              w_cnt type i,
              w_sent_all(1) type c,
              w_doc_data like sodocchgi1.
    MOVE P_EMAIL TO MAILID.
    SELECT * FROM makt UP TO 10 ROWS INTO TABLE lt_tab WHERE spras = 'E'.
    CALL FUNCTION 'WWW_ITAB_TO_HTML'
      TABLES
        html   = lt_html[]
        fields = lt_fields
        itable = lt_tab.
    TRY.
        send_request = cl_bcs=>create_persistent( ).
        document = cl_document_bcs=>create_document(  i_type    = 'HTM'
                                                      i_text    = lt_html
                                                      i_subject = 'Table' ).
        send_request->set_document( document ).
        recipient = cl_cam_address_bcs=>create_internet_address( MAILID ).
        send_request->add_recipient( EXPORTING i_recipient = recipient
                                               i_express   = 'X' ).
        send_request->set_send_immediately( 'X' ).
        send_request->send( EXPORTING i_with_error_screen = 'X'
                            RECEIVING result              = sent_to_all ).
        COMMIT WORK.
      CATCH cx_bcs INTO bcs_exception.
        EXIT.
    ENDTRY.
      ld_email   = p_email-low.
      ld_mtitle = gd_attachment_desc.
      ld_format              = 'XLS'.
      ld_attdescription      = gd_attachment_desc.
      concatenate gd_attachment_desc '.XLS' into ld_attfilename.
    ld_attfilename         = p_filename.
      ld_sender_address      = w_sender.
    ld_sender_address_type = 'INT'.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      clear w_doc_data.
      read table it_mess_att index 1.
      w_doc_data-doc_size =  ( w_cnt - 1 ) * 255 + strlen( it_mess_att ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = gd_attachment_desc.
      w_doc_data-sensitivty = 'F'.
      clear t_attachment.
      refresh t_attachment.
    t_attachment[] = it_attach[].
    Describe the body of the message
      clear t_packing_list.
      refresh t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      describe table it_mess_bod lines t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      append t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      describe table it_mess_att lines t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      append t_packing_list.
    Add the recipients email address
      clear t_receivers.
      refresh t_receivers.
      t_receivers-receiver = ld_email.
      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               = it_mess_att
          contents_txt               = it_mess_bod
          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.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      loop at t_receivers.
        ld_receiver = t_receivers-retrn_code.
      endloop.
      wait up to 5 seconds.
      submit rsconn01 with mode   = 'INT'
                      with output = 'X'
                      and return.
    ENDFORM.                    " send_mail
    *&      Form  display_data
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
    loop at it_kna2.
         write:/ it_kna2-kunnr,it_kna2-land1,it_kna2-name1.
    endloop.
    ENDFORM.                    " display_data
    ref this code i guess this will works

  • Problem in Sending mail with attachment (Excel sheet)

    Hi
    Iam using this FM   SO_NEW_DOCUMENT_ATT_SEND_API1  for sending mail with an attachment (excel sheet).
    the application is running fine , mail is going to other system .   but the excel sheet attachment contain only few rows  not all.
    and the body of the mail is not displaying . 
    Can any one help me. Thanks in advance.

    Hi,
    you can use cl_bcs classes for the same. I am using below code for same thng
      CONSTANTS:c_tab  TYPE c VALUE cl_bcs_convert=>gc_tab.
      CONSTANTS:c_crlf TYPE c VALUE cl_bcs_convert=>gc_crlf.
      DATA o_send_request   TYPE REF TO cl_bcs.
      DATA o_document       TYPE REF TO cl_document_bcs.
      DATA o_recipient      TYPE REF TO if_recipient_bcs.
      DATA o_bcs_exception  TYPE REF TO cx_bcs.
      TRY.
        o_document = cl_document_bcs=>create_document(
          i_type    = 'RAW'
          i_text    = is_mail_text
          i_subject = text-005 ).
      ENDTRY.
    *create file header
    CONCATENATE
                    text-h00 c_tab text-h01 c_tab text-h02 c_tab text-h03 c_tab text-h04 c_tab
                    text-h52 c_tab text-h05 c_tab text-h06 c_tab text-h07 c_tab text-h08 c_tab text-h09 c_tab
                   c_crlf INTO w_data_string.
    Loop at itab which contains data to be send as attachment
    concatenate field1 field2 field3 c_crlf into your_string separated by  c_tab
    conatenate final string your_string into final_string.
    endloop.
    *Convert data into suitable excel format
      TRY.
          CALL METHOD cl_bcs_convert=>string_to_solix
            EXPORTING
              iv_string   = w_data_string
              iv_codepage = '4103'
              iv_add_bom  = 'X'
            IMPORTING
              et_solix    = w_binary_content.
        CATCH cx_bcs INTO o_bcs_exception.
          IF o_bcs_exception IS NOT INITIAL.
            w_exec_txt = o_bcs_exception->get_text( ).
            MESSAGE w_exec_txt TYPE 'S'.
          ENDIF.
      ENDTRY.
        add the spread sheet as attachment to document object
      CONCATENATE text-006 sy-datum INTO w_attach_name SEPARATED BY space.
      o_document->add_attachment(
        i_attachment_type    = 'xls'
        i_attachment_subject = w_attach_name
        i_att_content_hex    = w_binary_content ).
    *create persistent send request
      o_send_request = cl_bcs=>create_persistent( ).
        add document object to send request
      o_send_request->set_document( o_document ).
        create recipient object for external mail id
      w_mlrec = iw_recipent.
      TRY.
          o_recipient = cl_distributionlist_bcs=>getu_persistent(
              i_dliname = w_mlrec
              i_private = space ).
        CATCH cx_bcs INTO o_bcs_exception.
          IF o_bcs_exception IS NOT INITIAL.
            w_exec_txt = o_bcs_exception->get_text( ).
            MESSAGE w_exec_txt TYPE 'S'.
          ENDIF.
      ENDTRY.
        add recipient object to send request
      o_send_request->add_recipient( o_recipient ).
        ---------- send document ---------------------------------------
      w_sent_to_all = o_send_request->send( i_with_error_screen = 'X' ).
      IF w_sent_to_all EQ abap_true.
        COMMIT WORK.
      ENDIF.

  • Displaying images in Briefing Book

    Hi,
    We are using Oracle Business Intelligence Enterprise Edition v10.1.3.4.
    In OBIEE Answers, we have two reports and one dashboard page that hold these two reports. It is to be noted that the measure columns in both the reports have some images based upon the criteria specified in "Conditional Formatting" for the measure columns.
    With the above setup in place, here is the problem scenario:
    When we create a Briefing Book and individually add the two reports to it, all works fine. The display generated by "Get Now" and "Print Now" buttons in the briefing book is OK.
    However, if we create a Briefing Book and add the dashboard that contains the two reports (and not the reports themselves), then the display that is generated using the "Get Now" and "Print Now" buttons does not show the images in the measure columns - instead it shows a red X mark in place of the images.
    If we add either of the report to this briefing book now, the red X marks are replaced by the corresponding images for that report.
    In essence, we are not being able to display the images in the measure columns if we add the dashboard page (containg the reports) to the briefing book rather than adding the reports themselves.
    Any help is much appreciated.
    Best Regards,
    Piyush

    a few points that i can check
    If you can see it in RRP3 then you should also be able to see the sales orders in the Standard SAP planing book based on 9ASNP94 planning area. can you see this?
    if so .. your planning area is not set right
    check if you have intialized the planning area and if your planning book has the required KF setup properly and similar to what you have set up in the Standard book
    Also check if your MPOS that is attached to the new planning area is set up correctly
    another point to check is if your selection id is properly selected when you load on to the planning area

  • Problem with Briefing Books and iBots

    I have a question about the usage of Briefing Books and iBots:
    In my Briefing Book there are different analysis, some with tables and others with charts and graphs.
    The problem is, when I send this Briefing Book to my email by iBot, then the file attached to the email does not contain the charts anymore. There are just the tables left. When I watch the same Briefing Book directly in Answers, everything is displayed all right.
    Does anyone know, why this happens.

    Hi there
    If the page is not actually inside of a Book, the WebHelp generation process will sense that.
    If you want a Book, try right-clicking the page in the TOC editor and choose "Create Book from Page". This should create a book with the page inside it. Of course both will have the same name, so you may need to rename the Book. Or rename the page. Your choice.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Attaching a file to an E-Mail you are replying to?...

    Why has Apple still not added the feature to let you attach a file to an E-Mail you are replying to? Do you know how frustrating it is to have to go to the pic folder and send it thru there, copying and pasting peoples E-Mail address's who are not in your address book? This is a feature that any other phone has and has had for years, Apple get with it already! This is riduculous!

    For photos, go to the camera roll and go to the sort of gallery view where you can see all of yorur pictures. Find the one you want and press and hold on the thumbnail. A little coppy button should appear above the photo. Tap that and then go back to your email and press and hold until you see a similar menu. Tap paste. Unfortunately, you have to do this one image at a time so it is tedious to email multiple photos in a reply. But it is possible.

  • 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

  • Cache Seeding using Briefing Books in iBots

    Hi All,
    I'm trying to seed the cache using Briefing books in iBots.
    1. Created the Briefing book of a Dashboard page with required dashboard prompt values
    2. Selected this 'Briefing Book' as Delivery Content
    3. Scheduled the iBot
    But, despite of iBot running successfully, Cache is not being seeded.
    Am i missing any steps?
    Moreover, in 'Destinations', if i just check 'Interactive Dashboards' & 'Active Delivery Profile',
    No cache entries created
    But if i check 'e-mail' or any of the devices,
    then a cache entry is generated for the default dashboard prompt values* but not for the prompt values selected for the Briefing Book*..
    Please help
    Thank you,
    Raghu

    Hello Madan,
    Thank you for the reply..
    "Oracle BI Server Cache" can only be used for the answer pages/dashboard pages with default prompt values..
    Any other way to get the Cache seeded for other prompt values too..
    other than the manual seeding
    Thank you,
    Raghu

  • PO Output Mail Customization Issue

    Hi,
    We are using SRM 7.0 and we have customized the PO output layout. As part of the customization we have also changed the mail with the PDF attachement. We have changed the mail to display different language output in the mail. The functionality was achieved as given belwo
    1) Create a copy of class CL_PD_PO_PROCESSING_BBP. (ZCL_PD_PO_PROCESSING_A and ZCL_PD_PO_PROCESSING_b)
    2) Modify method PROCESS_BBP_PO_MAI with the custom smartform name as required.
    3) SPRO->SRM Server->Cross Application Basic Settings->Set Output Actions and Output Format->Define Actions for Purchase Order Output
    4) Select BBP_PD_PO and double click Action Definition and Processing Types.
    5) Highlight Mail and click Set Processing button.
    6) Insert the copy of CL_PD_PO_PROCESSING_BBP created before in Processing Class.
    Now we have created two such custom class ZCL_PD_PO_PROCESSING_A and ZCL_PD_PO_PROCESSING_B. Recently i have added a new processing class and assigned the method ZCL_PD_PO_PROCESSING_B but during runtime i find it always picks up ZCL_PD_PO_PROCESSING_A.
    Any pointers as what might be going wrong?

    Hi,
    2 things over here:
    You mentioned in point 2
    2) Modify method PROCESS_BBP_PO_MAI with the custom smartform name as required.
    This is not required . To have the custom smartform to be picked you can implement the badi
    BBP_OUTPUT_CHANGE_SF. So that way you do not need to modify the standard SAP method.
    For the fact that the new class is not being picked. You can do the following
    Tr- SPPFCADM
    In this transaction Clean Up inconsistencies
    Check all the 4 check boxes and clean up the inconsitencies,
    It might solve the problem.
    Regards,
    Sapna

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • 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. 

  • Microsoft Exchange Categories in iCal, Address Book and Mail

    I work in a Microsoft environment with my MacBook Pro and would like to use iCal, Address Book and Mail as my default applications rather than Microsoft Oulook 2011, however, there is not support for the Microsoft Exchange Categories to be replicated into the various Apple applications. This results in my address book not to differentiate any longer from my contact categories stored on the Exchange server, nor my calendar. Categories can be created in iCal and other Apple applications but it then requires for the event or contact to be duplication "On my Mac" which makes me loose my synchronization with other systems. Any idea about to fix that?

    Same issue here. I would love to migrate to iCal but the lack of support for categories is a limiting factor. Same applies to Contacts.

  • When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    When I want to attach a file to an e-mail I'm sending from my iCloud account it makes the file show up in the body of the e-mail instead of attaching it as a separate file the receiver can open.  How can I change this?

    It should be an attachment.  Your Mac just displays a preview of certain attachments (such as .pdfs) in the body of the message.  A PC, for example, will see it as an attached file rather than a preview.
    You can save the attachment on your Mac by Control-clicking on it and selecting Save Attachment.

Maybe you are looking for