Calling report with parameter screen from form using frmrwinteg
Hi,
I am calling a report with a parameter screen from a form and am using the frmrwinteg bean. This works fine on our test application server but, when moved onto our production application server, the database logon screen is presented after pressing the submit button on the parameter screen. The cause of the problem seems to be the html generated to simulate the parameter screen. The html on the test application server contains a BASE tag in the HEAD section with an href starting "http:/servername.companyname.com". However, the same tag in the html generated on the production application server is missing the ".companyname.com", causing the cookie produced by the frmrwinteg bean to not be found. Does anyone know how the BASE href tag is generated and what I need to change to get the correct BASE href value? I am using Forms/Reports 10g R2 and Application Server 10.1.2.
Cheers.....
Appendix "A" of this document describes how cookie_domain works:
http://otn.oracle.com/products/forms/pdf/10g/frmwebshowdoc_rep.pdf
Similar Messages
-
Calling report with parameter form using frmrwinteg
Hi,
I am calling a report with a parameter screen from a form and am using the frmrwinteg bean. This works fine on our test application server but, when moved onto our production application server, the database logon screen is presented after pressing the submit button on the parameter screen. The cause of the problem seems to be the html generated to simulate the parameter screen. The html on the test application server contains a BASE tag in the HEAD section with an href starting "http:/servername.companyname.com". However, the same tag in the html generated on the production application server is missing the ".companyname.com", causing the cookie produced by the frmrwinteg bean to not be found. Does anyone know how the BASE href tag is generated and what I need to change to get the correct BASE href value? I am using Forms/Reports 10g R2 and Application Server 10.1.2.
Cheers....Appendix "A" of this document describes how cookie_domain works:
http://otn.oracle.com/products/forms/pdf/10g/frmwebshowdoc_rep.pdf -
Calling report with no parameters from a form should report be a JSP file?
Hi,
I'm completely new to the Oracle environment and am having a few beginner problems all I want to find out is how to call a report from a form. I know this question has been asked before but I can't work it out from the answers because people seem to keep talking about rdf files:
I am trying to call the report with the following code:
Declare
report_id REPORT_OBJECT;
v_rep varchar2(100);
rep_status varchar2(20);
Begin
report_id:= FIND_REPORT_OBJECT('EmployeeRep');
v_rep := RUN_REPORT_OBJECT(report_id);
END;
My report is called 'EmployeeRep' but it saves it as a JSP file and there is no option to save as an rdf as is mentioned in other posts. I can understand the environments confusion because there is no directory information with the find_report_object command. Does the report have to be stored in a certain directory.
All I have done with the report is created it from the emp table of the sample Scott database. Any help is appreciated and nothing is too obvious as I say I'm completely new to this.
Thanks
DanTry to pinpoint what is going wrong:
1. Run the report stand alone (from Reports Builder). If that doesn't work, then it won't work calling it from Forms either.
2. Check if anything has run at all, or if there are report error messages with:
http://localhost:port/reports/rwservlet/showjobs?
For a standalone Report Server use:
http://localhost:port/reports/rwservlet/showjobs?server=rep_server_name
3. If it does work, call it from Forms. Is the report output file created (e.g. in the cache directory if destype=cache)? In your code you have run_report_object, but you won't see any output on your screen. To see the output add web.show_document(...) to your report. There are many examples in this forum if you search for run_report_object. -
Submiting reports with copies option from forms
Hi ,
I am submitting a report from the form with copies = 3 , but the copies are printed 3x3 = 9.
Does any one know why it is printing 3 x 3 instead of 3
the code is as follows:-
IF par_destination = 'PRINTER' THEN
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESTYPE,PRINTER);
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESFORMAT, v_desformat);
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESNAME, par_printer_name);
ELSE
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESTYPE,CACHE);
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_DESFORMAT, v_desformat);
END IF;
SELECT substr(par_rep_filename,1,instr(par_rep_filename,'.')-1) || '-' || v_next_reqno
|| '.' || DECODE(v_desformat, 'dflt', 'lst', 'wide', 'lst', v_desformat)
INTO v_rep_output_filename
FROM DUAL;
v_file_path := v_file_path || v_rep_output_filename;
v_url_path := v_url_path || v_rep_output_filename;
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_SERVER, v_repserver);
v_report_other_params := 'mode='||v_mode || ' orientation='||par_orientation || ' paramform=no'
||' copies='||3||' blankpages=no'
|| ' ' || par_rep_user_params;
message('other value -'||v_report_other_params);
SET_REPORT_OBJECT_PROPERTY(v_repid,REPORT_OTHER, v_report_other_params);
v_rep_instance := RUN_REPORT_OBJECT(v_repid);
Please could some one help me with this.
Thanks
BainHi,
if copies='||3||' isn't the problem, as it should be 'copies=3' then I would check the user parameters you append at the end.
Frank -
Printing Oracle Reports with values obtained from file using IO
Hi All,
We have decided to change the report writer tool from Brio SQR to Oracle Reports 6i. The design using Brio SQR was such that we used to populate all the values to be printed in a text file and then we use to populate the values in the BRIO reports using this file as an input.
We don't want to make many changes to the design at this stage. Can anybody suggest how can we use the text file as input to populate the different fields in the Oracle Reports.
Thanks in advance.
Regards,
MilindHi Miliand
Text Datasoucre is a Reports 9i feature. You can get the information on the feature overview at
http://otn.oracle.com/products/reports/content.html.
You will find the complete 9I Reports reference manuals on OTN soon
Thanks
The Oracle Reports Team -
I am trying to run the report from menu with the following code
declare
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(50);
BEGIN
repid := find_report_object('test');
SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, :global.user_dir||'test.REP');
if id_null(repid) then
pause;
message('repid is null');
else
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,CACHE);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repsrv');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
end if;
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
IF rep_status = 'FINISHED' THEN
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repsrv','_blank');
ELSE
message('Error when running report');
END IF;
END;
The report parameter form displays
and when i enter the values
gives me the error
REP-52007: Parameter form format error.
Copyright (c) 2002, 2005, Oracle. All rights reserved.
java.lang.IllegalStateException: Writer already retrieved at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:969) at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136) at oracle.reports.rwclient.RWWriter.getOutputStream(RWWriter.java:263) at oracle.reports.rwclient.RWReportRunner.sendFile(RWReportRunner.java:355) at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:161) at oracle.reports.rwclient.ServletCmdMgr.handleCmdGetjob(ServletCmdMgr.java:1343) at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:92) at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:295) at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:958) at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1442) at oracle.reports.rwclient.RWClient.doPost(RWClient.java:504) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534)
Thanks
ElsyGo to the following page and refer to the section titled: Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
http://www.oracle.com/technology/products/forms/techlisting10g.html -
Problem in Runinng a report with parameter form through Run_Report_object
Hi,
I am trying to run reports thought RUN_REPORT_OBJECT built-in. It works fine in following cases
* Run a report without parameter Form
* Run a report with parameter form by passing parameters through parameter
List.
But it did not o\work in following cases.
* Run a report with parameter form by passing parameters through setting the
REPORT_OTHER option of SET_REPORT_OBJECT_PROPERTY built-in.
* Run a report with parameter form by using Reports own parameter form.
In first case it says un able to run report and does not even submitt the job to the AS. In the second case its submits the job but when i show it with WEB.SHOW_DOCUMENT, it opens the parameter form and when i run the report after filling the parameters, it displays an error page.
I am using 9iDS and 10g AS, and 10g Database. Please help me.
Mohib.Mohib,
Run a report with parameter form by passing parameters through setting the REPORT_OTHER option of SET_REPORT_OBJECT_PROPERTY built-in.[...] it says un able to run report and does not even submitt the job to the AS
This sound like a user error to me and you want to check the parameters and maybe look at the Reports Queue Manager for the exact error message
Run a report with parameter form by using Reports own parameter form.
See:
http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.pdf
and
http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.zip
Frank -
Problum in runing report on web with parameter screen!
hi,
when i try to run a report with parameter form it shows an error,
REP-0788 : Warning : The Value of restricted LOV Parameter cust_no is not among the selectable values.
what should i do for running this report on web, i highly appriciate if any one guide me.
thanks
NomanNorman,
You don't provide very much detail, but this seems to be a problem (I found several in this area, but specific details need
to be included to help resolve this issue). You need to contact support, provide them
all the details. They can then advise you as the proper solution (whether it is a work around or a bug in which
you will need to see if a patch is available. You can try searching metalink for some possible workarounds, but
you will most likely need the latest patch available for Oracle Reports 6i.
Regards,
The Oracle Reports Team -
Does BOXI support crystal reports with parameter references in formulas?
I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
I can run the report successfully in CRXI Developer. The formulas use the correct values from the parameters entered during execution and everything looks good.
I then deploy the report to Business Objects Enterprise XI. I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
When I run the report using the Crystal Report Viewer, I get the following error message:
Error in File Forecasting.rpt:
Error in formula <Report Format>.
'if (not isNull({?FORMAT_ID} ) ) then
This field name is not known.
Details: errorKind
This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula. If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
Thanks,
Tim H.Hi,
In Crystal Reports under File -> Report Options >check convert Null Values to default > Verify on first refresh > Verify stored procedures on first refresh.
This corrected the issue by allowing the query engine time to locate those columns and map them to the query being sent by the report.
The convert null values was added because those field were being used in the record selection and grouping.
Regards,
Vinay -
Generating Report with vertical lines from Designer
Hi:
I would like to get any suggestions about generating tabular reports with vertical lines from Oracle Designer 6.0 on Windows NT.
Any help will be appreciated.
Thanks in advanceHey c2petrov,
Thanks for using Apple Support Communities.
After reviewing your post, it sounds like you are having trouble with the screen. A frustrating situation to be sure. This article addresses issues with video on internal or external displays.
Apple computers: Troubleshooting issues with video on internal or external displays
http://support.apple.com/kb/HT1573
Have a nice day,
Mario -
How can i make a report with parameter?
hi.
i'd like make a report with parameter , for example when i run a report at first i fill dates ( from dd/mm/yy to dd/mm/yy) and after that run my query.
i made a query ( select name,date from x where date between :a and :b) but when i run the report it return no row select.
thanksHi,
This is because the query is expecting a value for :a and :b. You should run the customization form first. Enter the values
for the :a and :b and save it. Next time when you run the report it will always pick up those values. You can also mention the
values at design time in the customization form display options by specifying the default values.
Thanks,
Sharmila -
Dear All,
I am getting a below error while doing ehp6 installation on sybase (high availbility )
can any one help me on this..?
An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL, Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
Regards,
Letz..Hello Mauricio.
Thanks
Two Thinks:
1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
A.- Execute sapinst
B.- Installation option is chosen
SAP NetWeaver CE Production Edition
Installation Options
High-Availability System
Central Service Instance (SCS)
c.- System ID, Next and appear message error
2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
Thanks -
Opening .pdf files from forms using OLE
Hi,
I want to open, print , save and save as pdf files from forms using OLE . Please help me with the same.
Thanks
VidyaIf you are in client/server mode, you can put an OLE container component on your form. However, be warned that this method does not work when you convert to the forms server web enabled mode. If you anticipate moving your application to the web anytime soon, my advice would be to web-enable first and then add in the feature to view .pdf (or other) files. In our client/server app, I went to a lot of trouble to add in OLE features such as you describe, and now I have to completely re-write those features for the web.
-
With a PDF Dynamic form using show/hide actions, how to ensure that when the completed form is saved, closed and re-opened, the form still show the fields as before it was closed?
I have developed a form with fields hidden by default, that become visible based on box ticked or radio button selections.
My problem is that, when I close the form and re-open it, it comes back to it's default presentation, regardless of the information already recorded in the form (including in the now hidden fields.
How to correct that
Thanks in advance for any hint you can provide.I've had the same problem. This solved it...
Go to the "Form properties..." in the File-menu. Select "Run-time" to the left and in the box "Scripting" Preserve scripting changes to form when saved: choose Automatically (Script-based state changes are saved locally in an insecure fashion. This option cannot be used for certified forms).
Hope it works for you to... -
How to make report with access 2010 from SharePoint Discussion lists 2013
HI,
I want to make an access report from SharePoint Discussion lists 2013. When i open the list with access, the body of the list is in HTML format in access. Also if i reply something to one subject in the discussion, the reply is not mapped to that subject
but instead it is shown as a separate entry in the database.
Anyone can please help?
SAN
Santhiya
SanthiyaHi Santhiya,
I have seen a similar post from you, my understanding is that you wonder that the reply is mapped to the related subject. You can take a look at Daniel's reply in the following thread:
http://social.technet.microsoft.com/Forums/en-US/dfb5bcb9-0076-412a-b34f-46aa9cfba876/how-to-make-report-with-access-2010-from-sharepoint-discussion-lists-2013?forum=sharepointgeneral
Thanks,
Wendy
Wendy Li
TechNet Community Support
Maybe you are looking for
-
i updated the spelling of a song in my itunes but its not reflecting when i check my ipod. this never happened before when after i updated to IOS5. please help.
-
[database design] the "too many" number of users of one instance!!
Good morning everyone!! I have a question about the number of users of one db instance, "possible problems" caused by too many users, and "pros and cons" of this case. Now, the company I work for is considering centralizing 150 db servers of 150 site
-
Thumbnails enlarge when hovered over
Hi all, I'm trying to create an archive page for the past issues of a newsletter. I've tried creating one with CSS, which looks fine in Firefox but tweaks out in IE6. So I'm trying to create an archive page using Flash. I'd like to create a page simi
-
Applying one video filter to multiple clips
How do I apply just one video filter to multiple clips on a timeline in FCP7? "Copy and paste attributes" does not give me the control to select just one filter to apply, for example there is a color corrector and sharpen filter in the copied clip an
-
How add ComboBox to ToolBar,
Hello! I develop plugin for Acrobat. I use VS2005 + SDK9. Is it possible add something like Combo Box to Tool Bar?