To send output of report to the mails ids as an excel attachment

Hi all,
I have a requirement that I have created a report using classes. Now I have to send output of my report to the particular mailids as an excel attachment.
Can anybody help me?
Regards,
Azra.

Hi,
Refer Below links.
Re: Formatting Excel Attachment output in SO_DOCUMENT_SEND_API1
Information Broadcasting with Excel Report as attachment
Zip the excel and send as mail attachment
Regards
Md.MaahboobKhan

Similar Messages

  • Sending Output of SQL Through UTL Mail

    Hello,
    We have oracle 10gR2 on sun solaris.
    I need to email an output of a SQL Qurey by using utl_mail or some other method.
    Can anyone of you point on how I can do that.
    Thanks

    I am spooling the output to a file and trying to send as an attachment. I receive the mail with an text.txt attachment , but it does not show the actual data. Am I doing wrong in any declaration.And that is the wrong thing to do. Do not spool anything to file. It is not needed.
    First you need to understand how an e-mail looks like. It has a header - this includes the subject, the recipients, the sender, and so on. A blank line. Then the e-mail body follows. The e-mail body can have boundary lines, splitting the body into parts. A part can be, for example, an attachment. This part will contain the type of data in that boundary. And in the case of an attachment, the filename to use to save that boundary's contents as a file.
    And this is what UTL_MAIL does - it creates such an e-mail body for you. It puts the contents of the attachment parameter into the e-mail body. It uses the filename in the header part of that boundary to tell the e-mail reader what the filename is for that contents.
    Using the following UTL_MAIL code:
    SQL> declare
      2  begin
      3          SYS.UTL_MAIL.send_attach_varchar2(
      4                  sender => '[email protected]'
      5                  ,recipients => '[email protected]'
      6                  ,cc => NULL
      7                  ,bcc => NULL
      8                  ,subject => 'Sample Mail from UTL_MAIL'
      9                  ,message => 'This line will be written to message '||
    10                                  'body - a boundary will be written after it to write the attachment.'
    11                  ,mime_type => 'text/plain; charset=us-ascii'
    12                  ,priority => 2
    13                  ,attachment => '<html><table><tr><td>Row 1</td><td>data..</td></tr>'||
    14                                  '<tr><td>Row 2</td><td>data..</td></tr></table></html>'
    15                  ,att_inline => TRUE
    16                  ,att_mime_type => 'text/html'
    17                  ,att_filename => 'sample-attachment.html'
    18          );
    19  end;
    20  /
    PL/SQL procedure successfully completed.Results in the following e-mail being generated and send via SMTP:
    From: [email protected]
    To: [email protected]
    Subject: =?ISO-8859-1?Q?Sample=20Mail=20from=20UTL=5FMAIL?=
    X-Priority: 2
    Content-Type: multipart/mixed; boundary="------------4D8C24=_23F7E4A13B2357B3"
    Return-Path: [email protected]
    Date: 12 Nov 2009 07:20:52 +0200
    Mime-Version: 1.0
    This is a multi-part message in MIME format.
    --------------4D8C24=_23F7E4A13B2357B3
    Content-Type: text/plain; charset=us-ascii
    Content-Transfer-Encoding: 7bit
    This line will be written to message body - a boundary will be written after it to write the attachment.
    --------------4D8C24=_23F7E4A13B2357B3
    Content-Type: text/html; name="sample-attachment.html"
    Content-Transfer-Encoding: quoted-printable
    Content-Disposition: inline; filename="sample-attachment.html"
    <html><table><tr><td>Row 1</td><td>data..</td></tr><tr><td>Row 2</td><td>da=
    ta..</td></tr></table></html>
    --------------4D8C24=_23F7E4A13B2357B3--

  • Why can i not send a debat, -error massage  - " Please try again later m5" i try to send a  crash reports for the Photoshop crashes. Is it to long ?????

    why can i not send a debat, -error massage  - " Please try again later m5" i try to send a  crash reports for the Photoshop crashes. Is it to long ?????

    Hi,
    Please download the updates directly from the link below:
    WIN: All Adobe CC 2014 Updates: The Direct Download Links for Windows | ProDesignTools
    MAC: All Adobe CC 2014 Updates: The Direct Download Links for Mac OS | ProDesignTools
    Regards,
    Sheena

  • How to Broadcast BI Reports in the latest version of MS Excel

    Dear Friends
    I am broadcasting BI reports to our field team, and many of them are using mobile phones. But they are not able to view these reports in their mobile.
    I am broadcasting it as Excel and it is going in the format .xls. We have other BI tools where they could open the reports which are in .xlsx.
    That's why I doubt that our reports are not getting opened because we are sending in a older format of excel.
    Please let me know if there is any option to send reports in the latest version of MS Excel (.xlsx)
    Thanks & Regards
    Ranjan Jinka

    I agree with Michael Devine . You have to setup Pre-calculation server to broadcast with .XLSX format.
    Did you try with other output formats in broadcast definition? Also check your Users mobiles excel compatibility with .xls format?

  • File to Mail with content as excel attachment

    Hi there,
    Can somebody please guide me in achieving this goal.
    I have a requirement in which I have to send the email content as an excel attachment which is very new to me.
    Requirement
    File.............XI............Mail
    Sender File: xyz.xml
    Mapped with standard mail.xsd and concat all the requested filed to the content but now the requirement is changed and I need to send the content as an excel attachment.
    I don't know JAVA & ABAP and this is the first time I am using mail adapter.
    Can somebody please guide me how to achieve this.
    In Another interface I have to send the source file name as a mail attachment, By Default mail adapter send the filename as untitled.
    Is there easy way to changed the name of the attachment to the source file name.
    File ............... XI.........Mail.
    Source file: xyz.xml
    No mapping required just send the file to the mail adapter but condition is that the file name should be the same.
    Mail (Attachment: xyz.xml)
    Please can somebody suggest me how to achieve this.
    Thanks,

    Hi,
    Please refer the blogs given which help you a lot regarding your requirement.
    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword
    /people/michal.krawczyk2/blog/2005/12/10/xi-generating-excel-files-without-the-java-nor-the-conversion-agent-not-possible
    /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    /people/sravya.talanki2/blog/2006/01/12/xi-triggering-e-mails-with-multiple-attachments--problems

  • SM37 spool output not matched with the mail received

    Hi All
    I have a background job which run on daily basis. After the job is finished successfully the spool is sent to client in the form of the html page.
    The mail received by client and the actual spool in R3 are not matching.
    Some of the text is missing at the end of the lines. Say like a row having 300 characters in the actual spool R3, 280 characters are only showing in the received mail of client, last 20 characters are missing.
    How to check the settings of Page width in SAP R3.
    Should i check the settings in the Mail configuration.
    Please advise
    Regards

    Hi
    Thank you for all the replies.
    The issue is related to the width of the output missing.
    The spool output is fine. Once this output is generated this wil be send to the spool recipient.
    spool output is different in the spool recipient and actual spool output produced in SM37. i.e  The width of the spool received in the spool receipient is missed. length is ok but widh is missing.
    Should i check in mail settings. Please help me
    Regards,

  • Sending a bug report on the OS and a sleep mode problem.

    I find the bug button in Safari really convenient for sending Apple bug reports. And when other applications crash, you usually get an error dialog with a button to send a bug report. But sometimes problems arise that require reporting, but which don't fall in either of these categories. It would be very handy to have a bug "button" for the OS, or perhaps just a menu selection in the Finder menu bar that invokes a bug report dialog box. I know you can dig around and find the URL for Apple's bug report web page, but I am always forgetting it -- I suppose I could just bookmark it, but then I'd just have to dig around in all the bookmarks to find it. Better would be a utility built-in to the OS for sending bug reports (like Safari's). It could also automatically transfer necessary info about the OS rev and such.
    The problem I had was this. I have a script that puts my iMac to sleep. I put the script alias on the task bar and a single click puts the computer to sleep (easier than using the menu). Unfortunately, I sometimes click it by mistake when I am trying to click an adjacent icon in the task bar, and the Mac starts going through its cycle to enter sleep mode and is impervious to anything I do to try and cancel it. I tried pressing the space bar continuously to prevent it from going to sleep, but that did not work. Worse, when it went to sleep and I woke it up again, the task bar would not appear, clicking on app windows did not activate them, Finder menus could not be selected, etc. The cursor would move, but I could not do anything else. (I wish now I had noted if the clock in the menu bar was still advancing, but I didn't think to do that.) I powered down the iMac from the power key and rebooted. Things are working fine now.
    I wanted to send a bug report on this, but realized that unlike Safari, there was no button or menu selection for doing that. So here I am.
    Any suggestions are welcome.
    TIA,
    Drake

    [email protected]
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Send a XML file using the mail adapter

    HI ,
    I have to send an incoming xml message as a attachment in the mail using mail adapter .
    how can I achieve this .
    Thanks
    Nikhil

    Hi Nikhil,
    Just check with this blog-
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Creating mails with attachments from flat text files
    Hope this helps..
    Regards,
    Moorthy

  • How do I send a page via email in the body of the mail and not as an attachment?

    I wish to send a page via email in the body of the mail. The only option to send a page appears to be to save it first and then attatch to the mail.

    When you are in the Plan View, right click on the icon for the page that you want to omit from the menu. Near the bottom, you'll see Menu Options, click on that and you'll have the choice to Exclude Page from Menus.

  • How do I generate a PDF output report when the layout template is an Excel file in BI publisher 11.1.1.7

    This is what I did ..
    1. Create new report
    2. Create a report using an existing Data Model (browsed and picked a data model)
    3. How do you want to create your report? (clicked on Used Report Editor)
    4. Clicked Finished (then saved the report)
    5. Then it asked me to create layout (I chose Upload or Generate Layout and then browsed for an uploaded  my excel template with XDO_* column mappings to the data model)
         Template File = Excel Template, Locale = English (US)
    5.  Clicked on Upload
    6.  Then clicked on View Report on the top right, which opened up my report file name "my_report_layoutname.xls"  with sheet 1 (xdo mapped all fine) and a xdo_metadata sheet.
    I just wanted step 6 to be a pdf report of sheet 1.    How do I do that ?  Can't find the place where I can specify that.
    M. Jamal

    Thanks Daniel for pointing that out.  Though you answer is helpful but I am not sure if that is what I would want to do.
    The link you provide for csv says "For each report there's an _report.xdo file that contains the XML structure of the report... "   It suggests I modify the .xdo file for each report.  I currently have 16 reports.
    Does it mean I modify the .xdo file for all 16  and what happens if someone creates a 17th report ?
    Also, what if I run the same report using different input parameters will that change the xml structure for the report  and therefore will need me to modify the .xdo again ? (I think it should not change the xml structure so the answer should be "NO" to that, unless I change the structure of the report).
    Finally, the link you provide says after doing what it suggest  "Now log back into BI publisher and select the report. You should now be able to see that CSV is now an option."
    CSV should be an option where ? on what screen/page ?  Maybe PDF is already an option for me that I cant see because I do not know where that option is.
    I was hoping there would be something I could do on the xdo_metadata sheet (in the data constraints section or elsewhere) OR in BI Publisher itself as some property of the report.
    I will try out what you suggest any ways.
    M. Jamal

  • Sending output of Reports to FTP  in 10g R2 Application Server

    Hi All,
    Hope every one would have seen these lines in reportsserver.conf file in $ORACLE_HOME/reports/conf file.
    *" <destination destype="ftp" class="oracle.reports.plugin.destination.ftp.DesFTP">*
    *<!--property name="proxy" value="proxyinfo.xml"/-->*
    *</destination> "*
    Is the above lines really meant for spooling the reports output and FTP the same to another PC.
    I have a requirement of spooling the reports output to clients PC. We are running reports server in Linux, as the reports directly gets saved into the server folder. We want the file to ported to a windows PC automatically. Though we have accomplished this by configuring SAMBA, it requires a additional configuration on the server side.
    Seeing the above lines in reports server conf file i thought many in forum would have given a try and wanted to know the feedback on the same whether my requirement can be met with this, if ORACLE by itself gives that feature to us. Please share your thoughts and appreciate participation on this good topic.
    Thanks

    Hello,
    Yes, these lines are related to the ftp destination :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_dest.htm#i1005607
    Of course, a ftp server must run on the machine where you want to "send" the reports output...
    Regards

  • My iPhone 5c won't send iMessages, snapchats, email from the Mail app, and it won't load YouTube. Other internet apps like Pandora and Instagram work fine though. Any suggestions on how I can fix this?

    A couple days ago I first noticed the problem when snapchats would appear on my lock screen but when I opened the app I kept getting the error message that the app was not able to refresh my story. Then the next day I was no longer able to send iMessages, they wouldn't go through and would only reach the second party when I sent them as text messages. Also, YouTube won't load and Mail won't send or receive email. I've already tried restarting my phone but there was no change. At first I thought my network connection was the problem but Instagram, Safari, Vine and Pandora all work perfectly. Any suggestions?

    Try this procedure to be sure of a proper restart.
    Close all open apps by double-tapping the home button, then swiping up and off the screen with the app window (not the smaller icon).
    Reset your device: hold down the home button along with the sleep/wake button until the screen goes black and you see the Apple, then let go. (No data loss)
    I would also try: Settings > General > Reset > Reset Network Settings

  • Do browser send a error report to the website if browser fail in set up communication channel first time with that site

    Suppose i want to open some site using mozilla but first time browser fail to set up communication channel. When I attempt second time it successfully set up a connection then my question is that on the second time will browser send error report of first time to that site

    What was the specific problem with the first request? For example:
    * The server reset the connection
    * Page didn't load (blank)
    * Security certificate error
    * et cetera
    In some of these cases, the destination server might not know you sent a first request. And in other cases, that will be in the log. But I do not think Firefox sends any notification of problems with previous connections, the site would have to make an educated guess about the problem based on getting two sequential requests from the same IP address.

  • How do you send a video via Gmail? Since upgrading to ios7 on my Ipad, ican't send .can only receive on the Mail.Can do both on Gmail but when I go on attatch it only accesses my pics not my videos

    Since upgrade to ios7, I have not been able to send messages via Mail. I can only receive.I can do both on Gmail but when I try to attatch, it only accesses photos not videos,any idea how I can attatch a video?

    Here's a troubleshooting article from Apple:  iOS: Troubleshooting Mail
    It doesn't seem to cover your specific issue, but have you tried using a different network (either a different wi-fi network, or switching from wi-fi to cellular or vice-versa if you have a wi-fi+cellular iPad)?
    For GMail, iCloud and Yahoo, copies of messages are stored on their respective servers, so you could try deleting the account on your iPad, then re-adding each account one at a time to see if that resolves the issue.

  • SEND output of reports to email ids automatically

    After execution of a report i want it should be automatically send to emailids of some person.
    Can anyone tell me how to do this

    hi
    good
    data: mailrec  type table of soos1 with header line.
    mailrec-recextnam = [email protected]
    mailrec-recesc    = 'U'.
    mailrec-sndpri    = '1'.
    mailrec-sndart    = 'INT'.
    mailrec-mailstatus = 'E'.
    append mailrec.
    mailrec-recextnam = [email protected]
    mailrec-recesc    = 'U'.
    mailrec-sndpri    = '1'.
    mailrec-sndart    = 'INT'.
    mailrec-mailstatus = 'E'.
    append mailrec.
    Or you can use Distribution List(SO23)
    thanks
    mrutyun^

Maybe you are looking for

  • Adobe Media Encoder refuses to encode for Quicktime

    Dear all, I have huge headaches with Premiere and I hope you can help me out! I have done a couple of fairly basic Premiere project (less than 5 minutes, all with jpegs, not real videos - it's for a slideshow to be projected using a video projector).

  • Adobe Reader X - Tools and untaggd pdf

    When I try to open some of my pdfs, it says they are untagged and need to be processed. That doesn't bother me, but when I try to edit those pdfs I can only use the highlight and sticky note tools. I want to use the other tools (especially the text b

  • Is bt infinity length of wire dependant

    Hi i live in the countryside i at the moment have a connection of max 1.2 mb at most the wire has to come over 5k via a cabinet to my house will i still be likely to get infinity many thanks for any answers

  • Invoices or Incoming payment appear several times

    Hello We see on some customers statement invoices with the same amount and same document number twice and incoming payments same amount, same doc num three times We sue SAP 2007 SP00 PL 39 What could be the issue because customer statement is obvious

  • How execute UNIX commands?

    Hi, does anyone know how to execute an UNIX command in Java? Command-> find -name '*.dmp' in a directory called /db/Backup? What are the parameters that i've to pass in for this function-> Runtime.getRuntime().exec(); ??? And how do i get the filenam