Oracle Report Builder Bugs
If the JSP file generated by Report Builder contains the statement,
<systemParameter name="DESTYPE" initialValue="Screen" display="yes"/>
you will receive the following error message when you try to run the report in Web Layout:
javax.servlet.jsp.JspException: REP-56092: No class defined for destination type Screen
I found the only solution to be to remove the offending statement, or set its display parameter to no. (The statement can be found in the JSP file under the <data> tag.)
This statement displays the Runtime Parameter Form dialog which is intended only for Paper Layouts. Seems as if Report Builder is reading a Paper Layout statement from the JSP file when it is executing a Web Layout command.
Another minor problem occurs when you open a report and attempt to display it in Web Layout before connecting to the database. When the Connect dialog appears, the mouse pointer remains as an hour glass.
The Report Builder came packaged with Oracle Developer Suite 10g, but the Report Builder's Help About shows version 9.0.4.2.0. However, I noticed that other copies of Oracle Developer Suite 10g came packaged with Report Builder version 10g. I can't say whether the above problems apply to these later versions of Oracle Builder or not.
Hi,
There's a dedicated forum for Oracle Reports and I would suggest you to post your questions there to get answered by those who are experienced in Oracle Reports.
I did work with Oracle Reports a long time ago, so as I remember, you have to create a link between colb and colc fields. When colb is null then this link will pull over colc and print it in place of colb.
Hope this helps.
Regards
Asif Momen
http://momendba.blogspot.com
Similar Messages
-
Hello,
In Oracle Reports Builder : suppose you have two queries, Department and employe thus two groups DEPT_GROUPE and EMP_GROUP.
If you link the two queries using DEPT_ID : The link will be well generated between the queries (the linked columns are there). Your report will run. Fine
The problem occurs if after linking your queries, you decide to change the detail query (adding a subselect in the select part, thus, transforming your detail query to non-linkable query).
In this case, Reports Builder will not complain, more than that, it will keep all the properties of your previous link as is. The only thing the report builder will do is marking your query with the non-linkable symbol.
The problem is : if your query was non-linkable before you make the link, Reports builder will complain with a message (... non-linkable, do you want to cretate a group link ?) and it will not put the linked columns in the properties of the link.
For the first case, I was expecting Report Builder to raise the same info message and especially remove the linked columns in the properties of the link.
Mohamed Dadimaybe its a bug, but since reports 6i is desupported, there won't be any fix for it. and as you know how to avoid it, simply do so. ;)
Edited by: Andreas Weiden on 18.11.2010 19:42 -
ORACLE reports Build 10g - Data Model - query - If statement in Alias ?
I have the following select statement. It has the alias Survivors, Deaths and "All
With the ORACLE reports Build 10g - Data Model - I have the following query statement. I require the alias to change. Can the following be done.
Cases". Is it posible to use :P_LANGUAGE variable to say that -- IF :P_LANGUAGE = FRENCH THEN alias are Survivants for survivors, Décès for Deaths, Tous_les_cas for All Cases. Please advise
SELECT ALL T_NTR_MULTIBAR.CAT, T_NTR_MULTIBAR.NUM_CASES_LEFTBAR AS Survivors,
T_NTR_MULTIBAR.NUM_CASES_MIDDLEBAR AS Deaths, T_NTR_MULTIBAR.NUM_CASES_RIGHTBAR AS "All Cases"
FROM T_NTR_MULTIBAR
WHERE INSTANCE_NUM = :P_INSTANCENUM
order by ORDERSIt is no problem, you can automatically change the complete query before the report is running, which delivers you different kind of values. But the alias names does not change in the group of the data-model, although two query are running with different alias names at different times. In the data model you see the alias names of the first implemented select statement, which are the column fields in the layout.
-
Dear all;
Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
create or replace package test1 is
type r_cursor is ref cursor;
function report(company_name in varchar2) return r_cursor;
end test1;
create or replace package body test1 is
function report(company_name in varchar2) return r_cursor as
my_r_cursor r_cursor;
begin
if(company_name = 'ALL COMPANIES') THEN
open my_r_cursor for
select t.t_id, t.t_description from t1 t;
return my_r_cursor;
elsif(company_name != 'ALL COMPANIES') THEN
open my_r_cursor for
select t.t_id, t.t_description from t1 t
where t.t_id = company_name;
return my_r_cursor;
end if;
end;
end test1;
create table t1
t_id varchar2(200) not null,
t_description varchar2(250),
primary key(t_id)
insert into t1
(t_id, t_description)
values
('CITI', 'PROFIT: 2.2Billion');
insert into t1
(t_id, t_description)
values
('GE', 'PROFIT: 1Billion');
insert into t1
(t_id, t_description)
values
('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.Hi,
first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
so first you create your package
create or replace package test1
as
TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
, company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
end test1;
show errors
create or replace package body test1
is
procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
is
my_r_cursor T_REF_CURSOR;
begin
if(company_name = '1')
THEN
open my_r_cursor for
select 1 as t_id, 'description' ast_description from dual
else
open my_r_cursor for
select 2 as t_id, 'description2' as t_description from dual
end if;
end;
end test1;
show errors
then, in your report you create a ref cursor query :
function QR_1RefCurDS
return test1.t_ref_cursor
is
C_return test1.t_ref_cursor;
begin
test1.report(1,C_return);
RETURN(C_return) ;
end;
hope this helps you !
E -
Getting a report in excel format from oracle report builder 10gDS release2
I want to get a report in excel format from oracle report builder 10gDS release2.
Is there ne method by which minimum effort is required for changing already made reports .
I have searched for it on internet :-
http://www.oracle.com/webapps/online-help/reports/10.1.2/state/content/navId.3/navSetId._/vtTopicFile.htmlhelp_rwbuild_hs%7Crwwhthow%7Cwhatare%7Coutput%7Coutput_a_simpleexcel~htm/
Example, given in the last of the page opened from the above url, is not working.
Can neone plz explain the example and how to use it
Thanks & Regards
JDOk, for the release 2 its quite straightfoward, in your calling form you would have something like this code:
declare
pl_id ParamList;
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
v_rep_status VARCHAR2(20);
v_repsrv VARCHAR2(100):= 'yourreportserver';
v_serv varchar2(50) := 'yourservername' ;
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,'DESTYPE' ,TEXT_PARAMETER,'Screen' );
Add_Parameter(pl_id,'PARAMFORM' ,TEXT_PARAMETER,'NO' );
repid := FIND_REPORT_OBJECT('yourreport'); SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,RUNTIME);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER, v_repsrv);
set_report_object_property(repid,REPORT_DESTYPE,CACHE );
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
v_rep := RUN_REPORT_OBJECT(repid,pl_id);
v_rep := substr(v_rep,length(v_repsrv)+2,10 ) ;
end;
I have plenty of reports being formated to excel with this same method so it should work for you, the only diference with my previous code is this line.
set_report_object_property(repid,REPORT_DESFORMAT,'SPREADSHEET' );
The rest remains untouched.
Hope it helps. -
Interfacing of oracle report builder and java
hi all,
I have build a report using Oracle Report Builder 10g.Now i want to make use of this report in displaying the data in IE using core java.
This is the first time i am using the Oracle Report Builder .
Can anyone tell me how to proceed in right direction?Do i need to have some specific Jar,Environment to accomplish this task?
Thanks in advanceI'm not sure what version of the product you're using, but since you're just installing it may well be the base version (6.0.8.8.3).
Similar issues were addressed in a patch release (6.0.8.12), which was related to issues with some types of keyboard. You may want to upgrade to the latest patch release and retry. -
Using CLOBs in oracle Report Builder
I want to select all the data in a CLOB column using SQL Navigator by just doing
select entry_note
from chartentries;
just as you say in your example by it just gives me back a result of (ORACLOB).
If I do
select to_char(entry_note)
from chartentries;
I get this error.
If I do
select dbms_lob.substr(entry_note,4000,1)
from chartentries
I get this (there’s more up to 32000 characters in a clob) and these weird squares which I think are CR (carriage returns) or LF (line feeds). I don’t want to see those characters and I would like to retrieve the entire CLOB in one swoop without doing data manipulations of substringing.
Using the same data in Oracle Report Builder, I want to select all the data in a CLOB column into a field in a Paper report layout but I keep getting errors, ora-6502, and I've found out that I am restricted to 4000 characters and in Report 9i it looks like the largest field you can have is 4000 characters. My CLOB information can be up to 32000 characters long or longer and I do not want to substring out 4000 characters at a time into separate fields. In Crystal reports there is no problem just selecting the clob in a simple query and it is there in one shot. I would have thought by now that Oracle would have changed its development tools to be able to handle Clobs simply without any manipulation. Does anyone know how to do this in Report builder? I just have a simple query:
select entry_datetime,
to_char(replace((entry_note),chr(13))) as entry_note
from chartentries
where patient_id = 49741
Another thing I want to do, is call this Oracle report from a PL/SQL block passing several parameters to the report and also call a Crystal report from a PL/SQL block passing several parameters to the report. Does anyone know what the commands are?What I had to do is create a query using query builder. This works fine; it's when trying to add the column to an existing query is where the data inconstancy error occurs. One thing you have to keep in mind is it will only work using the query builder in conjunction with the report wizard; I am not sure why. To incorporate the comments into an existing frame you will have to cut the frame created by the wizards and copy it into the existing frame. Otherwise the column name will not show in the source list of the property Inspector.
Good Luck -
How to start Oracle Report Builder in Linux
Hi all
Can someone please help by telling how can i start Oracle Report Builder in Linux????
Thank you and best regards to allHello,
there should be a script rwbuilder.sh
in ORACLE_HOME/bin for 10.1.2.
in ORACLE_INSTANCE/config/reports/bin for 11g
Of course, you need to have a "X Display Server " up and running and the variable DISPLAY must be set to this "X Display Server "
Example :
export DISPLAY=123.456.789.12:0
$ORACLE_HOME/bin/rwbuilder.sh
Regards -
Exception while opening a JSP file created using oracle report builder
I have created a JSP page which contains embedded Oracle reports build using Oracle Report Builder.
I have deployed the JSP created above to the Oracle Application Server
but when i try to open the JSP file it gives the following error:
500 Internal Server Error
javax.servlet.jsp.JspException: rwlib-1: REP-1202: ORACLE logon not specified. at oracle.reports.jsp.ObjectsTag.doEndTag(ObjectsTag.java:206) at testing.test1._jspService(_test1.java:75) [SRC:/testing/test1.jsp:0] at com.orionserver[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:567) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].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 (9.0.4.0.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:604) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:208) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:125) at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.0.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:534)
can anybody help regarding this
this is of high priority to me
thanks and regards
Subhajitbump
-
How to Publish a report created by Oracle report builder
Hi Everyone
My colleague and I were trying to use the Oracle Reports Builder to replace our existing reports generator from our ERP system. We have already created the report in the Reports Builder from the development suite.
What we are looking for is a similar solution as the Microsoft reporting service;
1) create the company report templates
2) and then upload the template files to a location (e.g. folder on the server)
3) then all user in the company can access it by a web browser with some fields which they can enter some critiria (e.g. purchase order number).
4) then send to printer and the print out should look exactly like the template.
Unfortunately, we had very bad time on try to find out what we need and how to publish that Oracle report we created. We spent 15 hours on that but no result.
In that 15 hours we tried to setup the "Oracle report service", but at last my colleague said that wasnt what we looking for, the "Oracle report service" is for reporting the error from the application hosted on the server, not for publish the company report created by the "Oracle report bulider" .
We use Oracle Database 10g for the ERP quite a long time already. We had the Oracle Developer Setup, and the Application Server Installed.
Could someone please tell us what kind of Oracle service we are actually looking for. Any other suggestion and setup guides are also the most welcoming.
Best Regards
BryanHello,
If you want to be able to execute your Reports on the web, the best solution is to use the "Oracle Application Server"
http://www.oracle.com/technology/software/products/ias/htdocs/101202.html
For example , the "Forms & Reports Services Standalone" edition
Then, use the Reports Servlet to submit the execution requests to a Reports Server :
http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_run.htm
Oracle® Application Server Reports Services Publishing Reports to the Web
10g Release 2 (10.1.2)
B14048-02
13 Running Report Requests
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/runprint/deploy_rpt.htm
Deploying a report
Regards -
How to use LIKE function with a parameter in Oracle REPORT builder??
how could i use parameter inside a LIKE function in Oracle reports builder?
it works in SQL plus, but not in report builder!!
Example:
select code,desc from item_master where desc
like '%&give_desc%'; ---works in SQL
like '%:give_desc%' ---doesn't work in report builder!!Hi Renil,
You will need to use the wildcard character (%) and the concatenation character (||) to join to your user parameter.
i.e. like '%'||:give_desc||'%'
Regards,
John -
Get report file name in oracle report builder at run time
Dear All,
Is there any way to get the report file name in oracle report builder at run time?
for example "HR_REP012.REP"
i need this very important...
Regards,
Yousef
Edited by: Yousef_m on Jun 2, 2012 5:18 AMHello,
Did you try the builtin SRW.GET_REPORT_NAME built-in function ?
Example
function AfterPForm return boolean is
my_var varchar2(80);
BEGIN
SRW.GET_REPORT_NAME(my_var);
SRW.MESSAGE(0,'Report Filename = '||my_var);
RETURN (TRUE);
END;
Regards -
How to type chinese character in Oracle Report builder 6i?
Hi,
Does anyone know how to include the chinese character in the rdf file under Oracle Report Builder 6i?Hi,
please check with this link
[https://blogs.oracle.com/ankitkaushik/entry/displaying_multilingual_data_i ]
Hope this link will help you
Thanks & Regards,
pallis -
How to handle Exceptions in Oracle Report Builder 10.1.2.0.2?
We are using Oracle Reports Builder 10g 10.1.2.0.2, Windows XP with Oracle 10g database. The reports are converted into JSP reports.
How and where do we write exception handling code in Reports Builder? We want to achieve the following:
1. Display a customized JSP page with customized error message
2. Allow users to cancel the report execution, if possible and then direct them to the parameter form with all the values they entered before.
Once we write these codes in the Oracle Report Builder where will it show in .jsp files?
Thanks
Hemantthis link may be helpful:
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/whatare/pformobj/a_pf_web.htm -
Oracle report builder v 10.1.2.0.
HI
I would like to know how to create parameters and link them to report on oracle report builder v 10.1.2.0...
thanking in advanceOne Option is to create a parameter-list and pass it through to the report when called from forms.
v_list_id ParamList;
v_list_id := CREATE_PARAMETER_LIST('...');
And then use the ADD_PARAMETER(v_list_id, ...) Built-In.
Call the report and pass the parameter-list to it.
In reports, create a user parameter having the same name as given in the ADD_PARAMETER Built-In.
In the SQL-Query-Statement Window, the parameter may then get assigned in the WHERE-clause of the quer using e.g.
WHERE MYCOLUMN = :PARAMETER_NAME
Hope this helps.
Maybe you are looking for
-
Listener service and instance of my database
Hello I installed ORACLE DATABASE 11G on RHEL 5.5 and all it's ok When I run the LSNRCTL (to check the status of my listener) with database db11g not mounted it's give me : Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=db.server.com)(PORT
-
Ultra Search / File system
Hi again, I'm developing a document management application and now i'm storing files on the local file system with an structure of folders and subfolders created by me. Now, I want to add functionality of searching documents by content and so, I thou
-
A error from javax.rmi.PortableRemoteObject.narrow
--run envrionment: jdk1.4.2_01 / oc4j9.0.4 --source code import java.util.*; import java.io.IOException; import java.rmi.RemoteException; import javax.servlet.*; import javax.servlet.http.*; import javax.ejb.*; import javax.naming.*; import javax.rmi
-
Is there any way that the magic mouse might work on the iPad?
I just got the iPad 3 and is there any way that the magic mouse can work alone or with the keyboard on it? If not, can the mouse work with a PC?
-
How to use two external monitors and Tecra M5
Hi , I've been used to work with two 17" monitors connected to a computer in extended desktop monitor view, ii've just changed Job and now i have the following setup: a Toshiba Laptop connected to Toshiba Tecra M5 dockstation and one external 17" mon