How To Run a Parameterized Report Stored in Crystal Enterprise on demand

I have been integrating into Crystal Enterprise 10 for  many years now with no problem.  We use .net to schedule and run reports as well some administration tasks.  Users can view reports through our asp.net web application using the crystal viewers.
However, I now have a task that requires us to run a report that is stored in CE on demand.  This can NOT be done through the viewer because it will not have direct user interaction.  The crystal report has to be bundled with other documents and then displayed to the user in a single PDF.  I have everything working right now if the report has already been scheduled and ran through CE.
What I can't figure out to do is how to actually run the report in CE on demand and immediately get the results back.  I can't schedule it (even for immediate running) because I can't have it backed up in the job server queue.  If the report was local on the machine that Integerate with CE, I think it is as simple as loading document, setting parameters, and calling refresh.  However, I need this to happen in CE with the RAS or PageServer server.  In other words, the execution of the report needs to occur on server and I need the end results.
I have scoured the Net looking for an example but everything either talks about scheduling through Job server or on demand through the viewer.
Hopefully someone can help.

Thanks for the answer Elaine, but I am still not quite there.
We already had interactive on-demand report viewing working through our web app.
The problem is that I need non-interactive on-deman report running.  Let me explain the process a little more to help paint the picture of the process we have.
1.  While working in our application, the user selects an "information dump" on the selected the employee.  This dump is information from a number of different places and document types.
2.  The application then goes to each of these different information areas and converts the information to PDF format.
3.  Application stitches all the individual PDF files into a single PDF which is what is returned to the user via the web application.  The delivery mechanism cannot change due to requirement limitations.
Currently, the information is coming from multiple MS Word mailmerge documents merged "on-the-fly" with data for the employee and a stored HTML worksheet that is also converted to PDF.
We now have to add a PDF version of 2 reports that are ran when the user requests the information dump. 
I already have the code to connect to CE and get a reference to the RASReportFactory.  We do this today using the interactive viewer.  However, we use the viewer to display reports that have already been scheduled and ran.  This means we simply make a call to RASReportFactory.OpenReportSource to get the source for the viewer.
We now can't have a viewer in this process.  I found the call to the method OpenDocument on RASReportFactory to get a handle to a ReportClientDocument.
I know how to properly set the values for the report arguments as well as the database information.
What I don't see is a method to tell it to run the report.  I see Save and SaveAs but this simply saves the document by to CE or to a local file with the changes I made to parms and db info. 
What do I call to tell it to execute the report so I can turn around and export it to PDF?  Thats the million dollar question.
Edited by: Stephen Barrett on Aug 20, 2008 12:11 AM

