Back to parameter form when report is executed
Hi
Is it possible to be back to the parameter form when the report is executed?
E.g. 1 - Enter information in the parameter form,
2 - Execute the report
3 - Back to parameter form
4 - ....
5 - When all the reports processed, exit the report.
Thank you all
Don't know if you can do this in reports, but we have a similar requirement on our system, and we developed a form based parameter form, rather than using the reports own. We could then run as many reports as we need from the one parameter form.
Similar Messages
-
Suppressing parameter form when calling report
I use an action button on a Forms module to call a Reports module. This Report has one argument, and the value is provided by the module. When I run the Form and press the button, the parameter form of Reports appears. How can I suppress the parameter Form since the value is provided by the Form?
Set the display property of the parameter to 'No' doesn't work.
I use Designer 6i R4.11I don't know how to set this in Designer, but to your action button you have to add this:
Add_Parameter(plid,'PARAMFORM', TEXT_PARAMETER, 'NO');
plid - parameter list -
How to run the parameter form example report :pform_report.jsp
how to run the parameter form example report : pform_report.jsp ?
I got these error message:
Reports Error Page
Sat Oct 18 11:58:24 CST 2003
javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/�� ' PI with the name 'xml' can occur only in the beginning of the document.'.
javax.servlet.jsp.JspException: rwlib-1: REP-6106: (, 4 L, XML 1h��/��
PI with the name 'xml' can occur only in the beginning of the document.'.
at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:180)
at examples.tools._pform__report._jspService(_pform__report.java:79)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:66)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:539)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:285)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:771)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:152)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:72)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:796)
at java.lang.Thread.run(Thread.java:484)repost !
please help! -
Supressing Parameter form when called a report from a Form
Hi all,
How can I supress the Parameter Form of a Report when called from a Form. I am using RUN_PRODUCT built-in to invoke the report.
Thanks in advance
KrishnaPass a parameter to your report .
the parameter name is "PARAMFORM" and the value it should have is "NO". -
No Parameter form when calling report from Forms 6i webpage
I have my Forms 6i fmx files and Reports rep files runnung off of HP Unix
within the same directory and yet when I call the report with RUN_PRODUCT,
I don't get the Parameter Form popup. I left it as default at first, and then I even tried using ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'HTML') to my parameter pl_id in my RUN_PRODUCT call. Can anyone tell me why I don't get a Parameter form?Actually if you are on the Web then you don't have much control over the format the parameter form is in, so specifying it as HTML doesn't help.
Try paramform=yes when calling teh Report and this "temporarily" should help. The problem that you run into the is that there is nothing happening when you click the parameter form submit button. The reason is that when using Run_Product you are talking to a static HTML file generated into teh Reports temp directory with no services assigned to it.
Check the Whitepaper under http://otn.oracle.com/products/reports/pdf/277282.pdf for the options that you have.
Frank -
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. -
I've managed to do it with PARAMFORM=HTML .... but when i press "submit query" on the parameter form, a database user authentication form appears.
I have already specified the userid in the URL but as a precaution i enter the details again. Then I click submit and i get the error:
Error: The requested URL was not found, or cannot be served at this time.
Oracle Reports Server CGI - Key "dummy" is unrecognized. Possible causes: bad URL syntax; key in URL was not found in the key map file.
The above was for the cgi version, but for the cartridge version, everytime i push "submit query" on the parameter form, it would loop to the parameter form again.
Can anyone help me with this?
Some info:
Windows NT 4 with SP3
Oracle Apps Server 4.0.7.1
Internet Explorer 5
Developer 6 with Patchset 3
-William HoIt looks like you're using Reports 6.0
You need to either delete the 'dummy' entry in the cgicmd.dat file (fyi, no longer needed in 6i) or correct it.
Please check out the whitepaper "Reports Server Configuration" available for download on OTN (under Reports 6.0 collateral) for information on this.
Regards
The Oracle Reports Team http://technet.oracle.com -
How to display pop up in foreground when report is executing in background
Hi All,
The requirement is:
My report is executing in background and I have to display a pop-up to end user in foreground.
Is there any method to do this.
it is urgent,
Reward points will be awarded to correct answers.
Thanks,
Vishal.Thanks frnds,
ok can we go in this way......I need to display the pop up when the "program -> execute in background" button is clicked or F9 is pressed....just at that time....later the report can be executed in back ground.
Is there a way to do so......just displaying a pop up when one entry in menu bar ic clicked?
Vishal. -
How 2 Cre8 Parameter Form 4 Report Running?
Hi All!
I don't know how 2 cre8 parameter form in form developer 10g but i tried this please check it out and guide me.
1)i have create a simple tabular report "rpt_dept.rdf" in report developer 10g.
The query is
SELECT DEPTNO,DNAME,LOC FROM DEPT
WHERE DEPTNO= :P_DEPTNO
2)Then i create a form in form developer 10g frm_dept
in this form i have create a DEPT data block in which i have only take a one field "deptno" and
one push button
3)in Reports node i have create reports object "Report10" using 'Use Existing Report File" option, by clicking the browse and navigate to "rpt_dept.rdf"
"Report10" properties
name=report10
File name=D:\GTMS_FILES\GTMS_APPLICATIONS\Reports\rpt_dept.rdf
execution mode=batch
communication mode= synchronous
data source data block=DEPT
report destinaton type=file
4) Then in when_button_pressed Trigger in put this code
Declare
report_id Report_Object;
ReportServerJob VARCHAR2(100);
BEGIN
report_id:= find_report_object('REPORT10');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'rep_uoas');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'P_DEPTNO='||:Dept.Deptno||' paramform=no');
ReportServerJob:=run_report_object(report_id);
END;
Now when i run this form and enter the deptno 10,20 or 30 and press the button it gives nothing and no report is shown
Note! "rep_uoas" is report server..
Please guide..
Please give me solution what mistake i have made
Thanks
RanaYou have to modify your code - machine_name is the name of your computer - this will run on your PC:
Declare
report_id Report_Object;
ReportServerJob VARCHAR2(100);
rep_status VARCHAR2(200);
L_REPORT_SERVER_PATH VARCHAR2(30):='http://machine_name:8889/reports';
L_REPORT_SERVER VARCHAR2(15):='rep_uoas';
BEGIN
report_id:= find_report_object('REPORT10');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,L_REPORT_SERVER);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'P_DEPTNO='||:Dept.Deptno||' paramform=no');
ReportServerJob:=run_report_object(report_id);
rep_status:=REPORT_OBJECT_STATUS(ReportServerJob);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(ReportServerJob);
END LOOP;
IF rep_status='FINISHED' THEN
WEB.SHOW_DOCUMENT(L_REPORT_SERVER_PATH||'/rwservlet/getjobid'||substr(ReportServerJob,instr(ReportServerJob,'_',-1)+1)||'?'||'server='||L_REPORT_SERVER,'_blank');
ELSE
message('Error');
END IF;
END;
Before first running the report you have to start report server on your PC. -
How to close parameter window when report is running
When i use call report in form,at first a parameter window pop up,list parameter from form,then click run,the report is rinning.HOW to skip this parameter window?Use function Add_Parameter()?How to use it?
Hi,
Use Add_Parameter while you are calling the report from forms and the example is as foolows.
Pl_Id := Get_parameter_List('Rep_Parm');
If Not Id_Null(Pl_id) Then
Destroy_Parameter_List('Rep_Parm');
End If;
Pl_Id := Create_Parameter_List('Rep_Parm');
Add_Parameter
(Pl_Id,'PARAMFORM',Text_Parameter,'NO');
Run_Product(REPORTS,'UserRep.Rep',SYNCHRONOUS,RunTime,FileSystem,Pl_Id);
Pass ParForm as no then it will not display the parameter form.
regards
gaurav
null -
Using ref cursor in after parameter form in reports
hi everyone,
I have problem in usage of ref cursor in after parameter form. My actual requirement is I have user parameter :p_minval, :p_maxval. The values into these user parameters will be coming dynamically using sql_statement as shown below
select min(empid),max(empid) into :p_minval, :p_maxval from emp where empid in (:p_emp);
I will be writing this query in the after parameter form
:p_emp is a lexical parameter as per me but the after parameter form is taking it as a bind variable. so I decided to define a ref cursor and then use it for retrieve. But when I use ref cursor it is returning pl/sql error 591 saying that this is not supported by client side can anyone help me plz..
The following is the code i tried to use in after parameter form
function afterPform return boolean is
type rc is ref cursor;
l_rc rc;
sqlstmt varchar2(512);
begin
sqlstmt:='select min(empid),max(empid) from emp where empid in ('||:p_emp||')';
open l_rc for
select max(empid) from emp where empid in ('||:p_emp||')';
fetch l_rc into :p_maxval;
close l_rc;
return(true);
end;
thanks & regards
venkatI ran into the same problem. any body knows why?
-
Pre-populating parameter field when report deployed
I have two similar reports, where the reports contains several report parameters and a drop down list of of available options are provided based upon the first report parameter.
The report that works correctly, has the first report parameter pre-populated. The second does not. I don't know how the first report parameter in the correct report has been pre-populated (I didn't create it). It looks like it is pre-populated
based on the login that you use. At the moment in the second report, instead of having a drop down menu - the option is greyed out. However, if I type in a figure for the first report parameter, the drop down menu is available and the options appear
in a drop down list based on that figure.
Can someone please tell me how can I pre-populate the report parameter so I can replicate it in my second report?Hi chowwbc,
Based on my understanding, you have two similar reports, you want to make a report parameter pre-populate in your second report.
In Reporting Service, when we specify the default values for a report parameter and default values are available, the parameter will pre-populate in a report. If you want to select parameter values appear in a drop-down list, you should specify available
values for a parameter.
In your scenario, as a parameter is an item within a report, you can’t copy parameter values from first report to second report directly. Since two reports are similar, you can refer to first report to specify default values for parameters in your second
report. As we tested in our environment, if we specify default values for a report parameter, the parameter will pre-populate in the report. Please refer to screenshot below:
Reference:
Report Parameters (Report Builder and Report Designer)
If you have any question, please feel free to ask.
Best regards,
Qiuyun Yu -
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. -
Block list display when report is executed in background?
Hello all,
when i execute the report program in foreground ,output is displayed as block list with two blocks say success table and failure table.
when i execute the same report program in background, i could see only a single block which is success table. Why is this?
Thanks,
Sindhu.Did you check all the pages in spool? If the report has a output which runs multiple pages, then spool might not display everything unless you change the setting to display more than certain pages. Kindly check the same.
-
Scheduling report in back ground after the previous report is executed
Hi,
There is one report which will be executed manually, once that is executed my report should be executed automatically in background.
Pls help me in how to do this.
Thanks,
LuckyHi,
In the first report, try this code:
DATA l_jobcount TYPE tbtcjob-jobcount.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = 'TEST_JOB'
IMPORTING
jobcount = l_jobcount
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
MESSAGE e054(bl)
WHEN 2.
MESSAGE e008(mi_badi)
WHEN 3.
MESSAGE e009(mi_badi)
WHEN 4.
MESSAGE e703(fkjo)
ENDCASE.
ENDIF.
SUBMIT z_second_program
WITH p_param1 = 'TES'
WITH s_select_option IN s_range
VIA JOB 'TEST_JOB' NUMBER l_jobcount
AND RETURN.
IF sy-subrc EQ 0.
p_submit = true.
ENDIF.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = l_jobcount
jobname = 'TEST_JOB'
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
invalid_target = 8
OTHERS = 9.
IF sy-subrc <> 0.
CASE sy-subrc.
WHEN 1.
MESSAGE e012(mi_badi)
WHEN 2.
MESSAGE e013(mi_badi)
WHEN 3.
MESSAGE e009(mi_badi)
WHEN 4.
MESSAGE e014(mi_badi)
WHEN 5.
MESSAGE e015(mi_badi)
WHEN 6.
MESSAGE e541(scpr)
WHEN 7.
MESSAGE e267(arch_ana)
WHEN 8.
MESSAGE e216(xm)
WHEN 9.
MESSAGE e727(fkjo)
ENDCASE.
ENDIF.
Maybe you are looking for
-
i have flagged BPM but it doesnt appear?????? help
-
BAPI call via UDF in mapping - error handling/stopping processing
Hi, We are calling a BAPI in an ECC system from a UDF in message mapping. The BAPI then calls other BAPIs to perform translations and validations on the message data. An error could occur during a translation (for example), and an error flag would
-
Internet speed in Snow Leopard slows down because of connected External HDD
I have two external Iomega harddrives that I connect through FireWire 800 to my MacBook Pro 17". I noticed, when the harddrives are plugged in, safari lags and slows down tremendously. As I eject my harddrives from my MacBook Pro, the internet miracu
-
Scan a barcode and fiil out text box
Hi there, I need to read a bar code and populate a text box, I have a pda to do this but the problems is How can I activate the submit button automatic.
-
Hello I would like to know what is the best way to work with files in the print workbench. The 3rd part company wants to work with txt files. Should I create XML(SmartForm), or RDI(SAPscript) and then convert to txt? Online documentation has a lot of