Email a d2k report
Hi folks,
i would like to know how can one email a report developed in d2k in the format shown in the report previewer to another user.
null
hello,
use DESTYPE=MAIL and use DESFORMAT to specify the format of the attachment.
DESNAME would be the recipient.
regards,
the oracle reports team
Similar Messages
-
Cannot Send Email from Crystal Reports Viewer; MAPI:Overflow
I am trying to send a report via email with crystal reports, but i get the following error message:
"The following unexpected error occured while trying to send the report to MAPI: Overflow."
I am using Outlook 2010, Win 7 x64 bit.
Does anyone have any ideas or thoughts?Yes, it is a 3rd party app that opens Crystal Reports Viewer. Attached are the screen shots I get when try to send the report as an email.
-Dan -
Email sending: "sending report output directly to the body of the email"
Hi
I got one requirement.this is the enhancement to already exisitng report.when user clicks on send email check box,report has to be display and this report output has to be send to email of the particular vendor. it has be seen directly in the body of the mail.not as attachement.Report output is in ALV format.Data is stored in internal table t_data.can anyone suggest what is the procedure for this.Hi i have tried the same thing and it works very fine,
i will share my code, you just follow exactly, hopefully you can solve the issue..
you refer clearly the body of the mail,
it should solve your issue/
FORM send_email .
DATA lt_message TYPE bcsy_text.
DATA lv_mail_title TYPE so_obj_des.
DATA document TYPE REF TO cl_document_bcs.
DATA recipient TYPE REF TO if_recipient_bcs.
DATA send_request TYPE REF TO cl_bcs.
DATA sent_to_all TYPE os_boolean.
DATA bcs_execption TYPE REF TO cx_bcs.
DATA wf_string(200) TYPE c.
* DATA wf_string TYPE string.
DATA doc_execption TYPE REF TO cx_document_bcs.
DATA lv_status(20) TYPE c.
DATA lv_count_email TYPE i.
DATA lv_temp_stepcount TYPE c.
LOOP AT wt_email INTO wa_email.
TRY.
CLEAR send_request.
send_request = cl_bcs=>create_persistent( ).
*Create Title
lv_mail_title = 'Report Title'.
*Create Message(EMAIL Body)
REFRESH lt_message.
APPEND '<p><b>Dear Sir/Madam,</b></p>' TO lt_message.
APPEND '<p>The following report shows the status of </p>' TO lt_message.
APPEND '<br>' TO lt_message.
APPEND '<table border= "1" color = 2>' TO lt_message.
CLEAR wf_string.
CONCATENATE '<th><tr>'
'<td>Vendor </td>'
'<td>Vendor Name</td>'
'<td>Coloun 1</td>'
'<td>Coloum 2</td>'
'</tr></th>' INTO wf_string.
APPEND wf_string TO lt_message.
LOOP AT wt_itbl INTO wa_itbl WHERE vendor = wa_email-vendor. "-> Define your Condition here wt_email( should contains vendor and its respective email id)
CLEAR wf_string.
CONCATENATE '<tr><td>' wa_itbl-vendor '</td>' INTO wf_string.
APPEND wf_string TO lt_message.
CONCATENATE '<td>' wa_itbl-Vendor_name '</td>' INTO wf_string.
APPEND wf_string TO lt_message.
CONCATENATE '<td>' wa_itbl-COL2 '</td></tr>' INTO wf_string.
APPEND wf_string TO lt_message.
CONCATENATE '<td>' wa_itbl-COL3 '</td></tr>' INTO wf_string.
APPEND wf_string TO lt_message.
ENDLOOP.
APPEND '</table>' TO lt_message.
APPEND '<br>' TO lt_message.
APPEND '<p><b>Thank You</b></p>' TO lt_message.
*Create Document
CLEAR document.
TRY.
CALL METHOD cl_document_bcs=>create_from_text
EXPORTING
i_text = lt_message
i_documenttype = 'HTM'
i_subject = lv_mail_title
RECEIVING
result = document.
CATCH cx_document_bcs INTO doc_execption.
ENDTRY.
*Add document to email
send_request->set_document( document ).
*Add recipients to send request
IF wa_email-smtp_addr IS NOT INITIAL.
recipient = cl_cam_address_bcs=>create_internet_address(
i_address_string = wa_email-smtp_addr ).
send_request->add_recipient( i_recipient = recipient ).
ENDIF.
*Send Email
CALL METHOD send_request->send
RECEIVING
result = sent_to_all.
COMMIT WORK.
IF sent_to_all EQ 'X'.
lv_count_email = lv_count_email + 1.
ENDIF.
CATCH cx_bcs INTO bcs_execption.
ENDTRY.
ENDLOOP.
IF sent_to_all = 'X'.
SKIP 2.
FORMAT COLOR COL_GROUP INTENSIFIED ON.
ULINE /(10).
WRITE: / 'Remark : '.
ULINE /(10).
FORMAT RESET.
WRITE: / 'Email Message Sent Succesfully'.
RETURN.
ENDIF.
ENDFORM. -
Send Email Attaching the Report generated in Program.
Hi All,
I am generating a report in list format with write statements.
My requirement is to send an email attaching this report as an attachment.
I wanted to know how to get the listobject of the report generated by my program from the memory. Can anyone guide me with this ?
It will be appreciable , If any one can give me more information on sending mails attaching the reports generated by the program.
Thanks in advance,
MayankHi,
I think the problem is not clear.
My problem is to get the listobject name which got generated after the program run.I want to attach this list report to the email. I have seen a code from one of the link.
Here it is.
List of Users According to Logon Date and Password Change
NOTE: Create ALI/OTF Document in Spool
SUBMIT rsusr200 WITH valid = 'X'
WITH notvalid = space
WITH unlocked = 'X'
WITH locked = space
EXPORTING LIST TO MEMORY AND RETURN.
<b>* Read list from memory into table
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = lt_listobject
EXCEPTIONS
not_found = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error in function module &1
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.</b>
Because listobject is of size RAW(1000)
and objbin is of size CHAR(255) we make this table copy
CALL FUNCTION 'TABLE_COMPRESS'
TABLES
in = lt_listobject
out = lt_objbin
EXCEPTIONS
compress_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
Error in function module &1
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
Here the report is sumitted with the option of exporting the list in to the memory which is later read using 'LIST_FROM_MEMORY'.
But here i need the same report's output to be captured and want to read the list generated from memory into table.
How can i get the listobject of the list generated by the report in the same report program itself ??
Please let me know.
Mayank -
Sending email with HTML report through a button
Hi,
I've noticed in APEX 4 there is a default option (through Action Menu -> Download Formats: email) to send an email with report in HTML format...
may I know how to accomplish it using a Button... seems like APEX is using javascript:gReport.email.show(); function to accomplish it but I don't know how to implement it...
Please advice
Thanks in advanceqwe12654 wrote:
GokhanAtil,
I've posted a sample on APEX.ORACLE.COM... LOGIN DETAILS ARE SAME AS ABOVE...
ON the page now I have both the SQL based report and interactive report...
On the top right you may see 2 icons.. one for downloading report in PDF (using SQL Report as the source) and the second for sending email (using interactive report, similar logic as what you've recommended)...
Is there a way I may be able to send report via email, using SQL report as the source (rather than interactive report)...?
You can always use APEX_MAIL to send emails.
http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_mail.htm
or the alternative option would be:
to convert all my SQL reports into interactive, would require a bit of efforts (I'll go with it if the above option is not available)... but would need to know how to download INTERACTIVE reports in PDF, excel and CSV formats using a button ... similar logic to what you've done for sending emails
Thanks again for all your assistanceIt's very easy to make buttons for downloading the interactive reports in HTML, CSV or PDF.
I have created a PDF button and put the link:
http://apex.oracle.com/pls/apex/f?p=40418:11:1316531694094700:PDF
"1316531694094700" is the value of p_instance. You can find it from HTML codes of your page:
<input type="hidden" name="p_instance" value="1316531694094700" id="pInstance">
You can change PDF to CSV or HTMLD (so your visitor download the report in CSV or HTML)
Best Regards,
Gokhan
If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. Thanks -
D2k report query , want to develop in obiee 10g
Hi,
I have a d2k report query, the result what i am getting in d2k report can i get the same result in obiee 10g.
my query in d2k report auery is like :
select a.vndr#,b.vndr_name,a.cust_type_cd,c.cust_type_e_dsct,a.branch_cd,d.branch_e_name,(sum(nvl(a.sales_total_value,0))-sum(nvl(a.return_total_value,0))) net_sales_value,count(distinct(a.cust#)) cust_count
from cust_net_sales_tmp a,vendor b,cust_type_codes c,branches d where
a.vndr#=b.vndr# and
a.branch_cd=b.branch_cd and
a.cust_type_cd = c.cust_type_cd and
a.cust_type_cd between :f_ctype and :t_ctype
group by a.vndr#,b.vndr_name,a.cust_type_cd,c.cust_type_e_dscr,a.branch_cd,d.branch_e_name
order by a.vndr#,a.cust_type_cd,a.branch_cd
thank you.
please suggest..Hi,
The presentation variable is being passed correctly, but still the date value is not persisiting.
I have two prompts, both having presentation variables passed into them;One of the prompt value is being persisted but the other one(here date) is not.
I am not able to justify this issue as the problem is very vague. I dont see any reason for this issue to come up.
Anyways I am still trying to figure out the problem.
Regards
Ankita -
Emailing open PO reports to Vendor
Hi
Emailing open PO reports to Vendor (through ME2L Tcode), However sending these emails automatically generates a "Delivered" and a "Read" email notification each time the report is
sent.
I do not want receive either a Delivered " nor a "Read" auto notification.Please figureout how to turn off this auto notification.
Thanks
AnandHi
Thanks for your earliest reply prashant.
Is there any option to turn off these things in SAP.
Thanks
Anandp -
How to email the Financial Reports to selected set of users - Hyperion
Hello Everyone,
I was wondering if there is a way to email a financial report (in Hyperion Financial Reporting Studio) to selected set of users based on the selection of Entity from the POV. If yes can it be automized in a way that everytime the report is run for a particular entity, it will email the report to the selected set of users?.
ThanksYes, you can schedule batches (not in FR, but in Workspace). You might find this useful:
http://docs.oracle.com/cd/E17236_01/epm.1112/fr_webuser_epm/scheduler_wizard_fr.html
More info on Financial Reporting Workspace User’s Guide: http://docs.oracle.com/cd/E17236_01/epm.1112/fr_webuser_epm/launch.html
Cheers,
Mehmet -
Converting Crystal reports to Oracle D2K reports or BI Publisher
Hi I have one requirement
I need to convert crystal reports to oracle D2k reports is there any tool which will make my work easier
any body who has work on it please suggest.
Thanks in advance
Edited by: Qwerty on Jul 9, 2010 12:44 PMcheck this it may help
http://www.oracle.com/technetwork/middleware/bi-publisher/convert-to-bi-publisher-11g-1611815.pdf ( page 25 - 45 )
http://download.oracle.com/otndocs/xmlp/CrystaltoBIP.pdf -
Getting duplicate emails from SharePoint Report Library subscription.
Getting duplicate emails from SharePoint Report Library subscription.
Users are subscribed for each item in Report Library and it is scheduled to send email at 3 PM every day.
But, intermittently users are getting duplicate emails.
Please let me know on how to troubleshoot...If you have Exchange, you can track the email from there to see if that yields any value. You can also turn up the diagnostic logging in Central Admin -> Monitoring -> Configure diagnostic logging -> SQL Server Reporting Services, and selecting:
Report Server Email Extension
Report Server Schedule
Report Server Subscription
Turn them up to Verbose in the Trace log, then monitor the ULS log when you identify a user who has received duplicate emails.
Trevor Seward, MCC
Follow or contact me at...
  
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs. -
Email analysis overview report questions
hi,
please see the attached file.
this is an email analysis overview report which shows strange results...:
1. how can the open rate be bigger than 100% ? - the eloqua report guide defines this metrics as # unique opens/# emails delivered, am i missing something here ?
2. something is strange also with the click to open rate - the email click through link breakdown & email open overview reports are attached to the workbook also, so you can see that the total unique clicks = 152, and the total unique opens = 244, so the click to open rate should be = 152/244 = 62.2%, not 45.85%, right ?
thanks.my thoughts...
The "Email clickthrough Link Breakdown" report is only unique per link, not per person. Someone can technically uniquely click on all of the links in the email, so a user could show up as a count for all links in the email if they clicked them on that report.
The Click to open rate as calculated in your Email Analysis Overview is based on Unique clicks per user/per email, so the most a single user can have is 1.
When running the Email Analysis Overview Report - you can add in your unique metrics in step 5, after you select the emails to report on. make sure you add them to the right hand column. -
Hi all,
I would like to know how a d2k report can be saved in excel format. I am working with oracle 8i.
lacchhiiThis is not a Forms forum - this is a PL/SQL forum. Kindly post your problem here ->
Forms
And, marked this post as answered to close this thread here.
Regards.
Satyaki De. -
Waht is the email address to report a refund. I paid monthly subscription for Fring but it does not work and Fring support asked me to report this to Apple support? I'm not aable to report this issue to the right people??
For issues with an iTunes Store purchase, email:
http://apple.com/support/itunes/contact/ -
Sending an email when the report is being refreshed
Hi All,
Is it possible, in Answers, to send an email automatically when a report is being refreshed ?
Thanks in advance,
LauYou can do this multiple ways, As you mentioned using conditional ibot also. You should have flag or indicator in your database saying that ETL load was done. Then based on conditional request run a ibot. But the trick is after completing this ibot you need to turn of the flag.
Other easiest way is Create a report which runs ibot, Make sure you checked Oracle BI Server Cache feed check box, save the ibot. At the end of ETL execute a command which runs the ibot job for you. There is a command mode application available in Oracle BI called SASchInvoke.exe. This application will run the ibot for you.
here is the blog which explains more about it.
http://oraclebizint.wordpress.com/2008/03/06/oracle-bi-ee-101332-integrating-schedulerdelivers-into-other-applications/
- Madan -
Simple Email Campaign - Extracting reports
Hi everyone,
I have a simple email campaign running (still active) and I am wondering how you can export the clicks, opens of this campaign. I can't see it in Insights as a campaign and there's nothing in the settings apart from campaign audit, entry and exit lists.
Thank you,
EdinaThat's actually a very good point to make. Here's why I think it might not be working. Originally, that "Create a Simple Campaign" option did not exist. That came about during a release at some point last year. Prior that point, the only "Campaign" option was the Campaign Canvas (Create or Open) and the Campaign reporting was setup to be very literal because there are also automation programs in the Program Builder.
So, to make a long story short, it sounds as though Eloqua, for reporting purposes is defying their own literary definition here by treating a "Simple Campaign" identical to the old email send option from the email builder. This being the case, I would recommend that for the time being, you use the Email Analysis reports in Insight to look at the clicks/opens/etc of the campaign. However, it is probably a good idea to bring it up to your Eloqua rep because now that they have expanded the definition of what a "Campaign" is they should be more clear in Insights.
Maybe you are looking for
-
BAPI_GOODSMVT_CREATE using inbound delivery with HU
I have a program that uses BAPI_GOODSMVT_CREATE to GR Post the inbound delivery. The inbound delivery is created thru ASN. But I encounter error message BORGR 637 "Inbound delivery cannot be packed". This error occurred because item packing status
-
Inbuilt RFC/IDOCs to upload ITEM MASTER DATA in SAP IS Retail system
Hi, Kindly let me know the inbuilt IDOCs/RFCs to upload ITEM MASTER DATA in SAP IS Retail system. Otherwise let me know the tcode to check the inbuilt IDOCs/RFCs in SAP IS retail system or let me know all MASTER DATA related inbuilt IDOCs/RFCs in SAP
-
I don't know if having the IE version 7 is the reason for the conflict. However, until Adobe fixes what ever the problem is, go to http://www.mozilla.com/en-US/firefox/ Download that browser for now... Good luck. It helped me out!
-
For an assignment I have I was told to make a constructor that inputs a File object, I think i properly created this object in my main program but when I put public classname(File file1) for my constructor it gives me the error "File cannot be resolv
-
What is the association between JMS Server and JMS Module in weblogic 10?
Hi, I have a created a ConnectionFactory, Queue, Topic under JMS Modules in Weblogic Server 10 using admin console. And I have created a JMS Server and Targetted to the current running server (Admin Server). But when I run the Queue Sender program it