Report Paramter

Hi,
I apologize in advance for the multiple questions.
I have a JSP application that is located in the following directory c:\jsp
The application has the regular directory structure (WEB-INF etc.)
I would like to create variuos JSP reports (using Oracle Reports)
1- Where do I need to save these reports?
2- How can I pass multiple parameters from a JSP to a report?
Any help would be helpful.
Thanks in advance.
VC

Hi VC,
1- Where do I need to save these reports?Oracle reports, when saved in a JSP format, are regular JSP files that should be saved in the SAME place/folder that you use to save other JSP's of your application. For example, your other JSP's might be stored in C:\jsp\my_context_root\myfolder
and the WEB-INF directory structure may look like
C:\jsp\WEB-INF...
In this case, if you save your JSP's inside
C:\jsp\my_context_root\myfolder
you can then access them with the following URL
http://machine:port/my_context_root/my_folder/My_Report.jsp?server=abc&userid=scott/tiger@mydb
(where abc is your reports server name). If you save your jsp's inside some other folder within c:\jsp, your URL will change accordingly.
2- How can I pass multiple parameters from a JSP to a report?In the URL that you use to call a report, just append the multiple parameters as
.....&param1=value1&param2=value2&param3=value3
and so on.
Navneet.

Similar Messages

  • AutoComplete Text in Report Paramter

    Hi ,
    I need an option like showing parameters as Auto Complete text -"Same like Ajax Tool-Auto complete Textbox".
    Is there any option,when user types the -Employee Name,like "A",then the report paramter lists all -Employees
    having -"A" as Starting..
    how we can implement this option in SSRS Parameters.

    Hi Bhupesh_Rajasekaran,
    If I understand correctly, you want to input some keyword, and then all of available values which are start from the keyword will display in the parameter list. If in this scenario, we can create cascading parameters. One is a keyword parameter, and the
    other parameter is based on the keyword to display the available values. For more details, please refer to the following steps:
    Use the query below create a dataset named dataset1 to return all available values for Employee_Name parameter:
    SELECT     Employee_Name
    FROM         table
    WHERE     (Employee_Name LIKE @keyword + '%')
    Set the parameter @Employee_Name’s Available values from the Employee_Name field in the dataset1.
    When we preview the report, if we input “A” in the keyword parameter text box, all available values start from ‘A’ character will display in the Employee_Name parameter list. If we want to add the search feature with multiple keywords, we can refer
    to the following FAQ:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/8de6c783-9cb4-4b95-9be8-b59bc0049866/forum-faqhow-do-i-add-a-search-feature-in-the-parameter-with-long-drop-down-list?forum=sqlreportingservices#8de6c783-9cb4-4b95-9be8-b59bc0049866
    If there are any other questions, please feel free to let me know.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to create a $ per second report.

    I have a scenario where I have several stores all posting sales in real time to a BAM object.
    The Fileds are:
    StoreID "string"
    PurchaseDate "datetime"
    PurchaseAmount "integer"
    I like to create a report that will display the sales per second for a given store over a defined Period of time.
    As an example:
    If the report is run and 60 seconds is entered as a report parameter for the period of time and StoreID set to "1" (also via paramter) then I'd like to know what was the average sales per second over the last 60 seconds for StoreID 1.
    Obviously this report would be continually updating giving me a real time gauge indicating when sales per second has dropped or spiked.
    A real example:
    Lets say there are 3 sales in the last 60 seconds for StoreID 1 as follows -
    1,3/20/1977 3:08:08 PM,100
    1,3/20/1977 3:08:14 PM,160
    1,3/20/1977 3:08:33 PM,100
    If I ran the report at 3/20/1977 3:08:34 PM there would only be 3 entries which fall within the last 60 seconds (Report Paramter) for StoreID 1 (Report Paramter). And averaging out the sales total would give me (100+160+100)/60=6$/second
    Can anyone point me in the right direction on how to solve this?
    D

    Not sure I understand what you want, but I set up a page with 2 items on one row, 3 on the next. http://apex.oracle.com/pls/apex/f?p=23834:30 is that the sorta thing you want to do? - control where the items appear?
    If so - you can just use drag and drop layout, or on the items settings (Displayed settings), specify whether or not it appears on a new line or not.
    Ta,
    Trent

  • Run 6i report on 10g report

    Dear
    I have to migrate forms6i applictions on DS10g; I have some reports wihch are using report paramter forms. As for as I know 10g report run on PDF or iexplorer.
    My question is how can I call report from forms's menu and user some report parameter to filter report ?????
    regards;
    AJ

    Hi,
    have a look here: http://www.oracle.com/wocportal/page/wocprod/ver-31/ocom/technology/products/forms/pdf/10g/frmrepparamform.pdf
    Regards
    Rainer

  • Ssrs 2008 r2 error-Forward pointing dependencies are not valid

    In an existing SSRS 2008 r2, report, I am attempting to add a parameter called 'Customer_Category'. I am getting the following error message:
    The report paramter 'CustomerNumber' has a DefaultValue or a ValidVaue that depends on the report parameter 'Customer_Category'. Forward pointing dependencies are not valid.
    I am trying to determine how to fix this error. The 'CustomerNumber' is a parameter value that is obtained by reading from a dataset. In this dataset there are existing other parameters called 'Customer_Type' and 'Customer_Preference'. Both of these parameters
    obtain there values from selections that the user makes when the SSRS report is executing. There are no default values.
    I am trying to have the 'Customer_Category' be the same way where there are no default values and the user must select the parameter value when the report is executing. There should only be one value that the user can select from.
    The new parameter called 'Customer_Category' is the last parameter in the list of parameters. Does the order of parameters make a difference? If so, how can I move the 'Customer_Category' parameter in front of the customer_number parameter?
    Here is the sql that is used from obtaining a list of customers from the dataset for customer_number:
    SELECT   Distinct CustomerNumber   
    FROM   BridgeUserCustomer  
     WHERE
             Type =  @Customer_Type
      AND Preference = @Customer_Preference and Category = @Customer_Category
     GROUP BY CustomerNumber
    Would you tell me what is wrong and what I can do to solve the problem?

    Create independent datasets for each parameter and try once.
    Regards, RSingh

  • Migrating 9iAS J2EE Applications to 10gAS

    Is my 9iAS(9.0.2) J2EE applications can be migrated to 10gAS(10.1.2) without any changes? If no what are the changes required in my applications (Programs).
    My Application consists of 9 War files and one DAD(which is pointing to Oracle DB for Some PL/SQL Stuff, i dont think which will cause any compatibility, bcoz we are planing to migrate the Application server only.).
    And I am interested on Linux platform.

    Error: java.lang.ClassNotFoundException: oracle.reports.jsp.ReportTagExtraInfo
    OK, this seems to be a classical usage issue of oracle report. See metalink note 270403.1 or this thread Re: Report Paramter on the Reports, which is, in fact, the right place to post questions and search for answers for reports related problems .
    Please tell me if this helps.

  • BI publisher reports LOV paramter is not working in Dashboard

    All,
    I have a BI publisher report with parameters list of values. The publisher report is working fine when I run the report and select one or 2 more more values form this (LOV) parameters.
    Now I created new dashboard prompt with presentation variable set to the same name as the above parameter in publisher. Added both this dashboard prompt and BI publisher report on the dashboard page. everything works as long as I select only 1 value from this parameter. As soon as I select more than one value I get error. After checking in the log file I see this error
    [2012-10-19T06:31:14.174-07:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 23] [userId: <anonymous>] [ecid: 3887e394517e5790:-186e6fa8:13a77fe910b:-8000-0000000000001ff2,0] [APP: bipublisher#11.1.1] oracle.xdo.XDOException: Failed to get the query parameters[[
    at oracle.xdo.online.ViewerIO.getReportParameters(ViewerIO.java:1847)
    at oracle.xdo.online.ViewerIO.createReportViewData(ViewerIO.java:777)
    at oracle.xdo.online.ViewerIO.doGet(ViewerIO.java:177)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java
    Any help is appreciated.
    Thanks

    >
    I have a BI publisher report with parameters list of values
    >
    Then you should mark this question ANSWERED and post it in the BI Publisher forum.
    BI Publisher

  • How to popluate user defined values in Paramter field of a report using "Report Server Project", BIDS

    Hello,
    I am creating report using "Business Intelligence Development Studio", creating "Report Server Project" connected to TFS database.
    I have created Variance report and the output of report  as below sample:
    Project   Assigned To      Planned Effort        Completed    Remaining  Variance
    P1            X                        20                        
    10                 5              5
    P2            Y                        10                        
    10                 0             0
    P3            Z                          5                        
    0                  5              0
    By default I made Assigned To as parameter field and its showing data for selection in a drop down box (X, Y and Z) and data also filtered correctly.
    Q. how can I fill resource names in a drop down of my own choice (in this scenario, I want to display only X and Y) and display data based on the selected resource? By default parameter displays all the resources which I don't want.
    I did the below but could not get correct result:
    1. Right Click on "Assigned To" parameter, Clicked on "Available Values" and Selected "Specify values" instead of "Get values from query"
    2. Added X as Label and Value as 2 (Employee ID as mentioned in dbPerson table)
    Drop down displays X but when I clicked on report, it gives an error...
    Appreciate your help on this.
    Regards
    Abdul Kalam

    Hi Abdul,
    From the document, we know that CONSTRAINED flag is used to reduce the risk of injection attacks via the specified string. If a string is provided that is not directly resolvable to qualified
    or unqualified member names, the following error appears: "The restrictions imposed by the CONSTRAINED flag in the STRTOSET function were violated."
    So you need to make sure the members are passed properly to the STRTOSET function. For more details, please see the following links:
    http://ch1n2.wordpress.com/2010/02/21/the-restrictions-imposed-by-the-constrained-flag-in-the-strtoset-function-were-violated/
    http://www.bp-msbi.com/2010/04/passing-unconstrained-set-and-member-parameters-between-reports-in-reporting-services/
    Hope this helps.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Calling a report from forms with a paramter form

    Hello,
    How do you call a report from forms and get it to display the parameter form. Where you can then call the report using this parameter form. I have been using paramform=yes. but it simply runs the form.
    I saw on a a thread ages ago that this was a sample of this available for download. Is this true?
    thanks

    Here is my code sorry about posting twice. Please note that the parameter list has been created as described.
    report_id := find_report_object('MENU_REPORT_NODE');
    Tool_Env.Getvar('ReportsServer', reports_server);
    Tool_Env.Getvar('ReportsFolder', reports_folder);
    dest_file := reports_folder || :global.username || '\' || rep_name || '.pdf';
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_FILENAME, rep_name);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, reports_server);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS); -- wait for the report to finish
    -- SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESNAME, dest_file);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_OTHER, 'paramform=yes' || ' ' || 'mode=bitmap');
    report_job := run_report_object(report_id);

  • How to use lexical paramter in oracle reports

    I have a query like,
    select * from t1 where &c1=:v_srep;
    where t1 is tablename
    c1 is column name
    How do I create &c1 and how should I populate it ?
    Thanks,

    From Oracle 8.1.5 database, we can use dynamic ref cursors.
    With dynamic ref cursor we can really avoid the use of lexical parameters in Reports.
    With static ref cursor this is not possible in all cases.
    For example, if we need dynamic WHERE, we practically can't use static ref cursor.
    But, problem is that Reports needs static ref cursor type for building Report Layout.
    Solution (as i know, first published in my post in MetaLink Reports Forum,
    thread "Report based on Ref Cursor or PL/SQL Table", 24-Aug-01) is:
    in package specification we must have both ref cursor types,
    static for Report Layout and dynamic for ref cursor query.
    Dynamic ref cursor examples:
    "Dynamic Table in the Second Query with Oracle Reports"
    http://www.quest-pipelines.com/pipelines/plsql/tips03.htm#JULY
    "Using a Collection Instead of a Temporary Table in Complex Reports"
    http://www.quest-pipelines.com/pipelines/plsql/tips03.htm#NOVEMBER
    Regards,
    Zlatko Sirotic

  • Paramter visibility in Report Output

    Hello All,
    I am having a requirement to "Print Parameters in a output(pdf,xls,csv) of a report", which i am providing to my query for fetching a data.
    Is this possible, yes then how?
    Pls Help.
    Regards,
    UKJ

    If you've tried it, then probably not; I'm lucky enough to have BI Publisher.
    An alternative approach would be to UNION it into your query. E.g.
    SELECT
      :p1_dept,
      null,
      null
    FROM
      dual
    UNION ALL
    SELECT
      emp_id,
      ename,
      manager
    FROM
      empYou can play around with this to get the layout you want. If you don't want the page item to appear in the main report on your Apex page, then you can have two reports on the page, one without the page item which displays as a standard report and the other report with the page item that only displays as a CSV link. To get a report to display only as a link, create a report template that only has a CSV link in it.
    I hope that makes sense.
    Shunt

  • How to is lexical paramter in oracle reports

    I have a query like,
    select * from t1 where &c1=:v_srep;
    where t1 is tablename
    c1 is column name
    How do I create &c1 and how should I populate it ?
    Thanks,

    Pl see
    How to use lexical paramter in oracle reports

  • Position of Paramter in BI report

    Hi,
    I have created some parameters.Those are automatically showed on the Report View page by default at some postions.What I need is to adjust the parameters on the screen at my convinient postions.
    Can anybody help?
    Thanks & Regards,
    Ajay

    Ya that is doable.Can you brief your exact problem

  • Change Preferred Viewing Locale by a paramter field in the report template

    Hello,
    Is there a method that allows to change the Preferred Viewing Locale at the report template level?
    Actually I have some templates for final clients in different countries, and these reports should be generated in Infoview.
    In order to generate reports in different languages, I inserted a parameter {?Language}
    Then for caption/text I used a formula like this
    Select {?Language}
    Case "en_US": .....
    Case "de_CH": .....
    Case "it_IT": .....
    Case "nl_BE": .....
    However this won't work for date axis in charts and number formats.
    So I switched to Preferred Viewing Locale settings, which seemed to be exactly what I wanted cause everything can be changed according to the local settings, except that I need to change the setting every time by selecting View - Preferred Viewing Locale - German - (Germany)... for 20 different reports
    And what's more important is that I cannot change this setting when I launch the template in Infoview. Change in Preferences will impact all the templates while I just need change on one template only.
    I had a look on all the functions available and it seems that ContentLocale function can only display the current setting.
    Is there any solutions?
    Thanks in advance,
    Wenzhao

    Post your question to BOE Admin forums

  • How can i remove paramter form at runtime of report through PSP

    I am working on PSP (PL/SQL Server pages) with html code. I made some reports through report builder (rdf files). I pass variables into report parameter through PSP and I call the reports through this code
    OWA_UTIL.redirect_url (
    p_report_url
    || '?runp=&report=WEB_BOOK_LOCATION.rdf&destype=cache&desformat=htmlcss&server=rep60_kmas&userid='
    || p_usrcon||'&p_inst_id='||p_inst_id
    but I dont want parameter form on runtime . I know the code which is used only in developer forms , this is
    add_parameter (pl_id, 'PARAMFORM', text_parameter, 'NO');
    How can I remove parameter form on runtime from PSP.
    Thanks and regards
    --Anwar

    Would adding &paramform=NO to the call solve the problem?
    I am working on PSP (PL/SQL Server pages) with html code. I made some reports through report builder (rdf files). I pass variables into report parameter through PSP and I call the reports through this code
    OWA_UTIL.redirect_url (
    p_report_url
    || '?runp=&report=WEB_BOOK_LOCATION.rdf&destype=cache&desformat=htmlcss&server=rep60_kmas&userid='
    || p_usrcon||'&p_inst_id='||p_inst_id
    but I dont want parameter form on runtime . I know the code which is used only in developer forms , this is
    add_parameter (pl_id, 'PARAMFORM', text_parameter, 'NO');
    How can I remove parameter form on runtime from PSP.
    Thanks and regards
    --Anwar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             

Maybe you are looking for

  • My iphone 5s won't restore after my phone cut off during an automatic download of ios 8.

    A call dropped while talking on the phone. From that point on I was unable to use the phone, internet, voicemail, etc.  All other functions and programs were still working, email (through airwatch), texting, calendar, contacts, etc.  At the time ios

  • Windows Vista won't install device driver for Palm Centro

    My Windows Vista PC can't seem to find the device driver info to install my new Palm Centro.  I've downloaded the latest version of Palm software.  Any ideas?  Thanks! Post relates to: Centro (AT&T) This question was solved. View Solution.

  • Creating a mute button for video in as3

    I would like to create my own mute button in as3. I have created a video object which plays my video fine. I'm having trouble finding information on how to create a mute button that mutes the audio but the video continues to play. All documentation t

  • Coldfusion is not running on Mac/Intel Duo 2 - Tiger

    Hi there, I cannot have coldfusion running. I didn't have the "start" feature when I finished installing it. Then I launched the application and here is the message I get when starting Coldfusion. Running command: /Applications/ColdFusionMX7/bin/cold

  • How to retrieve a part of XML document

    Dear Everyone I am using Oracle: Berkeley DB XML 2.4.16: (October 21, 2008) Berkeley DB 4.6.21: (September 27, 2007) with python api on mac OSX. I want to copy a part of XML document within the document. For example, assume that we have the following