Report destype and parameters

hi,
i m running report through following method... but it does take parameters.
declare
us varchar2(20);
pas varchar2(10);
ser varchar2(10);
begin
us := get_application_property(username);
pas := get_application_property(password);
ser := get_application_property(connect_string);
Web.Show_Document('/reports/rwservlet?&report=customer_list.rep&userid='||us||'/'||pas||'@'||ser||'&destype=cache&desformat=PDF');
END;
1) how i can view on screen report , not is pdf ?
2) how i can pass parameter to pdf report and to screen report ?
thanks

Hi,
now i am using following code to run report ... it is not showing parameter form n runs report without asking parameter n show reports columns with no data.
i am using Oracle Reports 9i ....
i have tried many time to run report with paraform but useless whether orarep9i destype = pdf supports paraform ?
declare
us varchar2(20);
pas varchar2(10);
ser varchar2(10);
begin
us := get_application_property(username);
pas := get_application_property(password);
ser := get_application_property(connect_string);
Web.Show_Document('/reports/rwservlet?&report=cashrecvd_bwdates.rdf&userid='||us||'/'||pas||'@'||ser||'&destype=cache&desformat=PDF&paraform=yes');
END;
thanks

Similar Messages

  • Crystal XI Report viewer and Parameters

    Post Author: mnichols1202
    CA Forum: General
    This one is killing me.
    I have a report connected to a SQL 2005 backend.  One subreport. one Parameter.
    I set up the report object (login to the db...set the parameter...etc.)
    If i do a crReportDocument.PrintToPrinter(1, False, 0, 0)  - report prints, works fine ....beautiful.
    Now, I do the exact same thing Same code same evrything except at the end i do this.
    Me.CrystalReportViewer1.ParameterFieldInfo = crReportDocument.ParameterFields
    Me.CrystalReportViewer1.ReportSource = crReportDocument
    The report ignores my parameter and displays the entire recordset!
    No prompts for a value - and if i break..  after
    Me.CrystalReportViewer1.ReportSource = crReportDocument i can see that the paramter has the correct value in it.
    Doesn't seem to mater if its set to a defaultvalue or currentvalue - tried em both - neither works.
    Someone please point me in the correct direction?
    Thanks, Mike
    Oh and it's VS 2005 - vb.net - !

    Hello Julian
    This thread being 4 years old, I'd recommend that you create a new thread. Specify the following:
    Exact version of CR (e.g. CR XI or CR 2008 is not good enough)
    Version of .NET used
    OS
    Is this issue on your development computer or after you deploy the app?
    Database and database connection method
    - Ludek
    Follow us on Twitter
    Got Enhancement ideas? Try the SAP Idea Place
    Share Your Knowledge in SCN Topic Spaces

  • Two pages, two report portlets and parameters

    Hi, seriously needing advice!
    I have to sql reports which is in two portlets.
    I have two pages, and one portlet within each page.
    I wan't in page 1 the report 1 to have url links with parameter to open page 2 with results in report portlet based on param from portlet 1.
    I have manged:
    - Page one portlet has link witch opens the 2nd portlet correct, but not the whole page
    - Page 2 can take the parameter I am after.
    BUT: I can't "stitch" them together! Any ideas?
    Thank,
    Kjersti, Norway

    PROCEDURE PROC_test IS
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(100);
    v_server_length NUMBER;
    REP_SERV VARCHAR2(100);
    paramlist_id ParamList;
    paramlist_name VARCHAR2(10):='tmplist';
    Begin
    repid := find_report_object('HIST_DISPENSE');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'HTML');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'REP_ORACLEWEB');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no R_ST_DT='||:BLK_A_NUM_GT7_NO_HIS_DISP.FROM_DATE 'paramform=no R_END_DT='||:BLK_A_NUM_GT7_NO_HIS_DISP.TODATE);
    v_rep := RUN_REPORT_OBJECT(repid,paramlist_id);
    message('vrep is '||v_rep);
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    message('status is'||rep_status);
    v_server_length := LENGTH(GET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER));
    message('server length is '||v_server_length );
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    message('REP STATUS IS'||rep_status);
    END LOOP;
    IF rep_status = 'FINISHED' THEN
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://10.20.56.20:7778/reports/rwservlet/getjobid'||
    substr(v_rep,v_server_length + 2)||'?'||'server=REP_ORACLEWEB','_blank');
    ELSE
    message('Error when running report');
    message('SQLERRM ' ||SQLERRM);
    END IF;
    end;
    Hi
    I'm having problem passing two paramters, Pl helpme by correcting the syntax.
    Thx

  • Destype and desname parameters don't work properly

    Hi,
    We have a j2ee webApp that uses oracle reports to run reports. One report in particular could be really long and slow (b/c it contains lots of dynamically generated jpegs) depending on what parameters a user chooses. So for this report, we'd like it to run asynchronously, notify the user when it is finished, and store the pdf on that user's local machine. So our report url looks like this:
    http://appServerHostName:portNumber/WebApp/rwservlet?report=someReport.jsp&server=ourServer&destype=LOCALFILE&desname=$TMP/test.pdf&cmdkey=someKey&desformat=pdf&ENGINERESPONSETIMEOUT=50&NOTIFYSUCCESS=[email protected]&NOTIFYFAILURE=[email protected]&background=yes&ourSpecificParameters...
    I got the first 2 things working by doing background=yes&notifysuccess=someEmailAddress
    However, I can't get the report to be downloaded to the user's machine after it's done running. I've tried:
    1) destype=localfile&desname=$TMP/test.pdf
    2) destype=localfile&desname=C:\temp\test.pdf and other ways.
    I also tried to see if I could store the pdf on our UNIX appServer:
    destype=file&desname=$TMP/test.pdf but that didn't work either.
    No matter what I set destype to (localfile, cache, or file), the pdf ALWAYS gets stored on our appServer at $ORACLE_HOME/reports/cache and the name of the pdf gets derived from the value of desname plus some 8-digit random numeric string. So in the 1st case above, the generated pdf was:
    test25136488.pdf
    And in the second case, the C:\temp\ wasn't interpreted as a directory, but as part of the filename so the result was an ugly filename:
    C:\temp\test14257852.pdf
    This is only a problem for us for this 1 report (and possibly others in the future) b/c our other reports typically run pretty fast so the user can just wait for the pdf output to pop up in their web browser.
    Any help on how to get destype and desname working properly (or if you have a better solution for dealing with really time and memory consuming reports) would be much appreciated.
    Thanks.

    Hello,
    The behaviour of DESTYPE=LOCALFILE is not the same for rwclient and the reports servlet :
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwrefex/cmdline/common/bld_destype.htm
    It is not possible to save an ouput returned by an URL automatically with a browser.
    If you want something automatic, you have to use a free utility like curl or lynx
    http://curl.haxx.se/
    http://lynx.isc.org/lynx2.8.5/index.html
    or write a small application in java. There are many examples on the web :
    http://www.devdaily.com/java/edu/pj/pj010011/index.shtml
    Learn how to download the contents of a URL
    using Java's URL class
    http://www.javaworld.com/javaworld/javatips/jw-javatip34.html
    Java Tip 34: POSTing via Java
    Learn how to POST data to Web servers in Java
    http://www.exampledepot.com/egs/java.net/Post.html?l=rel
    e135. Sending a POST Request Using a URL
    http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html
    Reading Directly from a URL
    Regards

  • Dynamic report based on Parameters and a Button

    Trying to make a dynmic report based on Parameters entered.Wanted to refresh report when i click on a button say "OK" based on parameters entered.
    (1) created 2 text boxes -- Parameters --One date and other employee No
    (2) on the same page i created a report-region which id dynamic "PL/SQL Function Returning SQL Query "
    In this query i am using the parameters created in step1
    (3) Then i created a Button say "OK" .
    (4) When i enter parameters and then press OK i need to refresh my report in region defined in step2
    This refresh is not happening .
    Not sure what is missing
    I tried using branching it didn't work
    In the dynamic region it shows "No data found"
    Please help

    sachin
    1) make sure there is no Optional Redirect defined on the OK button. That is, make sure the page is really submitted.
    2) in the PL/SQL body generating the query, print out the query using htp.p() so you get to see it and test it.
    3) use the session state link in the developer toolbar in conjunction with the technique in step 2) to debug your query
    Maybe the report region is refreshing, but it just isn't returning any results.
    Sergio

  • Bursting and Parameterized report

    Hi,
    My scenario is as follows:
    I have a report which displays customer details for particular month.
    Previously, I created this report with two parameters -
    a) Customer ID
    b) Month-Year
    Now, I have to use bursting to generate report for each combination of customer and month-year
    My questions are,
    1) In this case, I have two KEY values - Customer and Month-Year
    But, we can give only one KEY value.
    How should I add Customer ID as well as Month-Year in KEY tag?
    2) If I have to use bursting capability, I have to remove parameters - Customer ID and Month-Year
    Because, if I keep it, my data set query has filter on it
    and I don't get any result for bursting.
    Can we use parameters and bursting at the same time?
    For example:
    Previously my query was,
    Select Customer_ID, Month_Year from Customers where Customer_ID = :Customer_ID and Month_Year = :Month_Year
    In Bursting Query will be,
    Select Customer_ID, Month_Year from Customers
    I want to use both the capabilities -
    a) User should be able to view report with parameters
    b) User should be able to burst the report
    Thanks for help

    Thanks for reply..
    Following are my comments:
    1. I will try that. Thanks
    2. Ok. Good.
    3. See,
    My Data Set Query is,
    Select Customer_ID, Month_Year from Customers where Customer_ID = :Customer_ID(Parameter 1) and Month_Year(Parameter 2) = :Month_Year
    Here, :Customer_ID and :Month_Year are parameters
    Default values would be,
    Say, Customer ID = '123456'
    And, Month_Year = '201412'
    In this scenario, user can enter customer ID and month-year
    In case of bursting, how we can handle this?
    4. We don't expect NULL values as reports will be fetched from processed data
    5. When bursting, we wnat to create PDFs for each Customer ID and Month-Year combination
    So there will not be any input parameters (Customer ID and Month_Year)

  • Wesite Login and navigate to reports page and pass parameters to the forms page and download file

    Hello,
    New to C# scripting in SSIS. Everyday I download data file from a website. I need to schedule a page to include a script to auto download from the website everyday by navigation to reports page and submenu for a particular report. After I click it opens
    a webpage where I need to select my criteria and download the file to a table. This is what so far I got
    Object mySSISConnection = Dts.Connections["websiteConnectionManager"].AcquireConnection(null);
    MessageBox.Show("Success")
    I got the success message. After login, I need to navigate to select reports and then from submenu select the everyday report and pass the input parameters to the webpage and download the file and export to a tables. Any help. Not much coding I know. Learning!!
    Any help really appreciate it.
    Thanks
    Jagan

    Whoever instructed you to so is not prudent, once the report definition changed the package will break.
    This is not the proper data interexchange.
    Here is though an example on how to generate a SSRS report and download as a file: http://sandeep-aparajit.blogspot.ca/2010/02/how-to-execute-and-save-ssrs-report.html
    And then to load the file into OLEDB destination http://www.daimto.com/ssis-lesson-2-first-package/
    Arthur
    MyBlog
    Twitter

  • Enhancing Customer Reports with Commands and Parameters

    Hi All,
    I am implementing the mentioned tutorial. I have succesfully deployed the AccessStatisticApplication PAR on portal. While scheduling the report from Content Management -> Reports -> Running Reports, it is giving error "<b>Can't find bundle for base name com.sap.netweaver.km.stats.reports.DocumentAccessReport, locale en_US</b>". Has anyone faced the problem, can anyone please help to remove this runtime error.
    Related Link: <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d28a67b-0c01-0010-8d9a-d7e6811377c0">Enhancing Customer Reports with Commands and Parameters</a>
    Regards
    Poonam

    <i>True, the application property service is apparently not to be used for a real-life scenario</i>
    You can definitely use the application property service in production scenarios - it's used by other components in a standard KM install, i.e. out-of-the-box.
    <i>in our case it forced the server down with deadlocks. </i>
    This should definitely not happen! Did you get SAP support to take a look at this? Was it the most popular documents report that caused this, or some other custom code? There should be no such problem with this service, since it's been around for quite some time and in production use.
    <i>
    Even if the code sample is not to be used for real-life scenarios it could at least make use of something else than the application property service which isnt't optimal for this use.
    </i>
    The application property service is good for a lot of scenarios, so it is realistic to use in in real-life scenarios. The only time I have seen this approach (storing the number of hits on documents in the database) fail is in very high-load scenarios.
    <i>Could you provide me with a link to the documentation for the logging framework?</i>
    <a href="http://http://help.sap.com/saphelp_nw70/helpdata/en/d2/5c830ca67fd842b2e87b0c341c64cd/frameset.htm">Logging and Tracing</a> on help.sap.com and <a href="https://help.sap.com/javadocs/NW04S/current/en/index.html">Logging and Tracing API (J2EE Engine API)</a> for NW 7.0.

  • Execute a Query from a report sending it parameters and capture the result

    Hello everybody,
    Greetings from Peru, I want your help, Do you know how to execute a query from a report sending parameteres and capture the result in a internal table?
    The attached imaged has in red square the parameteres I want to send from a report.
    The idea is to have a JOB that executes everyday and parameters like DATE PERIOD will change automatically.
    Thanks for your time.

    Hi Enrique,
    You can call a query from a report by using submit statement.
    Every query has a corresponding program associated with it.
    Execute the query from SQ01. On te selection screen of query, goto SYSTEM  from menu and then click on STATUS, you will get program name (In this case aqzzzent_struct=zmm_ent_struc1). Use this program to call the query from your custom program.
    Also populate the rspar int table as per the selection criteria you want to pass to query.
       DATA: rspar     TYPE TABLE OF rsparams,
        wa_rspar  LIKE LINE OF rspar.
          wa_rspar-selname = 'SP$00001'.
          wa_rspar-kind = 'S'.
          wa_rspar-sign = 'I'.
          wa_rspar-option = 'BT'.
          wa_rspar-low  = s_cmp_cd-low.
          wa_rspar-high = s_cmp_cd-high.
          APPEND wa_rspar TO rspar.
       SUBMIT aqzzzent_struct=zmm_ent_struc1 WITH SELECTION-TABLE rspar AND RETURN.
    Thanks,
    Sachin

  • How do I create a folder or report from a query with a union and parameters

    I have created folders with unions but I am having difficulty coverting a query with a union and parameters.
    The following works great in SQL*Developer without parameters, but I want to change to use parameters for the year and quarter and use it in Discoverer:
    SELECT TO_CHAR(NVL(AV.TAX_ID,999999999),'000000000') FEID,
      AV.FIRM_NAME VENDOR_NAME,
      AV.BIDCLASS CONTRACT_CODES,
      AV.AWAMT AWARD_AMOUNT,
      AV.SOL_MODE FORMAL_INFORMAL,
      AV.CERT BUSINESS_ENTITY,
      AV.ETHNICITY ETHNICTY,
      AV.PO_NUMBER_FORMAT CONTRACT,
      SUM(VP.INVOICE_AMOUNT) AMOUNT_PAID_$
    FROM CONFIRM.VSTATE_PAID_AWARD_VENDORS AV,
      CONFIRM.VSTATE_VENDOR_PAYMENTS VP
    WHERE ( ( AV.PO_NUMBER = VP.PO_NUMBER
    AND AV.VENDOR_ID       = VP.VENDOR_ID ) )
    AND (TO_CHAR(VP.PAYMENT_DATE,'Q') = '4')
    AND ( TO_CHAR(VP.PAYMENT_DATE,'YYYY') = '2009' )
    GROUP BY TO_CHAR(NVL(AV.TAX_ID,999999999),'000000000'),
      AV.FIRM_NAME,
      AV.BIDCLASS,
      AV.AWAMT,
      AV.SOL_MODE,
      AV.CERT,
      AV.ETHNICITY,
      AV.PO_NUMBER_FORMAT
      union
    SELECT TO_CHAR(NVL(AV2.TAX_ID,999999999),'000000000') FEID,
      AV2.FIRM_NAME VENDOR_NAME,
      AV2.BIDCLASS CONTRACT_CODES,
      AV2.AWAMT AWARD_AMOUNT,
      AV2.SOL_MODE FORMAL_INFORMAL,
      AV2.CERT BUSINESS_ENTITY,
      AV2.ETHNICITY ETHNICTY,
      AV2.PO_NUMBER_FORMAT CONTRACT,
      0 AMOUNT_PAID_$
    FROM CONFIRM.VSTATE_PAID_AWARD_VENDORS AV2
    WHERE
    not exists (SELECT 'X'
                  FROM CONFIRM.VSTATE_VENDOR_PAYMENTS VP2
                 WHERE av2.po_number = vp2.po_number
                       AND (TO_CHAR(VP2.PAYMENT_DATE,'Q') = '4')
                       AND ( TO_CHAR(VP2.PAYMENT_DATE,'YYYY') = '2009' ))
    AND (TO_CHAR(AV2.AWDATE,'Q') = '4')
    AND (to_CHAR(AV2.AWDATE,'YYYY') = '2009')
    GROUP BY TO_CHAR(NVL(AV2.TAX_ID,999999999),'000000000'),
      AV2.FIRM_NAME,
      AV2.BIDCLASS,
      AV2.AWAMT,
      AV2.SOL_MODE,
      AV2.CERT,
      AV2.ETHNICITY,
      AV2.PO_NUMBER_FORMAT Can someone provide a solution?
    Thank you,
    Robert

    Hi,
    You can take the parameters to the select so that you will be able to create conditions over them.
    Try to use this SQL instead of your and in the discoverer workbook create the conditions and parameters:
    SELECT TO_CHAR(NVL(AV.TAX_ID,999999999),'000000000') FEID,
    AV.FIRM_NAME VENDOR_NAME,
    AV.BIDCLASS CONTRACT_CODES,
    AV.AWAMT AWARD_AMOUNT,
    AV.SOL_MODE FORMAL_INFORMAL,
    AV.CERT BUSINESS_ENTITY,
    AV.ETHNICITY ETHNICTY,
    AV.PO_NUMBER_FORMAT CONTRACT,
    TO_CHAR(VP.PAYMENT_DATE,'YYYY') P_YEAR,
    TO_CHAR(VP.PAYMENT_DATE,'Q') P_QTR
    SUM(VP.INVOICE_AMOUNT) AMOUNT_PAID_$
    FROM CONFIRM.VSTATE_PAID_AWARD_VENDORS AV,
    CONFIRM.VSTATE_VENDOR_PAYMENTS VP
    WHERE ( ( AV.PO_NUMBER = VP.PO_NUMBER
    AND AV.VENDOR_ID = VP.VENDOR_ID ) )
    --AND (TO_CHAR(VP.PAYMENT_DATE,'Q') = '4')*
    --AND ( TO_CHAR(VP.PAYMENT_DATE,'YYYY') = '2009' )*
    GROUP BY TO_CHAR(NVL(AV.TAX_ID,999999999),'000000000'),
    AV.FIRM_NAME,
    AV.BIDCLASS,
    AV.AWAMT,
    AV.SOL_MODE,
    AV.CERT,
    AV.ETHNICITY,
    AV.PO_NUMBER_FORMAT ,
    TO_CHAR(VP.PAYMENT_DATE,'YYYY') P_YEAR,
    TO_CHAR(VP.PAYMENT_DATE,'Q') P_QTR
    union
    SELECT TO_CHAR(NVL(AV2.TAX_ID,999999999),'000000000') FEID,
    AV2.FIRM_NAME VENDOR_NAME,
    AV2.BIDCLASS CONTRACT_CODES,
    AV2.AWAMT AWARD_AMOUNT,
    AV2.SOL_MODE FORMAL_INFORMAL,
    AV2.CERT BUSINESS_ENTITY,
    AV2.ETHNICITY ETHNICTY,
    AV2.PO_NUMBER_FORMAT CONTRACT,
    TO_CHAR(VP.PAYMENT_DATE,'YYYY') P_YEAR,
    TO_CHAR(VP.PAYMENT_DATE,'Q') P_QTR
    0 AMOUNT_PAID_$
    FROM CONFIRM.VSTATE_PAID_AWARD_VENDORS AV2
    WHERE
    not exists (SELECT 'X'
    FROM CONFIRM.VSTATE_VENDOR_PAYMENTS VP2
    WHERE av2.po_number = vp2.po_number
    AND (TO_CHAR(VP2.PAYMENT_DATE,'Q') = TO_CHAR(VP.PAYMENT_DATE,'Q') )
    AND ( TO_CHAR(VP2.PAYMENT_DATE,'YYYY') = TO_CHAR(VP.PAYMENT_DATE,'YYYY') ))
    --AND (TO_CHAR(AV2.AWDATE,'Q') = '4')*
    --AND (to_CHAR(AV2.AWDATE,'YYYY') = '2009')*
    GROUP BY TO_CHAR(NVL(AV2.TAX_ID,999999999),'000000000'),
    AV2.FIRM_NAME,
    AV2.BIDCLASS,
    AV2.AWAMT,
    AV2.SOL_MODE,
    AV2.CERT,
    AV2.ETHNICITY,
    AV2.PO_NUMBER_FORMAT,
    TO_CHAR(VP.PAYMENT_DATE,'YYYY') P_YEAR,
    TO_CHAR(VP.PAYMENT_DATE,'Q') P_QTR
    Tamir

  • Two problmes between  Crystal Reports 2008 and Bex Query

    Hi Gurus.
    I have two problems with Crystal Reports 2008 when It obtains data from a Bex Query (SAP MDX query connection).
    1)     I have defined some Parameters Fields using the follow options:
    Type: String
    List of Values: Dynamic
    Value Options Level1:
                         Show on (Viewer) Panel :Editable
                          Prompt text: <text>
                          Sort Order: Ascending by value
                          Prompt With description Only : False
                          Optional Prompt: True
                          Allow multiple values: True
                          Allow discrete values: True
                          Allow range values: False
    When I execute the report with the client of Crystal Reports 2008 (the developer tool), in the initial screen shows a list box where I can select the values from the left box and add it to the left box (as a usually filter). When the number of options (LOV) is more than  the maximum of the system, I have a input box bellow the list box, where I can insert any value (manually) and a button to insert it into the left box. When I publish the Report in the infoview, this filter is modified and the input box where I can introduce manually values is not showed and I can insert only the values showed in the list box, it causes that I can`t select a lot of values that is in the master data of SAP BW, because they arenu2019t listed in the list box.
    There is any option to ability this option in the infoview.
    2)     My Bex query, have a date filter with variable in the restricted key figures, when I execute a Crystal Reports, the infoview (and the Crystal Reports 2008 designer) ask me 2 times the same date, first only the date and second the date and the rest of parameters (introduced in the report of Crystal Reports).
    Why I need insert the date 2 times? How can I modify the Crystal Report for ask me only one time all the parameters?.
    Thanks.

    Hi Abhilash.
    Thank you for your information.
    1) Yes, the parameters are created in the Crystal Reports designer. I have created the parameters in the Crystal Report because I use the same Bex Query to create some Crystal Report, in other case, I will need create some Bex Query.
    2)The Bex query has the date filters and I have created some filters in Crystal Reports designer, the date filter from the Bex query is created automatically in the Crystal Report Designer but I don't use it, I haven't created it anytime. I use my filters only in the record selection. The date filters from the Bex query is showed as Static, and I can`t delete it, if I modify the parameter to dynamic or static with values, at first step ask me again static without values and the second step of the report execution ask me the parameter as I have defined in Crystal Reports Designer, my parameters fields are dynamic. A lot of reports have subreport, but I have created one of them without subreport (to trial) and the Crystal Reports ask me the date filters at first execution, and when I insert the date filters, in the second step, ask me the date filters again and my parameters fields again.
    Thank you again.

  • How to improve the query performance in to report level and designer level

    How to improve the query performance in to report level and designer level......?
    Plz let me know the detail view......

    first its all based on the design of the database, universe and the report.
    at the universe Level, you have to check your Contexts very well to get the optimal performance of the universe and also your joins, keep your joins with key fields, will give you the best performance.
    at the report level, try to make the reports dynamic as much as you can, (Parameters) and so on.
    and when you create a paremeter try to get it match with the key fields in the database.
    good luck
    Amr

  • Creating a print button to call a Report Query and pass filters

    If i use the REPORT QUERY option in APEX 4 to create an statement that is the same one used in an interactive report, can I create a link or button to the REPORT QUERY and pass all the session and filter information from the interactive report to the report query?
    This way I can have the interactive report screen where the user can do all sorts of modifications and such and then pass those to the REPORT QUERY so I can call that from a custom link or button.
    You may ask "why does he need another print button?"
    Answer: I am using a view that has some embedded HTML tags to format the output really nicely. The HTML download version created by the interactive reports works beautifully. The customer also wants a PDF version (meh) which does not render the HTML tags and actually echos them as part of the text. I found that I can create another view that uses the CHR function to create all the breaks and such I was doing with HTML and these do render properly in PDF. So, I figured just have 2 reports: 1 Interactive and 1 using a REPORT QUERY. I just want to call the REPORT QUERY version but use the Interactive Search form to set all the parameters.
    Or, am I over thinking this and there is an easier method?
    I made a previous post where I showed how I got the APEX printing to work and i hoped that helped someone out - fixing this issue would put the whole thing to rest.
    Thanks

    Is BI Publisher desktop (MS Word add-in) a possibility? This would allow you to use MS Word to create your output template (RTF) that would result in a properly formatted PDF. Of course, you'd have to right an updated version of the query without HTML embedded. Just thinking outside of the box.

  • Why is printing report different from report builder and app server

    I created a report and when ran from report builder it looks fine.
    And when i moved the report to server and ran the report in the browser using this url
    http://192.1.1.8:7778/reports/rwservlet?userid=esp/esp_dev1@wdev&report=FMMA_VOUCHER.rdf&destype=cache&desformat=pdf
    and print it the report shrinks, the fonts become small and the margins change. I am having hard time how to figure out a way to correlate the formatting in the report builder and when i run on the server using pdf format.
    Is there any way to set the server so that the pdf output matches with the report builder.
    Thanks.
    Sree

    I assume you are doing a cross platform deployment
    Pls read section 6.2
    Resolving PDF Font Issues During Cross-Platform Deployment
    in
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Custom Data Processing Extension and Parameters

    Hello,
    I have successfully implemented a custom data processing extension. Now I'm trying to add parameters, but the documentation is very weak on this topic. Also all examples of custam data processing extensions I have found so far are working without parameter support. Using a search engine I have found a custom data processing extension's sequence diagram during report execution. The related article also gives some hints about the IDbCommandAnalysis interface.
    The GetParameters implementation creates a parameter collection based on the current command text and returns this collection. So far no problem.
    My question is how to implement the IDbCommand's CreateParameter method and Parameters property? In CreateParameter I just return a new instance of my IDataParameter implementation, and the Parameters property returns a new parameter collection based on the current command text.
    Is this ok so? At least this is the first implementation which seems to work in the data designer. If I share an instance variable for GetParameters and Parameters I will either get all parameters twice or BIDS will crash when pressing the execute button in the dataset designer - depending on my actual implementation.
    What I'm still missing is how to get the parameters added automaticall to the dataset's properties parameter register?
    thanx in advance and kind regards, Gerald

    I think that finally (after some days of trying) I could make it work. The dataset and report parameters are reflecting the command text's parameters now (BTW: to answer my last question - the dataset's properties are updated after pressing the refresh button only). The road to success was not to use the same member variable for the collections returned by IDbCommandAnalysis:GetParameters() and IDbCommand:Parameter and not to fill the latter one with the command text's parameters (see partial source code below).
    public sealed class MyCommand : IDbCommand, IDbCommandAnalysis  
        private string m_commandText;  
        private MyParameterCollection m_parameters = new MyParameterCollection();  
        public string CommandText  
            get { return this.m_commandText; }  
            set { SetCommandText(value); }  
        public IDataParameterCollection Parameters  
            get { return m_parameters; }  
        public IDataParameter CreateParameter()  
            return new MyParameter();  
        public IDataParameterCollection GetParameters()  
            return GetParameterCollection();  
        private void SetCommandText(string commandText)  
            m_commandText = commandText;  
        private MyParameterCollection GetParameterCollection()  
            // ... create parameter collection based on m_commandText  
    Still there are some open questions:
    How can I update the report parameter's properties? Now the parameter's data type is always string, but I'd like to assign the right data type. I'd also like to tag the parameters as hidden and supply a non-queried default value. Is this possible? How?
    Although I my implementation of IDbCommandAnalysis:GetParameters() returns a collection containing the parameter names and values the "prompt query parameters" dialog (after pressing the query designer's execute button in the toolbar) shows a "<blank>" value for the parameters. What could be the problem?
    Thanx in advance and regards,
    Gerald

Maybe you are looking for