Send report via email as xls file.
Hello from Spain,
Sorry if this is not the correct forum. It's both a forms and reports question, but I think it fits better in the reports forum. I have queried into the forums for similar questions and found some threads without any replies around this same issue. I wish I am lucky today.
I have developed some web forms which generate pdf and txt reports. The latter ones make use of desformat=delimiteddata when calling the reports. They run fine. I have also developed one form which suscribes those reports to email addresses. To do so, I am setting those email addresses in the DESNAME reports parameter and setting DESTYPE parameter as MAIL. They arrive as an attachment with pdf or txt extensions.
Now, I am required to deliver those reports as xls files. I have been reading that desformat=spreadsheet would allow me to do so (as well as formatting the reports and make them look "cuter" than by using just delimiteddata), but have been unable to do it so far. When setting desformat=spreadsheet, reports are sent via email as html attachments, and when they are opened they look awful. Is there any way I can do this? It shouldn't be a too big deal, but I feel completely unable.
Thank you,
Fernando G.
Hi,
Please check the following forum thread that may help --> Re: Generate report in Excel and send to user via email.
Thanks, RZ
Similar Messages
-
Send report Via Email in HTML format
hi,
i am using forms 6.0
I want to send my report Via Email to an email address in HTML Farmat.i want to set destination property at run time retriving from database. (mean without giving any runtime parameter manually)Plz tell me how i can do that i am working in windows environment.
Waiting 4 ur reply.
Thanx in advance.
Zahid Raj.Zahid,
reports6i sends mails where the Report itself is attached as a file in the format you specified. The support for sending a report as part of the HTML mail body is provided in Reports9i.
Frank -
hi,
i am using forms 6.0
I want to send my report Via Email to an email address in HTML Farmat.i want to set destination property at run time retriving from database. (mean without giving any runtime parameter manually)Plz tell me how i can do that i am working in windows environment.
Waiting 4 ur reply.
Thanx in advance.
Zahid Raj.Hi Zahid
From Forms 6.0, you need to call Reports using standard SRW.Run_Product call. Please refer to the product document for other SRw calls which can be used for Forms/Reports integration. In this SRW call, you need to sent the runtime argument to Reports. In your case, write a pl/sql code which would set the destype=mail, desformat=html and desname set to the email address for reciever which you would be fetching from DB in Forms application. And then send these arguments in the SRW call to run the Reports.
Thanks
Rohit
Thanks
Rohit -
Sending Report via Email from app Serv 10g
I am able to generate a report as an email using the following link
http://server:7778/reports/rwservlet?userid=xx/xx@xx&module=ord_ack.rdf&destype=MAIL&DESNAME=[email protected]&desformat=pdf&subject="Order Placed"&from=[email protected]&A_SEQ_ORDER_NO=4104&a_user=NKW&a_by_user=NKW&A_PRINT_KIT=Y&A_RPT_NAME=P
The issue is that the email is blank... I've tried using &body=" " or &message=" " to no affect.
This is going to be user defined text, so I need to be variable. Anyone have any suggestions on how to achieve this?
Thanks,
ScottI believe with destype=mail, the whole report is going to be attached as a file, so there is no body message.
Are you getting the report attached as a .pdf file ?
If you want to customize the body with a message and send the report as a .pdf attachment then look at chapter 15 - Creating Advanced Distributions, basically, you would be doing XML distribution.
http://download.oracle.com/docs/cd/B14099_19/bi.1012/b14048.pdf
i.e.
Sample XML file
<mail id="grx90" to="[email protected]">
<body srcType="text">
Attached you will find the summary report and breakdown by department of weekly
totals.
</body>
<attach format="rtf" name="myAttach.rtf" srcType="report">
<include src="report"/>
</attach>Sample URL
http://your_server:port/reports/rwservlet?report=rep.jsp&userid=db_credentials&destination=$ORACLE_HOME/reports/distribution/distribution.xml&distribute=yes
Edited by: Rodolfo Ferrari on Jun 23, 2009 3:38 AM -
Sending PO via email with pdf file extension
Good afternoon everyone. We are successfully (in testing) sending out Purchase Orders via External Send to an Outlook email address. When the user receives the email, it appears that SAPConnect (SCOT) is correctly coverting the file to a pdf (I can open it in Adobe Acrobat), yet the file attachment still shows a ".dat" file extension.
Where in the process do I need to set up SAP not to send the file out with a .dat file extension (in PDF format), but rather with a .pdf file extension (in PDF format).
Points awarded for good suggestions/commentsYou can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly.
To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
Regards,
Ashok -
please help!!!!!! i filled out a job application using adobe reader but i cannot send the file back via email because the file is protected with a lock. how do i unlock this file to send it?!!!!!!!!!
Hi kevinv1987,
It doesn't sound like the PDF was password protected (or Adobe Reader would prompt you for a password). Instead, it sounds like that file may be marked locked by your operating system. Are you on Mac OS or Windows? In either case, here are instructions for removing the lock icon from the file:
Remove the Lock Icon from a Folder in Windows 7 (check Microsoft's website if you have a different version of Windows)
On Mac OS, select the file in the Finder, and choose File > Get Info. Then, just deselect the Lock checkbox.
Please let us know how it goes.
Best,
Sara -
To convert Sap Script output to PDF format and send it via email.
Hi Friends,
Could any one please tell me, how to convert the Sap Script output to PDF format and send it via email. If any one have the code, kindly mail me to [email protected]
Thanks & Regards,
JohnPlese check this sample code from other thread.
REPORT zzz_jaytest .
Types Declaration
TYPES : BEGIN OF ty_pa0001,
pernr TYPE pa0001-pernr,
bukrs TYPE pa0001-bukrs,
werks TYPE pa0001-werks,
END OF ty_pa0001.
Internal Table Declaration
DATA : i_pa0001 TYPE STANDARD TABLE OF ty_pa0001, "For pa0001 Details
i_otf TYPE STANDARD TABLE OF itcoo, "For OTF data
i_content_txt TYPE soli_tab, "Content
i_content_bin TYPE solix_tab, "Content
i_objhead TYPE soli_tab,
Work Area Declaration
w_pa0001 TYPE ty_pa0001, "For pa0001 Details
w_res TYPE itcpp, "SAPscript output
"parameters
w_otf TYPE itcoo, "For OTF
w_pdf TYPE solisti1, "For PDF
w_transfer_bin TYPE sx_boolean, "Content
w_options TYPE itcpo, "SAPscript output
"interface
Variable Declaration
v_len_in TYPE so_obj_len,
v_size TYPE i.
Constants Declaration
CONSTANTS : c_x TYPE c VALUE 'X', "X
c_locl(4) TYPE c VALUE 'LOCL', "Local Printer
c_otf TYPE sx_format VALUE 'OTF', "OTF
c_pdf TYPE sx_format VALUE 'PDF', "PDF
c_printer TYPE sx_devtype VALUE 'PRINTER', "PRINTER
c_bin TYPE char10 VALUE 'BIN', "BIN
c_name TYPE string VALUE 'C:\ZZZ_JAYTEST.PDF',"Downloading
"File Name
c_form(11) TYPE c VALUE 'ZZZ_JAYTEST'. "Form Name
START-OF-SELECTION.
Selecting the records from pa0001
SELECT pernr bukrs werks FROM pa0001
INTO TABLE i_pa0001 UP TO 10 ROWS.
Setting the options
w_options-tdcopies = 1 ."Number of copies
w_options-tdnoprev = c_x."No print preview
w_options-tdgetotf = c_x."Return of OTF table
w_options-tddest = c_locl."Spool: Output device
Opening the form
CALL FUNCTION 'OPEN_FORM'
EXPORTING
form = c_form
device = c_printer
language = sy-langu
OPTIONS = w_options
IMPORTING
RESULT = w_res.
LOOP AT i_pa0001 INTO w_pa0001.
Writting into the form
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'MAIN'
window = 'MAIN'.
ENDLOOP.
Closing the form
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = w_res
TABLES
otfdata = i_otf
EXCEPTIONS
unopened = 1
bad_pageformat_for_print = 2
send_error = 3
spool_error = 4
codepage = 5
OTHERS = 6.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Converting OTF data to single line
LOOP AT i_otf INTO w_otf.
CONCATENATE w_otf-tdprintcom w_otf-tdprintpar
INTO w_pdf.
APPEND w_pdf TO i_content_txt.
ENDLOOP.
Converting to PDF Format
CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
EXPORTING
format_src = c_otf
format_dst = c_pdf
devtype = c_printer
CHANGING
transfer_bin = w_transfer_bin
content_txt = i_content_txt
content_bin = i_content_bin
objhead = i_objhead
len = v_len_in
EXCEPTIONS
err_conv_failed = 1
OTHERS = 2.
v_size = v_len_in.
Downloading the PDF File
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
bin_filesize = v_size
filename = c_name
filetype = c_bin
TABLES
data_tab = i_content_bin.
The extension is put the it_mailpack-obj_name parameter of 'SO_NEW_DOCUMENT_ATT_SEND_API1'. -
I have finished my FCP X project and in the past I would burn a copy but since I am out of town I need to send it via email. The peron is able to view the project when it comes by email but I am wondering how can they burn a dvd copy of it to display at the Church for our announcements. The person I am sending it to has a Mac too. Thanks
First off, you're not likely to be able to email it. Most email systems limit the size of messages (and their attachments) since email isn't really designed for large transfers. It's not uncommon to see 50MB as a cap. Unless you're working on an especially small project you're likely to exceed this limit.
Instead you should consider creating a disk image of your DVD and using a public file service such as DropBox or YouSendIt.
If you create a disk image (.dmg) file that simulates a full burned DVD, the reciever can burn that to disk using Disk Utility on their machine. They don't need FCP X on their side. -
Send report as email thru bursting
I am trying to send report by email thru bursting. My query follows:
SELECT CLIENT_ID AS KEY
,'afsrep' AS TEMPLATE
,'RTF' AS TEMPLATE_FORMAT
,'en-US' AS LOCALE
,'EXCEL' AS OUTPUT_FORMAT
,'FILE' AS DEL_CHANNEL
'[email protected]' PARAMETER1, '[email protected]' PARAMETER2, '[email protected]' PARAMETER3, 'TEST' PARAMETER4,
'BODY TESET' PARAMETER5, 'true' PARAMETER6, '[email protected]' PARAMETER7
from Client_contacts
When we burst the report is opening in the desktop but NOT SENDING EMAIL.
Can someone help me.
Edited by: user10711255 on Jun 11, 2009 3:36 AMhave you configured the address for the email server you will be snding through. its in the delivery setup in administration.
-
I recently moved my outlook directory to a different drive as my C: drive was getting full.
Everything went smoothly except for now I cannot send emails from any of my addresses with the error "Sending' reported error (0x8004010F): "Outlook data file cannot be accessed.'" that I've associated with outlook. Recently I
uninstalled all of Microsoft Office (student) and reinstalled it on the new drive, still getting the same error. I've tried following the steps at http://support.microsoft.com/kb/2659085/en-us
but when I go into the Control Panel to click on Mail (in this case Mail (32-bit) even though I run a 64-bit OS), the icon in the control panel is a piece of paper (leading me to believe it's broken) and when I click on it, nothing happens. I don't
mean my screen flickers or even thinks about doing anything with the swirly circle cursor... it does absolutely nothing.Hi Stintedvisions,
Generally,
“0x8004010f: Outlook data file cannot be accessed” error is occurred due to wrong configuration of Outlook profile. And as you said that you have been trying all Microsoft methods to resolve, but it’s still not working, then you should use
the inbuilt utility of Microsoft called scanpst.exe. It can identify the bug and repair Outlook in minutes of times.
Thanks
Clark Kent -
When I select a photo on my iPhone and send it via email, the receipient receives it sideways. Any way to fix that?
When you took this photograph your phone was being held in that way. Sideways, try taking the photo straight on. Or it is the Picture file itself, open up the application you edit photos with and rotate it to be proper orientation. I recently had the same problem but you either have to retake or edit it at this point.
-
How can i make an action to send photos via email?
hi
under windows xp
how can i make an action to send photos via email?
i know there is a Export Actions
i tried to copy a link of "C:\Programs\Outlook Express\msimn.exe"
but lightroom export the file & open the client , but doesn't open the dialog to send email
how can i do it?For Outlook Express use MAPIMailer from
Lightroom Extra at Downloads/Other Goodies/MAPIMailer
Don
Don Ricklin, MacBook 1.83Ghz Duo 2 Core running 10.4.10 & Win XP, Pentax *ist D
http://donricklin.blogspot.com/ -
Need example commands to control an SX6000. Need to send them via a Win7 batch file.
We need to turn our project on in the morning and off in the afternoon. We have done this in the past for other projectors by sending commands via a Win7 batch file. The documentation has no examples, just a rather cryptic syntax.
The only way to get that data is either via the Outlook com object or using EWS. None of the commands in the Exchange shell look inside of a folder, the most you can get with those is email addresses for mail-enabled Public folders. Here is a link that can
get you started with how to connect to public folders via EWS, then its just enumerating the folders and looping through the items in the folders for the details of the items.
http://gsexdev.blogspot.com/2013/08/public-folder-ews-how-to-rollup-part-1.html
DJ Grijalva | MCITP: EMA 2007/2010 SPA 2010 | www.persistentcerebro.com -
Send reports by eMail without .BIAR
Hi,
Can i send reports by email for deployment on another CMC without using .BIAR file? The reports are created in Webi Rich client. The universe and associated DB already exist at the destination location. I am relatively new to BO.
Thanks...Technicaly - yes you can, but in that destination environment you will have to open thise reports using Webi Rich Client, re-point them to the proper universes and then export them to repository.
The Proper , Recomended and Supported method is to use Life Cycle Manager or BIAR file funxctionality for this operation. -
Why can't I suddenly send documents via email?
Why
Hi,
I use send file in Reader and I've tried both Internet and Google Crome. I
have Windows 7 and I use Adobe EchoSign to send the documents. You can look
into four emails I got from Adobe EchoSign where you confirmed documents I
had sent. As I said earlier why is it different now?
//Christian
2014-07-12 22:41 GMT+02:00 MichaelKazlow <[email protected]>:
Why can't I suddenly send documents via email? created by
MichaelKazlow <https://forums.adobe.com/people/MichaelKazlow> in *Adobe
Reader* - View the full discussion
<https://forums.adobe.com/message/6545474#6545474>
Maybe you are looking for
-
How to collect my data from a disk that I suspect to contain a malware
I have experience several crashes the last 72 hours and I have to buy a new hard drive that I am using as an external drive to work from as a startup disk. Once I install all my software back, how can I collect my data from a hard drive that I am sus
-
BPM-Deadlineexception triggered after canceling the process
Hi, I have a BPM scenario thats like WS <--> SAP. this goes through BPM. I have exception in for Mapping Exception, send Exception and Deadline exception. I am having a case where the mapping throws Mapping Exception. Now in the Mapping exception
-
Hi All, Could please give me idea of How to get Estimated Revenue, current YTD Realized Revenue, Prior YTD Realized Revenue and Prior Year total Actual? It would be great if you can provide me Table names and field names. Thanks for your help. Regard
-
Missing body tag from my code?
Hi, my server (Domain Express / Parallels) won't let me edit my live website (in WYSIWYG mode) because it can't find the <body> tag. It all works perfectly in the site I created in iWeb - www.franhayterconsulting.co.uk , but not working at all in the
-
Hi Guys, I know this has been posted before I have tried to follow previous people's advice/fixes. I still am not able to get my albums working with firefox3. There was one guy who gave a link to a site to download a program to help it, but when I cl