Similar Messages

  • NAV 2013 R2; How to run a customized report (206 sales invoice) in the classic client

    Hello, in preparing a newly installed NAV 2013 R2, I'm questioning the following:
    In the Development Environment I have customized report 206 Sales - Invoice in the Design menu View Layout with the space of the logo (by Microsoft SQL Server Report Builder) and
    finally saved and compiled.
    When I do run it connects to the server of what I call the classic client or the real NAV 2013 R2 and I can select a posted sales invoice to show the new layout and the result is
    fine as customized as I wanted.
    When I later ordinary print one of the posted sales invoices this customized logo layout doesn't appear on the print. I print in PDF and paper. When I make a next new sales invoice
    this new layout is not in use either.
    Another thing is run print started from the Development Environment is called Sales - Invoice in the header and not just Invoice that it the name when printing when invoicing and
    printing of posted documents.
    Additionally this form of Sales - Invoice shows our company details and good information as web, e-mail, bank account and bank name that is well demanded on a perfect invoice.
    How to get these informations out normally?
    Is the classic client having a wrong report as sales invoice?
    How to run a customized report (206 sales invoice) in the classic client NAV 2013 R2?
    It is like the customized report (206 sales invoice) is not in use yet in the classic client.
    All you wise people out there are welcomed to help me now
    Best regards
    Carsten

    Try on Dynamics Community forum: https://community.dynamics.com/nav/f/34.aspx

  • How to run a 10g report in batch mode.

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    For those of you interested in following this refer to the same thread in the Reports Forum:
    How to run a 10g report in quiet\batch mode

  • How to run Discoverer 10g report from unix command line

    Hello Experts,
    I am aware that discoverer report can run through command line using "dis51usr.exe /connect username/passward@connection_string /opendb "DISCOVERER.<<report name>> /export xls"".
    Can we run discoverer 10g report (stored in database) from server location / unix command line? Is there any command?
    Please assist. Thank you.

    Hi Tamir,
    Can you please mention from where we have to execute/run these commands? After setting enviornmental variable, are these commands run from any location or we have to go to particular server location and then execute (ex. from directory BI or else).
    Thank you.

  • How to run non-customised report from command prompt to gen trace file?

    Hi
    how to run non-customised report from command prompt to gen trace file?
    EBS R12 RUP6.
    RHEL5
    rgrds

    Hi,
    See (Note: 285497.1 - Rwrun.sh Does Not Generate Trace Output Using TRACEOPTS in Command Line) and/or (Note: 737445.1 - R12 Concurrent Requests Run Forever; rwrun Errors REP-50125) for the command you need to use.
    Thanks,
    Hussein

  • How to run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • How to run a 10g report in quiet\batch mode

    Good Afternoon,
    Please advise if there is a way to run a 10g report from command line.
    We use 6i right now and our job scheduler runs reports using "D:\ORADEV6I\BIN\RWRUN60.EXE ..." executable in batch mode on a separate server. We plan to migrate to 10g Database, Forms, Reports. Is there a way to keep this functionality and create a "command" to request the report server to run a report?
    Thank you,
    Dmitri

    So the server (we will call it server1) you have "Redwood Cronacle 6.0.2" installed on has a C: drive and a D: drive. On the D: drive is installed Developer 6i (D:\ORADEV6I). You can install Developer Suite 10g also on the D: drive (D:\ORADEV10G for example). After that, setup Oracle iAS on server2. The good news is you have to change very little code. You can:
    Not use the iAS server at all and use the following command (similar to how you are doing it now) in Redwood:
    return 'D:\ORADEV10G\BIN\RWRUN.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' batch=yes paramform=no destype=file'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE';If you want to use the iAS server, you have to consider where the report will physicall exist. You can have it exist on the reports server or you can have it brought back to the client. If you bring it back to the client you will lose the ability to run this asynchronously (or in batch mode). You will have to play with some of these parameters to get it to work perfectly, but this should be a good start. These are examples of have the report results saved locally on server1...not server2:
    1. Use rwclient to submit a report request
    return 'D:\ORADEV10G\BIN\RWCLIENT.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';2. Use rwservlet to submit a report request
    return 'D:\ORADEV10G\BIN\RWSERVLET.EXE'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=localfile'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';I would think that Cronacle 6.0.2 can submit a url as a job and wait for the results to be streamed back, so you could look into doing that also, in which case the url you would submit for the job would be something like:
    return 'http://server2:7777/reports/rwservlet?'
    ||' userid=:USRPWD'
    ||' module='
    ||v_path||'\'||p_module
    ||' paramform=no destype=cache'
    ||' desformat=' || v_printer_driver
    ||' desname=:OUTFILE'
    ||' cmdfile=:CMDFILE errfile=:LOGFILE'
    ||' server=server2';

  • How to run a pl/sql stored procedure as a concurrent program

    Hi All,
    I created a package PURGE_DEAL_REQUESTS. It contains a procedure QPR_DELETE_CANCELLED_REQUESTS. I want to run this stored procedure as concurrent program in ebs suite....
    Can anyone tell me how to run this procedure as a concurrent program(in ebs suite).....?
    Thanks
    Swathi.

    You need to add the concurrent program to the group of the responsibility that will run the report. For more details, please refer to:
    Note: 73492.1 - Creating a PL/SQL Concurrent Program in Oracle Applications
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=73492.1
    Note: 133991.1 - How to Register a Custom Report
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=133991.1

  • From 6i to 10g "How to run a 10g report from OEM scheduler"

    We recently converted all of our 6i form and reports to 10g. We had forms and reports running as batch processes.
    Now that we are using 10g it is understood that we cannot run the forms as we did in 6i using OEM scheduler, so they were converted to scripts.
    Our problem still remains, How do we run 10g reports as batch processes?
    Can we use OEM scheduler?
    Is there a better product to accomplish this task?
    ...

    Hello,
    How do you execute your Reports ?
    Do you execute it from the Builder ?
    If you execute it from the Builder, do you use Run Web Layout or Run Paper Layout ?
    (If you have upgraded a Reports From 6i, there is no web layout , so you have to use the Run paper Layout
    The web layout is something new that appeared in Reports 9.0.2)
    Regard

  • How to run an XML Report from Oracle Forms 10G

    Hello Friends,
    I am in need of showing a xml report output through a button press trigger in Oracle Forms10G.
    I have designed the report in XML Publisher and the report looks fine.I found few scripts useful in running the Oracle Report from Oracle forms10G like Run_Report_Object.But I am not aware of any script that could run a XML report and show the output directly from a Form.
    All I want is to run a XML report from an Oracle Form with a button press trigger and show the output in an html version.
    Can this be achieved?
    If so, Kindly advise as this is an immediate work.
    Regards,
    Badrul.

    Hi,
    If I am not wrong the XML publisher is same as BI publisher ...
    There is one document which explains how to integrate using web service
    You want to check this
    http://www.oracle.com/technology/products/xml-publisher/docs/Forms_BIP_v22.pdf
    or you can also try web.show_document ..

  • URGENT..How to Run Cash Flow Report.

    How do I run the cashflow report. I opened the cash flow report by going in t.code S_ALR_87012272. I entered the co. code and the g/l accounts, and the fiscal year and executed the report. But it opened a screen with no records found, although the g/l accounts have balances. Why are they not getting picked up. Is there a special way to run the cash flows report. Is it different from Financial Statement version. It is very urgent, so if I can get some help, I will greatly appreciate it.
    Thanks
    Lakshmi

    Hi Krishnan,
    Can you please tell me why is the cash flow report not picking any data though I assigned the correct FSV to it. There is another thing that I wouldlike to mention here. When I go in report painter and display the form for cash flow,though I have assigned the correct FSV in General selection, I see the FS item as 300000 which is not what is on the financial statement. On the financial statment version it is the text like petty cash and not any number like 300000 as financial item. Do I need to set up petty cash in the form in place of 300000 (because 300000 does not exist in fsv as a finacial item) Does it eman I will have to enter for each items on the cash flow report
    Thanks in advance
    Lakshmi

  • How to run drill down reports

    now i am using 9ids
    Before dev 2.1 was used.
    now before we had provision to run drill reports
    by putting a button on report
    and using
    srw.run_report(); procedure ,in button action trigger.
    now in 9i what i observed there is no object button in reports.
    button has changed to text item and there is no such action trigger.
    how to run the report
    as reports are run from form by using
    web.show_document
    pls suggest.

    Hi Rajendra,
    Again prasanth here, As u said, there is no more push button in 9i and 10g, ok. so u can drill down reports by using hyperliks which is only way(according to me). some may suggest to include JSP buttons. But u can simply place any text item like 'click here to run report' and in the property inspector(i.e.property pallette) set the hyper link property with the desination of your file. It may be a weblink or may be local file path.
    example
    hyperlink: www.oracle.com/..or
    c:\temp\test.rdf
    or u can write a trigger for that text item:
    1)right clik the text item
    2)goto pl/sql editor
    3)put the code
    a varchar(30);
    begin
    a:=srw_run_report('<the report link you want')
    return(a);
    but before doing this make sure that the item type of tha t text item property should be pl/sql(this can be set in property pallete of that text item)
    I think this help you,
    Thanks and Regards
    Prasanth A.S.

  • How to run a ProC* report called in forms6i on the WEB

    Hi all,
    We have few Proc* reports which are called in our previous version of oracle forms4.5. But we have now moved to forms6i and we want to run same ProC* reports on the web using forms6i.
    I don't have a clue how to do it..
    Have anyone done something similar to my requirement or is there any reference manual to look in.
    Thanks..
    regds
    Lasily THomas

    Thanks frank for the reply..
    We use the follwing code to call Pro*C report in forms4.5
    PROCEDURE RUN_HOST IS
    cursor DOCKET_CUR is
    select NVL(DELIVERY_DOCKET_TYPE,'A')
    from CLIENT
    where CODE = :PARAMS.CLIENT_CODE;
    p_report_id wms_report_log.report_id%TYPE;
    p_program wms_report_log.program%TYPE;
    p_select_args wms_report_log.select_args%TYPE;
    ret boolean;
    delivery_docket_type varchar2(1);
    BEGIN
    check_order;
    open DOCKET_CUR ;
    fetch DOCKET_CUR into delivery_docket_type;
    if DOCKET_CUR%notfound then
    delivery_docket_type := 'A';
    end if;
    close DOCKET_CUR;
    p_program := 'mr803';
    p_select_args :=
    'CLIENT="' || :params.client_code || '" ' ||
    'ORDER_NO="' || :params.order_no || '" ' ||
    'DOCKET_TYPE="' || delivery_docket_type || '" ' ||
    'PRINT_SUB="' || nvl(:params.print_sub_orders,'N') || '" ' ||
    'REPRINT="' || 'Y' || '"';
    ret := wms_report_init(p_program, p_select_args,
    :params.printer_name, :params.background_mode,
    p_report_id);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    -- if no report_id was set then user must of cancelled
    if p_report_id is null then
    return;
    end if;
    :system.message_level := 10;
    commit;
    :system.message_level := 0;
    ret := wms_run_report('../proc/'||p_program, p_report_id, :params.background_mode);
    if (ret = FALSE) then
    raise form_trigger_failure;
    end if;
    END;
    Frank, can u please briefly explain what do u mean by
    physical
    directory for Web access and use Web.show_document()
    in Forms on the Web to download the Reports output to
    the client.Im very new to forms6i..
    regds
    Lasily THomas

  • How to run Aged Payable report

    Hello Gurus,
    Please how can I run aged payable report with the following format?
    Vendor ABC
    0-30 days
    31-60 Days
    61- 90 Days
    91-120 Days
    +121 Days
    Document Date
    Reference #
    Terms of Pymt
    Net Due Date
    Current
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Subtotals
    X
    X
    X
    X
    X
    Vendor DEF
    0-29 days
    30-59 Days
    60-89 Days
    90-119 Days
    +120 Days
    Document Date
    Reference #
    Terms
    Net Due Date
    Current
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Subtotals
    X
    X
    X
    X
    X
    0-29 days
    30-59 Days
    60-89 Days
    90-119 Days
    +120 Days
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Past Due Date
    Grand Total =
    X
    X
    X
    X
    X
    Please I need you help.
    Thank you.

    Hi,
    Let me put it this way, the ageing report requirement comes from client i.e. Business which includes users/core-team members/management.
    So, if the requirement to change the ageing report comes from business (whoever is it), then ofcourse, you'll have to rely on them for specifications of report, because ultimately they are the end users for this report, and they know what changes they want.
    I'm not sure under what capacity you're asking this question. If you yourself are the user of this report, then you'll have to provide the detailed requirement to your FI guy who'll work with developer to design the report.
    Thanks,
    Nirav 

  • How to run a bex report in backround

    All,
    Could anybody tell me how to schedule a bacround job to run a bex report. It would be great if i could email the results also,
    I appreciate any help with points,
    Regards,
    Mike

    A reporting agent (RSREP TC) is replaced by broadcaster in 7.0, but what both do is execute the query in background and put it in  cache and you try to access the cache when you execute the web template which is techinically a query.
    thanks.
    Wond

Maybe you are looking for

  • Incompatible image size error

    Hi, I had a program that was working, and then made a copy of it to make some changes.  The main change was to be able to put a BCG correction on the subtracted image.  Now for some strange reason I get an Incompatible image size error.  Can anyone h

  • How do I use a thread from the execute pool

    Is there any way to use the execute pools directly from my application code? We cannot find any reference in the documentation. This will probably happen in a startup class, but not limited to. Thanks, Elli

  • Different exchange rate type for budgetting internal orders

    Hi, we would like to use a different exchange rate types when budgetting on internal orders depending on the order type. In our current set-up  the internal order types are linked to a budget profile, in this budget profile we have specified the exch

  • ICACLS performance issue

    Hi Team, I am trying to Set permissions to 7000 + set of folders from parent to child to change from Full to 770. But this is taking blackberries than 5 minutes to apply. Is there any alternative to Improve the performance of this? Also, the Observed

  • Can we add one additional screen in standard transaction.

    One requirement is to create screen after executing the standard transaction. I have an UserExit to create from where i can use to write a code for the standard tramsaction , But How can i add one userdefined screen in SAP Stardard Transaction. I am