CRVS2010 beta - How to email a report from the viewer

So, I know I can export and print a report directly from the report viewer, but I need to be able to click a button on the viewer and then email a PDF version of the report.  Is this, or something like this, possible?

Hello,
You'll have to add your own button to the menu bar, there are multiple ways to do this and then you can use this code to export:
            rptClientDoc = new ReportClientDocument();
            CrystalDecisions.Shared.PdfRtfWordFormatOptions pdfOpts = CrystalDecisions.Shared.ExportOptions.CreatePdfRtfWordFormatOptions();
            CrystalDecisions.Shared.MicrosoftMailDestinationOptions mailOpts = CrystalDecisions.Shared.ExportOptions.CreateMicrosoftMailDestinationOptions();
            CrystalDecisions.Shared.DiskFileDestinationOptions diskOpts = CrystalDecisions.Shared.ExportOptions.CreateDiskFileDestinationOptions();
            CrystalDecisions.Shared.ExportOptions exportOpts = new CrystalDecisions.Shared.ExportOptions();
            rpt.Load("C:
Reports
report1.rpt");
            pdfOpts.UsePageRange = false;
            exportOpts.ExportFormatOptions = pdfOpts;
            diskOpts.DiskFileName = "";
            mailOpts.MailMessage = "See attached Action Plan";
            mailOpts.MailSubject = "Action Plan";
            mailOpts.MailToList = "youaddressATcompany.com";
            exportOpts.ExportDestinationOptions = mailOpts;
            exportOpts.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.MicrosoftMail;
            exportOpts.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
            rpt.Export(exportOpts);
Thank you
Don

Similar Messages

  • How can we run reports from the front enf of iProcurement...

    Hi Guys,
    I need to create a link to run reports from the front end in iProcurement webpage instead of using apps SRS to run the report...
    help needed...
    thanks
    aman

    Hi Tapashray,
    That was a great help. Thank you so much. A few more clarifications needed sir..
    I refered to a previous link and came to know about a prcedure he followed for a report. So is it the same way that is to be done... I pasted a descr what he said in the thread. In ur solution, you said, have a link bean. what do u mean by that. After i go thru all the steps what this guy told.
    It would be of gr8 help if you kindly look in to this for one more minute sir..
    thanks
    Creating a new report in 11.5.9
    Re: Creating a new report in 11.5.9
    Posted: Mar 11, 2005 7:12 PM in response to: dhergert Reply
    Ok, I was able to figure out the functions that were confusing me. For my own record and for those that do not know, I will list how to create the objects necessary to add a new report to a menu.
    1-Write JSP (should be written just how Oracle writes theirs)
    2-Creat function for the new JSP page as System Administrator responsibility
    3-Use Sys Admin to add the function to a menu somewhere
    4-Using AK Developer responsibility, create an attribute with the label of the attribute being the name of your function you created. Oracle's convention is the name of the attribute has FS in it.
    5-Using AK Developer, lookup the ASF_FUNC_SEC_REG region
    6-Drill down into that regions attributes
    7-Add a your newly created attribute to this region

  • How to Run Oracle Reports from the web.

    How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
    This is a univeristy that implements Banner - so can we run them from within Banner?

    Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html

  • How to open Crystal Report from the SAP GUI ?

    Hi experts,
        We have developed some reports for our ECC 6.0 system by using Crystal Report 2008 and SAP integration kit , these reports are published to BO edge 3.1 server.  To view the report, our user have to open IE and login Infoview first.
       For convenience, we want to open Crystal report from SAPGUI directly without login BOE, How can we do it? 
    Thanks.

    Hi
    please take a look here
    Crystal Reports
    Regards,
    STratos

  • How to run a BI-Publisher report from the Appworx enterprise batch sheduler

    We have a BI-Publisher report that needs to be executed staight after a batch job. Does anyone know how to execute a report from the Appworx enterprise batch scheduler?
    Thanks.

    I'm not familiar with AppWorx, but we use Autosys. We created a PL/SQL wrapper that calls FND_REQUEST.ADD_LAYOUT and FND_REQUEST.SUBMIT_REQUEST to submit XDOREPPB. For any report that needs to be scheduled via Autosys, the wrapper program is executed with the appropriate parameters.
    Hope this helps.

  • Generate XML report from the database and send EMail - BPEL 10g

    Hello,
    I was looking for the solution to generate XML report with the values from databaseadapter (select result from any table ) this result can be hundred's of records.
    so I have to generate the xml report from the result I received from DBADapter and send an email with that XML. I am stuck with how to generate XML ? Can any one please help me.
    Thank you very much

    Hello,
    I was looking for the solution to generate XML report with the values from databaseadapter (select result from any table ) this result can be hundred's of records.
    so I have to generate the xml report from the result I received from DBADapter and send an email with that XML. I am stuck with how to generate XML ? Can any one please help me.
    Thank you very much

  • How to select multiple values from the parameters in BI Publisher report

    How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...

    Hi kishore,
    I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
    Iam able to get the results when I am selecting one value..
    and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
    ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
    1.Single selection.
    2.Multiple selection.
    3.'ALL' Values.
    4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
    Ex:
    Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
    Expected Output on the report:ACCOUNT,HR,SALES
    reply to this would be much appreciated....
    thanks,
    manoj

  • How to run a report from oracle 10g form in .csv format

    dear all,
    how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
    i'm using
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
    SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
    Please Help..

    i have already tried.
    but the report show in htm or html format. that file will not save into csv. please help.

  • I have several users in an exchange environment who cannot email a photo from the iPhone.  When the click on Email Photo, they are prompted to configure a mail account even though there is already an exchange account in place.  How do I remediate this?

    I have several users in an exchange environment who cannot email a photo from the iPhone.  When the click on Email Photo, they are prompted to configure a mail account even though there is already an exchange account in place.  How do I remediate this?  Not all of the users in our environment have this issue.  If the users having this issue, install a secondary email account, Gmail, Hotmail, etc, then they can send through those accounts.  Why would the exchange account not be seen to send photos?

    Sounds like it worked until the policies associated with the account that are creating the problem were fully pushed down.
    Try setting up a new (test) Exhange account and see if it behaves the same way on the phone (after removing the problem account from the phone, of course).

  • How can print a report from form 6i,  when I press a button?

    hi Friends,
    How can print a report from form 6i, when I press a button?
    When i press a button from Form 6i, the report should print through printer.
    I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
    I want when I press a button form Forms 6i , printer will print my report directly.
    Please send me the solution of this problem.
    Best regards,
    Shahzad

    Hi
    If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
    Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
    If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run.

  • How to call a package from the Report in Oracle Application Express

    How to call a package from the Report in Oracle Application Express

    Hello,
    What do you mean? Something like SELECT mypackage.function( par1, par2) from dual?
    Or do you want to execute a procedure when something happens on the page, like clicking a button?
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • How to move a report from one account to another account

    Dear all ,
    How to move a reports from one account to another account.
    These are reports sent automatically. Unfortunately, I do not know where to find them and how to export to another account.
    Puru

    Hi,
    You can use the Transaction SCC1 to move the data from One Client to Another Client for a Client dependent table.
    The data should be present in a Transport and you can import to Transport to any client using SCC1.
    Contact the Basis team to know how to use SCC1.
    Regards,
    Aj

  • How can I empty my trash email. There is no delete or delete all option after the emails are highlighted from the edit option. This is on an i phone 4 running on ios 7.1.2

    How can I empty my trash email. There is no delete or delete all option after the emails are highlighted from the edit option. This is on an i phone 4 running on ios 7.1.2

    I have 7 email accounts on my phone. If I tap EDIT while viewing the Trash folder in any of them I see "Mark All" on the left and "Delete All" on the right. If you tap any message, however, the legends go away.

  • How to invoke crystal reports from Oracle forms 11g R2 along with passing p

    How to invoke crystal reports from Oracle forms 11g R2 along with passing parameter to it.
    how to pass parameters to crystal report, please help.

    how to pass parameters to crystal report, please help.This would entirely depend on crystal reports and you might find informations on crystal reports related communities more likely...I for one have seen crystal reports the last time about 12 years ago. And even back then I simply acknowledged it's existence instead of working with it.
    Maybe crystal reports can be invoked via a URL call which would make it simple as you'd need simply build an URL and show the report using web.show_document. But that's pure speculation. Also you might not be the first with this requirement, so the solution to your problem might be right under your nose and just a little google search away ;)
    cheers

  • How to start WAD report from MSS with Hierarchy ?

    Hello to all.
    I have a WAD Report that the parameters for it are: Org  unit - as the root, and a year/month.
    The report receive an org unit and display data for it and for all org units under it in the Org. structure.
    I start the report from the MSS.
    In R/3 in table T77MWBBWS I created an entry for that report with Reference char. = "ORG_STRU" instead of "0orgunit".
    The report ignores the Org unit that I choose from the MSS selection screen, and starts with the Root Org unit of my Org structure.
    What to do in order to start the report with the Org unit that i select and to get results for all the org. units under it ?
    Thanks, Pazit Atar.

    I am also facing same problem.
    I want to know how the org unit which is selected on MSS screen is passed to backend R/3 report (which is using PNP logical db)
    PLEASE HELP.

Maybe you are looking for