Passing parameter form report to report
Hi:
How can i pass parameters from a report to another report? i mean for example, i have a report with a field called "company" and i want to link this to another report in such a way that the report would display just the company's data. so i need to pass the argument in a certain way...
i've tried creating a link, but when editing some parameters appear by default, like _title and so on...the fact is that i don't think this are the parameters i want to pass neither the way to pass the value i want to pass.
Anybody knows how to do this?
Best regards. Urko.
The same way you do it for one parameter.Create a parameterlist and use that in your call to RUN_REPORT_OBJECT, or concat a parameterstring and pass it to the REPORT_OTHER property.
Similar Messages
-
Difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i
Hi Aii,
What is the difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i.
Thanks in Advance,
BaluHi Balu.,
As per my findings the After Parameter is fired after the Parameters are given to the report and Before Report fires when the queries are parsed and data is fetched.
Regards.,
Vijay G -
Parameter Form in Oracle Report!!
Dear Oracle Users' Group:
I have problem with "Parameter Form" in Oracle Report.
The Report that I created has the SQL:
"SELECT A.FIELD1, A.FIELD2
FROM MYDATABASE.MYTABLE A
WHERE
A.FIELD1 = :P_1";
When the report is run, it asks for the parameter
and generates the report based on the runtime
parameter. Works perfect on Oracle8i database's
Report front end.
The PROPERTY PALETTE for the FIELD (Field that
takes the runtime parameter) is:
====================
General Information
Name: PF_P_1
Comments:
Parameter Form Field
Source: P_1
Parameter
Datatype: Character
Width: 40
Initial Value:
Validation Trigger:
List of Values:
(For the list of values, I have put the SQL:
"SELECT DISTINCT A.FIELD1 from
MYDATABASE.MYTABLE A", Also I had
tried with list of fixed values like A, B, C)
Web Setting
Additional Attributes (HTML):
================
But the report does NOT work when called from the Web.
(This is only because of the problem with this Parameter
Form in my report. If I get rid of the parameter form by
changing the last line of my SQL to: "A.FIELD1 = 'Chicago'",
it works fine from the Web).
When accessed the report from the Web, the error I get
is:
Oracle Reports Server CGI - Report Job has terminated with this error.
Reports Server Replies:
REP-0788: Warning: The value of restricted LOV parameter P_1 is not among the selectable values.
I do not know what is the error with this simplest Parameter Form based Report!!
In the Property Palette (above) of the Field, there was a field named "Additional Attributes (HTML)"
under "Web Setting" heading.
Do I need to write something there!!
Please help!!
thanks.
kimmyHi, Kimmy
Try: ¶mform=yes]http://webserver.com:80/dev60cgi/rwcgi60.exe?server=repserver&report=rep1&userid=scott/tiger@orcl&destype=cache&desformat=htmlcss¶mform=yes
I've also sent you an email about key maps.
Enjoy! Web Reporting is a great feature.
Pedro. -
Hello,
Using rwservlet on the web I can specify paramform=yes and I'll get a parameter form for my reports, which is really handy as it saves me from having to build my own forms. However when I run JSPs directly I cannot seem to get the automated form. Am I missing something obvious or is the parameter form just not available when you run JSPs directly?
Cheerio,
RobertHi Robert,
The description of the command line keyword PARAMFORM in Publishing Reports manual says:
Use PARAMFORM to specify whether to display the Runtime Parameter Form when you execute a report via CGI or a servlet. PARAMFORM is used only to supply parameters to paper layout reports, not Web source reports.
For JSP reports you need to create an HTML parameter form which calls the JSP and submits the parameters selected.
You can find Reports documentation (incl Publishing Reports here):
http://www.oracle.com/technology/documentation/reports.html
Navneet. -
Passing parameter through url to report
Hi
I'm sorry if this question already exist anywhere in forum i didnt found it.
so my question is:
CAN I PASS PARAMETER VIA URL TO REPORT USING WEBFORM
i don have RAS(Because in beta version of 2008 is this not included)
I tried
http://localhost/CRWEB/Default.aspx?param0="value" ->here i'm prompt for value instead of showing report with set value
and
http://localhost/CRWEB/DocumentDoc.rpt?param0=krneki&init=html_page -> here i prompt to save rpt file
so But both doesnt work!
OR it is necessery to have RAS to pass parameters through url
thanks for quick answerURL reporting and RAS are not available with CR2008. To view reports over the web you will need to use the Crsytal Reports for .NET runtime engine inside a .NET app. This engine is licensed with CR 2008.
Rob Horne<br /><a href="/blog/10">Rob's blog - http://diamond.businessobjects.com/robhorne</a> -
Supressing the parameter form when calling report from form...
Hi everybody
I call a report from a form passing a parameter. After pressing
the button, the runtime parameter from appears. How do I
suppress it so that the report appears right after pressing the
button???
Thanks
SergueiHi Serguei ,
You have to add a text parameter 'PARAMFORM' with the value
'NO' to the passing parameter list. -
Suppressing parameter form when calling report (Designer 6i R4.11)
I use an action item on a Forms module to call a Reports module. This Report has one argument, and its value is provided by the Forms module. When I run the Form and press the button (= action item), the Reports parameter Form appears. How can I suppress the parameter Form since the value is provided by the Form?
Setting the display property of the argument to 'No' doesn't work.Hi Harm,
There is one parameter called 'PARAMFORM', this is text parameter saying report
whether it has to show the Parameter form or not.
If we set this to 'NO' when calling report,i t won't show the Parameter Form.
Another way is...
Open the report and delete all the items from the Parameter form layout.
Pass all the parameters from the form. Now it wont show the parameter form.
Think it will help you.
Thanks.
Siva. -
Pass parameter value from oracle reports to HTML
Hi,
Can anybody tell me if i can pass oracle reports6i parameter value to HTML.
Any ideas/suggestions would be helpful
Thanks
KAvithaKavitha,
I didnt quite understand your question. Do you mean you want to use the report parameter form and pass the values entered there to an html form where you will display the output based on the parameters entered by the user ?
If so, No. Not to the best of my knowledge. You can pass parameters from an html form to reports though, if this is what you are looking for.
Regards,
Al -
Returning to the parameter form in a report after closing the report page
hi all,
tell me a way to get the following solution
how can we return back to the parameter form of a "parameterised
report" after closing to the report window.
i ve tried a little bit with "srw_run_report"
reply me as quick as possible
prabhakaranTry using menu options
Tools\Parameter Form Builder
you can either select/deselect any parameter from the list -
JSP HTML parameter form to call report - Dependent drop down list
I have a report parameter form developed using HTML & JSP to call oracle reports6i.
First parameter "STATES", Second Parameter "CITY"
I have a master-detail relation betwen STATE & CITY table.
I want the parameter form drop down lists dependant. ie if the user chang STATE value in the first drop down, the second drop down list CITY shoud
change automatically.
Please help
Thanks
VimalVimal,
This is not functionality that's available in the Reports generated parameter form. In order to do this you'll need to build the parameter form yourself as a true HTML form and code the javascript to link the fields.
Hope this helps,
Danny -
Web.show_document in calling parameter form of a report(solved)
Hi,
Can you please write which is the syntax of calling a report in Dev10g which has a parameter form.....????
something like ....but i don't know how exactly....
param_form_var:='yes';
URL_VAR:='/reports/rwservlet?server='||rep_server_name_var||'&report=c:\erga\app\odoiporika_mono\sigk_katast_selected_months_.rdf'||'&desformat='||desformat_var||'&destype='||destype_var||'&userid='||username_var||'/'||password_var||'@'||tns_var||' param_form='||param_form_var;
WEB.SHOW_DOCUMENT(URL_VAR,'_blank');
NOT param_form='||param_form_var....
but
paramform='||param_form_var....
Thanks ,
Simon
Message was edited by:
sgalaxyEventually , the report run... when the active thread got the value 1. How is it done...(i mean the value of 1 , instead of 2 when the report started...????) How to secure that the active thread would be 1 if this is the problem...????
However , because the report is 2 page accross.... the report displays the first page and down the other page.... Is it possible to display both pages accross as i see them in report builder env....?????
Thanks , a lot
Simon -
How to pass parameter from FM to report without changing interface of FM
Hello experts,
How can I pass a table name from a FM to the report calling the FM, without changing the existing interface of the FM.
Thanks,
Ajay.Hi,
I f you want to pass any parameter from FM to Report or Vice-versa, parameter should me maintained in the FM otherwoise you can't pass any other than existing parameters.
Otherwise create a custom FM.
Regards,
Sunil -
How to pass parameter values to a report befor schedule it?
I tried to use Business Objects web service to schedule a report. But I failed to pass in any parameter values. The report was able to run successfully. But check all history from Infoview, all parameter are with NULL value. Does anybody encounter the same problem and has good resolution for this? Many thanks.
Here's my code:
// Logon Crystal Report Server
LogonCrystalServer();
// Find Report
GetOptions oGetOptions = new GetOptions();
oGetOptions.IncludeSecurity = false;
ResponseHolder rh = _bipService.Get("cuid://<" + reportCuid + ">@SI_SCHEDULEINFO, SI_PROCESSINFO", oGetOptions);
InfoObjects oInfoObjects = rh.InfoObjects;
if (oInfoObjects == null || oInfoObjects.InfoObject == null) return;
// Set Scheduling Info
CrystalReport oReport = (CrystalReport)oInfoObjects.InfoObject[0];
oReport.Name = oInfoObjects.InfoObject[0].Name;
SchedulingInfo oSchedulingInfo = oReport.SchedulingInfo;
oSchedulingInfo.RightNow = true;
oSchedulingInfo.ScheduleType = (ScheduleTypeEnum.ONCE);
oReport.SchedulingInfo = oSchedulingInfo;
// Set Format Info.
ReportProcessingInfo procInfo = oReport.PluginProcessingInterface;
CrystalReportFormatOptions repFormat = new CrystalReportFormatOptions();
repFormat.Format = ReportFormatEnum.EXCEL;
repFormat.FormatSpecified = true;
repFormat.UseExportOptionsInReport = true;
repFormat.UseExportOptionsInReportSpecified = true;
procInfo.ReportFormatOptions = repFormat;
// Get Report Parameters and Set their values
// I don't know if the step has any problem. I copied from wssdk sample.
ReportParameter[] repParams = procInfo.ReportParameters;
for (int i = 0; i < repParams.Length; i++)
CurrentValues oCurrentValues = new CurrentValues();
BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[] oPromptValue = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[1];
oPromptValue[0] = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue();
oPromptValue[0].Data = "Test";
oCurrentValues.CurrentValue = oPromptValue;
repParams<i>.CurrentValues = oCurrentValues;
procInfo.ReportParameters = repParams;
oReport.PluginProcessingInterface = procInfo;
// Schedule run the report
InfoObjects infoObjects = _bipService.Schedule(oInfoObjects);
//Get new instance id
string instanceCuid = infoObjects.InfoObject[0].NewJobID;
Edited by: Shao Zelian on Jan 19, 2010 11:51 AMCan you clarify your scenario? Which is the case you're talking about?
1) You want to pass a parameter from OmniPortlet to a PL/SQL procedure.
2) You want to pass a parameter from a PL/SQL procedure to OmniPortlet.
In both cases the most obvious way of doing it is through request (URL) parameters.
Render a link in your portlet (either in OmniPortlet or using PL/SQL) that invokes a portal page, containing the other portlet.
Both OmniPortlet and PL/SQL allow you to wire and access page parameters.
Take a look at the Using Parameter and Events section of the Portal User's Guide and the Parameters and Events section of the Portal Developer's Guide.
Hope this helps,
Peter -
Parameter form problems w/reports server
I'm in the process of trying to make some reports from a forms-
based application available on an intranet via reports server.
If I call the reports without a parameter form (just take the
default parameter values) they work fine, but as soon as I put
in a 'Paramform=YES' I start running into problems.
The entries in cgicmd.dat are in this form:
reptname: server=servername report=reptname.rdf
userid=user/pw@db_name destype=cache desformat=PDF paramform=YES
When I submit the parameter form, no matter what set of values,
I get this error:
Oracle Reports Server CGI - Key "" is unrecognized. Possible
causes: bad URL syntax; key in URL was not found in the key map
file.
Also, on some forms that should have drop-down list boxes, it's
instead displaying a blank text field followed by a long string
of values as plain text below it.hello,
sounds like an issue we had in the early versions of 6i. i would suggest you upgrade to the latest patch.
regards,
the oracle reports team --pw -
Hi All !!
I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
then as destype is local file so client can store it in notepad on his M/C.
In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
My problem is :
As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
can't select localfile as a option in this case.
Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
Thanks in advanceHi All !!
I developed developer report(reports 6.0) and deployed it on web.Reports are made in character mode so that it can be stored in ascii format.our requirement is that output can be stored in ascii file on remote client M/C.
If I go to http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile
then as destype is local file so client can store it in notepad on his M/C.
In the case of report is having parameters then I go to URL : http://websrv/misbin/Rwcgi60.exe?server=repsrv+userid=scott/tiger@conn+Report=tsms_pending+destype=localfile+paramform=YES
My problem is :
As destype in parameter form can have one of the four value(cache,file,printer,mail) so I
can't select localfile as a option in this case.
Is there any way to include localfile in the option of DESTYPE system parameter of Developer reports.
Thanks in advance -
Passing parameter values to another report using URL actions (reportserver)
Hi guys,
I have two reports that I link with eachother. For report A - B everything works perfect. When I try to do the same for report B - A it works, but the parameter value is not filled in.
=Iif(
Parameters!PAR_LinksEnabled.Value,
Globals!ReportServerUrl & "?" & Replace(Globals!ReportServerUrl, "_vti_bin/ReportServer", "")
& "Reporting/POS Reporting/Reports/POS Report.rdl&POS_ID=" & Parameters!CONNECTION_ID.Value & "&POS_LANG=" & Parameters!POS_LANG.Value & "&PAR_Date=%5BDate invoice%5D.%5BBonus Calendar - Week%5D.%5BBonus
week of year%5D.%26%5B" & Left(Parameters!YEAR_WEEK.Label, 4) + "%5D%26%5B" & CInt(Right(Parameters!YEAR_WEEK.Label, 2)) & "%5D",
Nothing
Even tho I specify the parameter he has to pass through, the report opens with parameter period : <select a value>. Anyone has an idea why such behaviour happens?
Thanks!Hi Yvanlathem,
Per my understanding that you want to use the expression above to conditional add the hyperlink to pass the value to the parameter of anpother rreport via the URL in the SharePoint integrated mode report server, right?
I have check the expression you have provided and the issue can be caused by the wrong way you have write the expression to pass the parameter, please check detais information below to make sure you have pass parameter in the URL correctly:
Please modify the expression to below structure :
=Iif( Parameters!PAR_LinksEnabled.Value="Enabled", "URL",Nothing)
I saw you have use expression like "&POS_ID=" & Parameters!CONNECTION_ID.Value & "" which is incorrect, we need to set a report parameter within a URL, use the following syntax:
parameter=value(not Value=Parameter)
If you are using the following syntax like "Parameter1=Parameter2", both parameters and from different report, if you have add the "Go to URL" action from report2 to Report1, please make sure Parameter1 is from the Report1
and Parameter2 is from Report2, change the order will not work
More detail information:
Pass a Report Parameter Within a URL
So, In your scenario, please make sure the value is from one report's field (POS_ID) and the the parameter(CONNECTION_ID) is from another report (e.g:"&CONNECTION_ID=" &Fields!POS_ID.Value &"")
Similar thread for your reference:
SSRS 2012 Drill Through report cascading Parameters not refreshing
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support
Maybe you are looking for
-
OBIEE 11g Report-When drilling down to lower level, totals are not matching
Hi All, I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let's say Budget Cost/Actual Cost based on the Date Dimension Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost FY BCost ACost 2011 100 120 2012 150 140 Total 250 2
-
Help Required In Java Collections.
Hi Techi's Can U please Solve my problem. The Problem .. I have a array tempentries[entryinc]=entryValue.length();this array after getting all the length for the entryValue length, i am trying to save the information of tempentries into some Collecti
-
How to automate the changing of Width and Height of the document
Hi, I just want to know if anyone already automate the changing of width and height of document(eps file). Thanks, Buddy
-
How to Move System Object to QA and PRO Systems
Hi Friends, I have one doubt in SSO. By using SSO I Connected to BI and BCS Systems in DEV System. Now all working fine. Now I want to Move those IViews to QA and PRO System. By using EP DEV Portal I have Connected to BI and BCS DEV Systems By using
-
Error when creating BIA INDEX FOR CUBE
Hi I am trying to create BIA index for a cube and I am getting error "An error occurred. Choose "Continue" to start again from the beginning" in the second step. Could any body explain what this error mean and How to correct it. and when I press BIA