Parameters in reports

I am using BI Publisher Template builder for Word 10.1.3.3.1 and I am trying to insert parameter values into reports I am creating.I can select and insert fields okay but how do I insert parameters ?

If the source of your XML is an Oracle Report use:
<?param@begin:P_IN_CUSTOMER_LOW?>
at the top of your template and:
<?$P_IN_CUSTOMER_LOW?> where you want the parameter displayed.
If the source of your XML is a dataTemplate then include:
<property name="include_parameters" value="true"/>
in the <properties> section of the dataTemplate. This will cause your parameters to be included in the XML.
Cheers,
Dave

Similar Messages

  • Parameters and report on the same page

    I am new to HTML_DB. I would appreciate your help with the following:
    I have html page with items(parameters) and report on the same screen.
    Items are:
    Customer: Select list with Submit
    Invoice No.: Select list - Populated invoices numbers for the selected customer
    Department: Select List
    Prod Month: Date Picker
    Button: Report View.
    Users can select any of the above parameter to create a report. The problem is when I don't select any customer and just select the department or prod month and click on a Report View button, I get SQL error in the Invoice Number item.
    It seems when the page refreshes to create a report Invoice Number items sql query is executing but when it does not find the customer name, it’s giving the error.
    If I select a customer name, the page gets refreshed and the report is generated. I don’t want to create a report when they select a customer. I want them to select the parameters and click on the Report View button to create the report on the same page.
    Thank you.
    Regards,
    Rek

    Sounds like you are building the query string and submitting that and the fact that they leave something out messes up that string...<br><br>If that's the case, you can add validations to the page to make sure they enter in all the appropriate information.<br><br>
    chet

  • Table parameters in report

    Hi experts,
    can i pass table as parameters in report ( something similar as in function module ) ?
    I would like to use "my" structure for table as parameters.
    Thanks in advance
    Martin

    If both reports are Z reports you can use EXPORT & IMPORT statements.
    In first report.
    EXPORT gt_item FROM gt_item to memory id 'ITEM'.
    SUBMIT zreport2 AND RETURN.
    and in second report.
    IMPORT gt_item TO gt_item from MEMORY id 'ITEM'.
    Regards
    Sathar

  • Sending parameters to reports by using Run_Report_Object

    Hi All,
    How do I send parameters to report while using Run_Report_Object built-in ?
    Thanks in advance.
    Regards,
    Sanjay Kanakath

    hello,
    there is a builtin for setting the parameters :
    from the forms builder online help :
    DECLARE
         repid REPORT_OBJECT;
         report_prop VARCHAR2(20);
    BEGIN
         repid := find_report_object('report4');
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, BATCH);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(repid, REPORT_DESTYPE, FILE);
    END;
    you can use      
    SET_REPORT_OBJECT_PROPERTY(repid,
    REPORT_OTHER,
    'deptno=10');
    to set the Other Parameters property of the report object.
    regards,
    philipp

  • How to pass parameters to reports

    Hi,
    I am a new user to dev2000, i am struck at passing parameters to the reports, i have used lexical referrences, to the where clause, in the query that i have written in reports builder. It created a user_parameter of that where_clause. now i am trying to pass this parameter, from the form to generate a report btw'n dates. please sugest me if there is any other way, or correct me if i am on the right path, here is the code that i am calling from the form.
    DECLARE
    pl_id ParamList;
    --repid REPORT_OBJECT;
    --v_rep VARCHAR2(100);
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'WHERE_CLAUSE', TEXT_PARAMETER, 'WHERE SYS_DATE = ''18-JUL-01''');
    --repid := find_report_object('report34');
    --v_rep := RUN_REPORT_OBJECT(repid);
    Run_Product(REPORTS, 'REPORT34', ASYNCHRONOUS, BATCH,
    FILESYSTEM, pl_id,NULL);
    END ;
    I am gettting an error saying FRM-41211: Integration error:ssl failure running another product.
    this error is comming when i try to access for the first time, and
    Starting report REPORT34 [Tue Jul 24 16:35:14 2001] ...
    REP-0110: Unable to open file 'REPORT34'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'REPORT34'.
    End report REPORT34 [Tue Jul 24 16:35:20 2001].
    this for the next time, with out closing runtime env.
    If i have to use RUN_REPORT_OBJECT how can i pass parameters to reports.
    Another thing i encountered is when i am using RUN_REPORT_OBJECT which is working it shows me the parameter form of the reports and when i click on run report, it is just creating a file under forms directory and asking each time when i run report wether to replace it or not and from where it is calling the printer object and actually nothing is being printed, and every thing is fine with the printer and it is not showing the report out put and it shows end of report in the log file of the background report product.

    For your 1st problem it seems to be a bug in Forms 6i - you can visit this site:
    http://pipetalk.revealnet.com/~plsql/
    and find there 41211.
    Helena

  • Unable to pass parameters in Report Bulder due to single quotes

    Hello,
    I have a problem with parameters in Report Bulder.
    This is the query:
    where task.closed_at between (@Per)
    Then I need have to pass following value to @Per : DATEADD(month, -5, getdate()) and getdate()
    to get following:
    where task.closed_at between DATEADD(month, -5, getdate()) and getdate()
    But I suppose Report Builder put the values to quotes and WHERE looks like:
    where task.closed_at between 'DATEADD(month, -5, getdate()) and getdate()'
    and Builder returns syntax error.
    How can I solve this issue and avoid these single quotes surrounding the value?
    Thank you.

    Hi zotchy07,
    According to your description, you have a report created use Report Builder. You want to select data according to the search condition: task.closed_at within 5, 12 or 24 months.
    Please refer to the following steps to achieve your goal:
     1. In design surface, right-click Parameter and click Add Parameter.
     2. In Report Parameter Properties dialog box, type the name and prompt, set  Data Type to Integer.
     3. Click Available Values in left pane, check Specify Values.
     4. Click Add, set Label to 5, Value to -5.
     5. Repeat step4 above, set Label to 12, Value to -12, then Label to 24, Value to -24, then click OK.
     6. Right-click the dataset you used to retrieve data and open Dataset Properties dialog box.
     7. Click Filters in left pane, click Add.
     8. From Expression drop down list, select closed_at and set Operator to between.
     9. Click the first (fx) button and type the expression like below:
    =DateAdd("m", Parameters!param_name.Value,Today())
     10. Click the second (fx) button and type the expression like below, then click OK.
    =Today()
    In this way, when we preview the report, there are 3 selects in the parameter drop down list: 5, 12, 24. If we select 5 and click View Report, the data within 5 months will be displayed.
    The following screenshots are for your reference:
     If you have any questions, please feel free to let me know.
    Best Regards,
     Wendy Fu

  • Passing parameters from REPORTS to FORMS.

    Hi,
    Could anyone help my on this, I'm trying to pass parameters from reports to forms is it possible? could anyone give me an idea how do I have to proceed.
    thank youk,
    bino

    http://technet.oracle.com:89/ubb/Forum4/HTML/009647.html

  • Passing parameters from report to new page with portlets.

    Hello everyone:
    I have a plsql report portlet on a page that has a column that I would like to pass as a parameter to a new page to populate more portlets. I tried setting up a link but I can't seem to get the value in the column to pass as the parameter. I am a novice when it comes to developing portlets.
    Thanks in advance!

    The link is the way to go (at first). You have to create the link first. Then assign this link to the column that you want to the hyperlink to appear on - this assignment happens on the 2nd tab of the report (Column formatting) by choosing the newly created link in the link dropdown. After you have assigned the link to the column you must edit the assigned link where you can then choose the value that must be passed across.
    The link approach works fine, but there are limitations. I just do all the links in code these days - so in the report select statement I have <a href....>. This gives more flexibility. Ultimately there is the issue of passing parameters to forms: using links (or hand coded) you can pass parameters to reports (if param is also defined as input param with ":") and also forms, but all you can do with a form is to pass param that can be used to uniqeuly identify one record which is the one that will show in the form. Anything else (e.g. pass a param to prepopulate a field on the form) needs an even more complicated solution (:).
    Cheers.
    Anton.

  • Trigger a SQL Reporting Service Data Alert when a SharePoint List is updated & need to pass parameters to report

    We have been able to get a SSRS Data Alert to trigger a report to be emailed whenever an item is added to a specific SharePoint List.   The report can accept parameters but would like to be able to pass parameters that are used in the report.   
    Is this possible? (I cross posted over at SharePoint dev. and was referred here)
    Thanks
    Νικοσ Γιαννιοσ

    Hi Nikos,
    Based on my understanding, you have deploy a parameter report to SharePoint site, then you have created a data alter for this report. Then you want to pass parameters to report then send alter, right?
    In Reporting Services, if the report has parameters, we should select values for the parameter, after report display, we can create a new data alter. Otherwise, the New Data Alter button is grayed out in the drop-down list of the Action button. So that the
    rule is created based on the filtered report. Please refer to below screenshot:
    If you have any question, please feel free to ask.
    Best regards,
    Qiuyun Yu
    Qiuyun Yu
    TechNet Community Support

  • Passing parameters across reports

    Hi,
    Anybody knows how to pass parameters from one report to another using drill across reports?
    I want to feed parameters of a second report (drill across) with values from parameters from a base report where the second report is called.
    Is it possible?
    Luciano

    Hi,
    I don't found a way to pass parameters between reports with Drill Across feature.
    But I can do that using report actions (inserting a button in the view or report) instead of Drilling Across.
    I would like Oracle develop these two functionalities:
    1) Allow passing parameters between reports with Drill Across (today I can only pass fields to prompts);
    2) Allow replacing a view with a report using report actions - as mentioned (today I can only open the report in a new window).
    This two functionalities are complementary.
    Luciano Gomes

  • Date Parameters in Report

    Hello,
    I am using the Where property of an Open Report for date parameters.  There are reason i can not use the query criteria process.
    Can I do this with more than one parameter?
    Private Sub EligibilityReportPreview_Click()DoCmd.OpenReport "EligibilityRpt2",acViewPreview,,"effective_date >= LowEffectiveDate And effective_date <= HighEffectiveDate"End Sub
    How do add another parameter like
    DoCmd.OpenReport "EligibilityRpt2", acViewPreview, , "effective_date >= LowEffectiveDate And effective_date <= HighEffectiveDate"
    Or "termination_date >= LowTerminationDate And termination_date <= HighTerminationDate"
    Gee

    If all names referred to are fields in the record source of the report, you can use
    DoCmd.OpenReport "EligibilityRpt2", acViewPreview, , "effective_date >= LowEffectiveDate And effective_date <= HighEffectiveDate Or termination_date >= LowTerminationDate And termination_date <= HighTerminationDate"
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • OAF: passing parameters to report from OAF page and running concurrent prog

    Hi Everyone,
    i have an OAF page with 10 fields after filling those fields i need to press "Submit" button.
    On pressing Submit button 5 parameters i have to pass to the xml publisher report to run the concurrent program and display the output in pdf format.(Out of 10 fields on the page the first 5 fields will be passed as parameters)
    How can i pass parameters from OAF page to the report(concurrent program)?
    and how can i call concurrent program?
    and how can display the output of the report in pdf format after calling the concurrent program?
    Any answers will be really useful...
    Thanks in advance.
    Thanks.

    Hi kumar ,
    XML report will generate output in PDF format , first you need to try generating report separately , manually submit
    the concurrent program and make sure every thing goes well .
    Once the above step is done you can try to submit the concurrent from controller class . The submitRequest method
    will return the request ID of the concurrent program .
    Now with the help of this request ID you can redirect the page to Oracle standards Request Page( you can monitor
    the status of concurrent program and view output ) this can be done with the following piece of code
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode","FNDCPREQUESTVIEWPAGE");
    String id = "" + return_reqId + "";
    parameters.put("requestMode","DEFERRED");
    parameters.put("requestId", id);
    pageContext.setForwardURL(url,null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,parameters,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO ,OAWebBeanConstants.IGNORE_MESSAGES);
    Keerthi

  • Database query using report parameters in Report Viewer 2008 and CR-XI

    Hi - I have written a report for in-house use on an Access database. The report uses parameters to filter the record selection for reporting. The report operates fine in Crystal XI, but in Crystal Report Viewer 2008, the parameters are not shown and appear to be inaccessible. Is there a way to query the database in CRV2008, as opposed to simply showing the data that was saved from CR-XI in the report? Would I have to use the Crystal Server to do this? Is there a no-cost solution that I could use instead of CRV2008 for such functionality?
    Thanks - Barney

    Hi Barney,
    As noted CRV is for reports with saved data only, no prompting allowed. I'll move this post to the OnDemand forums, possibly they have suggestions a s work around.
    You should call our Sales team and describe your situation, possibly they have a low cost solution for you.
    If you have a .NET or Java developer available you could always write and host your own WEB app that would be simple to use and should not take to much to do.
    We have samples that you could use so most of the work is done for you.
    Thank you
    Don
    CORRECTION: Report Viewer is handled by the Report Design Forum so moving the psot back
    Edited by: Don Williams on Jan 4, 2010 9:42 AM

  • Link Parameters from Report to Form in Insert Mode

    It seems like it should be possible to use the Report wizard to add a link to a form, select some link parameters using the Edit Link function, and then when one clicks on the link it would open the form in insert mode with the link parameters filled in as defaults. Instead what happens is it tries to open the form in update mode with a row that matches the link parameters, and if it can't find a match it opens in insert mode with no parameters filled in. I want it to always open in insert mode and with the passed parameters filled in.
    I've looked through all the documentation I have access to and have been through all the Portal FAQ's on OTN and can find nothing on this. There were a few questions in the FAQ's that told how to do it in PL/SQL, but I don't know how to get access to which instance of the link was selected by the user through PL/SQL, and it seems like there should be a way to do this from within the report wizard.
    Any help you can give me would be greatly appreciated.
    Best Regards,
    Jim Bladen

    If your report is created using ‘Reports From SQL Query’ then you can modify it using the following to achieve this:
    1. Remove the link from ‘Column Formatting’ section of the report object.
    2. In the SQL of the report , use custom link to the column where you want to provide link using the syntax
    select a.empno,’‘||a.ename||’‘ ename_link,a.deptno
    from scott.emp a
    Order by a.empno
    and the form will always open in ‘INSERT’ mode with passed values filled in.
    Thanks
    Krishnamurthy

  • How to send multiple parameters to reports with REPORT_DESTYPE,FILE

    Dear members,
    I have the following code which call a REPORT from a FORM, and send the REPORT to printer:
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'xtran_id='||:tran_id||' paramform=no');in the following line I want to send 2 parameters.
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'xtran_id='||:tran_id||' &p_user='||:user||' paramform=no');here i have added the 2nd parameter, but its not printed on report.
    where am I wrong?
    Regards:
    Edited by: user2040934 on Jan 17, 2013 3:50 PM

    user2040934 wrote:
    Dear AlexDiniasi ,
    thanks for you reply.
    here my code:
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'xtran_id='||:ws_sale_m.tran_id||' '||'p_username='||:dummy.user||' paramform=no');but didn't find / show the 2nd parameter on report p_username, how to debug? where am I wrong?Hi,
    Add the following line at DECLARE Section
    QT VARCHAR2(10) :='''';then try the following line instead of u'r line
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no xtran_id='||QT||:ws_sale_m.tran_id||QT||' p_username='||QT||:dummy.user||QT);Hope this works...
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.*

  • International characters in parameters to report, via RWServlet

    Hello,
    I'm having problems passing parameters with Swedish characters (e.g. e, d, v) to my reports, when the reports are accessed from the web using the RWServlet.
    I get no matches for these parameters, but I do when the reports are run in the Report Builder.
    The machine is running SunOS 5.7, and the RWServlet is running in a WebLogic Server.
    The NLS_LANG environment variable is set to AMERICAN_AMERICA.WE8ISO8859P1 when running the Reports Server and the same encoding is used in the database.
    In the URL used to run the report I specify the Swedish characters using the same encoding (ISO-8859-1), like this:
    http://servername/RWServlet?...&param=N%E4ssj%F6
    Has anyone encountered the same problem, or do you know what I might be doing wrong?

    Encountered the same problem (two years later). Did you ever find a solution?

Maybe you are looking for