Reports Oracle 10G
Hi all, i´m newly in this forum, but i can see much activity, thats good !
Well, my main question is : How can i do reports from Oracle 10G
Additional Info:
The server is : Solaris 10 + Oracle 10G
And i can access it through to a remote desk (Windows XP) where i have SQL Developer.
The main idea is to generate queries furthermore I can generate related charts (Like Excel) and the whole report should be automatic every week.
Could any of you give some ideas ??? is my first job with oracle and i´m very nervous
Thanks in advance.
Could any of you give some ideas ???SQL*Net allows remote Windows client to query DB server
Similar Messages
-
Hai
I can call a form named "ABC" from one Report, using "hyperlink" . The URL is
http://....../forms90/f90servlet?form=c:/ABC&userid=a/a@a
Now I want to pass 2 parameters (that are received in that report) to the form ABC.
I am using Oracle 10g.
What to do?
Please reply soon.
I am eagerly waiting for the solution.
Please Help.
ByeHai
Thank u for the reply.
Is it possible to pass the variable instead of values.
My report receives 2 parameters named p1 & p2. Actually I want to pass that parameters to the form from the report.
I have tried as You said.
//http/.........&otherparams=param1=:p1+param2=:p2
Then the form receives the ":p1" as the value, it does not take the value of that variable p1.
Please Reply Soon.
Bye... -
Output required in MS Excel from Reports Oracle 10g error with built in pac
Hi All,
Our requirement is to get matrix report output in MS Excel. For that i found a report online. However, im having issues with Built-in Package OLE2.obj_type.
Below is the report log file:
******* Custom: Version : UNKNOWN
Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
XX_MATRIX_REPORT module: XX_MATRIX_REPORT
Current system time is 10-AUG-2012 17:23:17
+-----------------------------
| Starting concurrent program execution...
+-----------------------------
APPLLCSP Environment Variable set to :
Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
American_America.UTF8
Enter Password:
REP-0736: There exist uncompiled program unit(s).
REP-0736: There exist uncompiled program unit(s).
REP-1247: Report contains uncompiled PL/SQL.
REP-0069: Internal error
REP-57054: In-process job terminated:Terminated with error:
REP-1247: There exist uncompiled program unit(s).
REP-1247: Report contains uncompiled PL/SQL.
Report Builder: Release 10.1.2.3.0 - Production on Fri Aug 10 17:23:19 2012
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Start of log messages from FND_FILE
End of log messages from FND_FILE
Program exited with status 1
Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 11242010.
Review your concurrent request log and/or report output file for more detailed information.
Executing request completion options...
Output file size:
0
Finished executing request completion options.
Concurrent request completed
Current system time is 10-AUG-2012 17:23:20
Please Help!!!After Report:
function AfterReport return boolean is
begin
RPT2XLS.release_memory;
srw.user_exit('FND SRWEXIT');
srw.message(101,'After Report');
return (TRUE);
end;
RPT2XLS package body:
PACKAGE BODY RPT2XLS IS
TYPE ExcelCell IS RECORD(RowNo binary_integer,
ColNo binary_integer,
Val varchar2(2000),
FontName varchar2(20),
FontSize binary_integer,
FontStyle binary_integer,
FontColor binary_integer,
BgrColor binary_integer,
Format varchar2(60),
Align xlHAlign
TYPE ExcelCells IS TABLE OF ExcelCell;
Cell ExcelCells := ExcelCells();
CurrentRow binary_integer := 1;
PROCEDURE new_line IS
BEGIN
CurrentRow := CurrentRow + 1;
END;
PROCEDURE put_cell(ColNo binary_integer, CellValue in varchar2,
FontName in varchar2 DEFAULT null,
FontSize in binary_integer DEFAULT null,
FontStyle in binary_integer DEFAULT null,
FontColor in binary_integer DEFAULT null,
BgrColor in binary_integer DEFAULT null,
Format in varchar2 DEFAULT null,
Align in xlHAlign DEFAULT null
) IS
BEGIN
Cell.Extend;
Cell(Cell.Last).RowNo := CurrentRow;
Cell(Cell.Last).ColNo := ColNo;
Cell(Cell.Last).Val := CellValue;
Cell(Cell.Last).FontName := FontName;
Cell(Cell.Last).FontSize := FontSize;
Cell(Cell.Last).FontStyle := FontStyle;
Cell(Cell.Last).FontColor := FontColor;
Cell(Cell.Last).BgrColor := BgrColor;
Cell(Cell.Last).Format := Format;
Cell(Cell.Last).Align := Align;
END;
PROCEDURE run IS
Application OLE2.OBJ_TYPE;
Workbooks OLE2.OBJ_TYPE;
Workbook OLE2.OBJ_TYPE;
Worksheets OLE2.OBJ_TYPE;
Worksheet OLE2.OBJ_TYPE;
WorkCell OLE2.OBJ_TYPE;
WorkColumn OLE2.OBJ_TYPE;
WorkFont OLE2.OBJ_TYPE;
WorkInterior OLE2.OBJ_TYPE;
ArgList OLE2.LIST_TYPE;
BEGIN
Application := OLE2.create_obj('Excel.Application');
OLE2.set_property(Application, 'Visible', 1);
Workbooks := OLE2.get_obj_property(Application, 'Workbooks');
Workbook := OLE2.invoke_obj(WorkBooks, 'Add');
Worksheets := OLE2.get_obj_property(Workbook, 'Worksheets');
Worksheet := OLE2.get_obj_property(Application, 'ActiveSheet');
for i in Cell.First .. Cell.Last
loop
if Cell(i).Val is not null then
ArgList := OLE2.create_arglist;
OLE2.add_arg(ArgList, Cell(i).RowNo);
ole2.add_arg(ArgList, Cell(i).ColNo);
WorkCell := OLE2.get_obj_property(Worksheet, 'Cells', ArgList);
ole2.destroy_arglist(ArgList);
ole2.set_property(WorkCell, 'Value', Cell(i).Val);
ole2.set_property(WorkCell, 'NumberFormat', Cell(i).Format);
if Cell(i).Align is not null then
ole2.set_property(WorkCell, 'HorizontalAlignment', Cell(i).Align);
end if;
WorkFont := OLE2.get_obj_property(WorkCell, 'Font');
WorkInterior := ole2.Get_Obj_Property(WorkCell, 'Interior');
if Cell(i).FontName is not null then
OLE2.set_property(WorkFont, 'Name', Cell(i).FontName);
end if;
if Cell(i).FontSize is not null then
OLE2.set_property(WorkFont, 'Size', Cell(i).FontSize);
end if;
if mod(Cell(i).FontStyle, 2) = 1 then
OLE2.set_property(WorkFont, 'Bold', 1);
end if;
if mod(Cell(i).FontStyle, 4) > 2 then
OLE2.set_property(WorkFont, 'Italic', 1);
end if;
if mod(Cell(i).FontStyle, 8) > 4 then
OLE2.set_property(WorkFont, 'Underline', 2);
end if;
if Cell(i).FontColor is not null then
OLE2.set_property(WorkFont, 'ColorIndex', Cell(i).FontColor);
end if;
if Cell(i).BgrColor is not null then
OLE2.set_property(WorkInterior, 'ColorIndex', Cell(i).BgrColor);
end if;
OLE2.release_obj(WorkInterior);
OLE2.release_obj(WorkFont);
OLE2.release_obj(WorkCell);
end if;
end loop;
ArgList := ole2.create_arglist;
ole2.add_arg(ArgList, 'A:Z');
WorkColumn := ole2.Get_Obj_Property(WorkSheet, 'Columns', ArgList);
ole2.destroy_arglist(ArgList);
ole2.invoke(WorkColumn, 'AutoFit');
OLE2.release_obj(WorkColumn);
OLE2.release_obj(Worksheet);
OLE2.release_obj(Worksheets);
OLE2.release_obj(Workbook);
OLE2.release_obj(Workbooks);
OLE2.release_obj(Application);
END;
PROCEDURE release_memory IS
BEGIN
Cell := ExcelCells();
SYS.DBMS_SESSION.free_unused_user_memory;
END;
END;
We are getting the error in log file Report contains uncompiled PL/SQL.
due to ole2.obj_type... -
Text trucated in report oracle 10g
Hi,
I have problem with report, when a execute my report in web my text trucated.
Any ideas ?
Thank in advanceWell, instead of being confused, you could go to http://www.oracle.com/pls/db102/portal.portal_db?selected=1 and look at
1) the licensing document, which would tell you whether you need a separate license, and
2) under the 'Books' tab, look at the Text Application Developer's Guide or the Text Reference manuals for details.
You could also look for the Oracle Text forum (from the http://forums.oracle.com page, under Database - More, or Text and ask the people who concentrate on that set of features.
In general, Oracle Text is a set of extensions, the definitions for which are stored under user ctxsys. You would use these extensions by creating your own objects that are based on the extensions.
For example, suppose your tables contain varchar2 columns. Create indexes that are based on ctxsys's 'context index type' and your application can then use the 'CONTAINS' keyword search capability (which is effectively a ctxsys-owned extension to the select)
However, you would never log on to ctxsys and do anythibng with that as you risk changing the template code that Oracle has supplied.
Message was edited by:
Hans Forbrich
PS: Yes, Oracle Text is included as part of the base database. Most of it is even included in the free Oracle XE database. -
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.
-
Displaying both Hindi and Arabic numerals in Oracle 10g PDF report
Hi….
Oracle experts told us to ask “In how many ways we can do it in oracle?” instead of asking “Can we do it in Oracle?” , I need ONE way to solve the following problem, it toke to much time and I don’t know if it can be solved !
The problem:
Can we print in - Oracle 10g reports - a PDF report with BOTH Hindi and Arabic numerals?
Well, at design time everything is fine, you can use right-to-left, left-to-right and the print preview is showing BOTH Hindi/Arabic numerals fine, but when I tried to produce it as a PDF, unfortunately its not, means its either all Hindi or all Arabic numerals !
I tried everything possible, environment variables: NLS_LANG, REPORTS_BIDI_ALGORITHM, and REPORTS_ARABIC_NUMERLS, setting Digit substitution to Context in windows regional settings, uifont.ali is modified properly according to metalink note, but nothing solved this issue!
I noticed something, when I used the DESTYPE=printer and DESNAME=PDF995 (one of the PDF printers) , it worked fine , means the problem could be in the generic PDF generator of the Oracle reports server,
But even with PDF995 you still need to feed the file name, which is not suitable for multi-user environment that need the report to be displayed via web browser.
Does anybody face this before?
Edited by: khaled.w on May 24, 2010 7:29 AM
Edited by: khaled.w on May 24, 2010 7:35 AMDon't tell so much.
Check the following link
1. PDF Reports in Unicode / Arabic & English | Oracle Community
2. OraFAQ Forum: Reports & Discoverer » Report in Arabic(pdf) (merged)
3. Arabic Report generated to text file giving Jun... | Oracle Community
Hope this helps
Hamid -
How to Run a Report from Desktop in Oracle 10g without using Web
Hi Friends,
I want to run a report from desktop (report which is developed in oracle report developer 10g), for that i have created shortcut. But when i double click on that shortcut it gives me followig error
"Report name, database connection, and reports server name (unless using local runtime, i.e. reports server call is local) properties must be specified for successful report run"
the path which is defined in the shortcut of report is as follow
D:\DevSuiteHome_1\BIN\rwsxu.exe rcptreg_dt userid/password@ORC
pls help me to sort out the problem.
Thanks & Regards.Hello,
You can use rwrun. Since 9.0.2 , it is no more possible to DISPLAY the output on the screen , but you can generate a file (HTML , PDF , RTF , ..) and then open the file generated.
EX: rwrun report=c:\temp\myrep.rdf destype=file desname=c:\temp\myrep.pdf desformat=pdf userid=scott/tiger@mydb P_1=param1_value ...
Regards -
How to run a report from oracle 10g form in .csv format
dear all,
how to run a report from oracle 10g form in .csv format? i've already run in pdf & excel format.
i'm using
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'PDF'); --for pdf
SET_REPORT_OBJECT_PROPERTY (ro_report_id, report_desformat, 'SPREADSHEET'); ---for excel
Please Help..i have already tried.
but the report show in htm or html format. that file will not save into csv. please help. -
Calling a Web Service in Oracle Report Developer 10g?
Hello,
Does Oracle Report Developer 10g supports Web Services (calls) or XML files as a Data Source?
If yes. From what version?
Thanks.ok, so you have at least 2 solutions:
1. you get the data into a loop through your Java array.
2. you use the EXEC_SQL package function to create a dynamic SQL cursor
Select ... from the_table where code in ('c1', ..., 'cn')Francois -
Use css file in oracle 10g report builder
hi every one
i am using oracle 10g report buidler. i want control paramform by usign css file.
any body have idea how can i use css file in oracle report builder 10g and how can i modify it's path and i how can i manage any css class on a perticular field.Thanks Billy.
Yes you are right.
Here why I discarded that option is,
I may get the source files with changing layouts.
My Actual scenario is as follows.
Initially we developped all the things using PL/SQL packages. Its working fine.
But as per the inputs we received from requirements group, the file structure changes dynamically. and we would able to consider those new columns also. We should be able to changes the rules dynamically.
Lets say, we doing fullouter join on Src_A and Src_B. on columns col1_A and col1_B.
Now the requirement changes in a way that, the join should be done on Src_A and Src_C. on columns col1_A and col_C.
For this I need to define a new package.
Instead of that, I would like to do everything dynamically based on configuration parameters given as input.
Thank you,
Regards,
Gowtham Sen -
Where to place the oracle 10g forms and reports folder in Linux server
Hi....
Currently iam migrating a module to oracle 10g.
All my modules which consists of form folders and report folders are inside a
folder called PROJECT and placed in C:\ in windows server.
So when i want to call a form or report i have used path as 'C:\PROJECT\module_name\form_name.fmx';
Now my client wants his project to be used in LINUX based server.
Now i want to know where i have to place my Project's form folder and reports folder
and how i have to call them...
thanx in advanceCan you say how can i call reports as u said hardcoding the path while calling report is not a good practice.I agree with Dhiraj Madan, hardcoding paths is a very bad idea, your application becomes non-portable.
For FORMS_PATH you can use default.env, as already said (or <your envfile>.env, if any).
The same can be done for REPORTS_PATH, by using reports.sh script, in $ORACLE_HOME/bin. -
Oracle 10g express edition can support forms 6i & reports
I have installed oracle 10g express edition and installed forms 6i. while connecting forms 6i into ora 10g express edition it is not connecting in windown xp platform.
It is showing only "dont send error". I want to know oracle 10g express edition can support forms & reports.
Please give me solution.
Thanks
Govindarajanthis is from metalink :(https://metalink.oracle.com/metalink/plsql/f?p=140:1:8190633972492825) for windows 2003
Application Tier Certifications
OS Product Server Status Addtl. Info. Components Other Issues
2003 6.0.8.26.0 Patch 17 9.2 Desupported Yes Yes N/A N/A
2003 6.0.8.26.0 Patch 17 10g Desupported Yes Yes N/A N/ASeems you are right, but if you filter only certified version result is NONE!
And anther link is prooving that:
https://metalink.oracle.com/metalink/plsql/f?p=200:27:8190633972492825::::p27_id,p27_show_header,p27_show_help:609971.992,1,1
Nice start to read is:
http://www.oracle.com/technology/products/forms/htdocs/FormsSOD.html -
Hi Friends,
I am using Oracle 10g AS(10.1.2.0.2)on IBM-AIX.
I would like to create a new Report Server(standalone).Please suggest and give the Metalink Document Number as well.
Regards,
ArunDoc ID: 459177.1
-
How To Execute an Oracle 10g SProc using VS 2005, for Reporting Services
Good day! :-)
Anybody who knows the syntax for executing an Oracle Stored Proc thru ODBC connection using VS 2005 for Reporting Services? I am having a problem about this.
I am using the ODBC connection because VS 2005 does not support Oracle Database 10g in its Oracle Database Connection feature (only 7.3, 8i, and 9i), that's y.
While using MS SQL Server 2000, I never encountered any problem. But using Oracle Database 10g, I find it hard to call the stored procedures, an error is generated everytime.
Please click the link below for the screenshots:
http://www.geocities.com/vrcode2/oraError.JPG
http://www.geocities.com/vrcode2/storedProc.JPG
Please help...thank you so much.
FrancisI'll give you updates about the use of the MS SQL Server Reporting Services with VS 2005 and Oracle, this might be helpful for those who will encounter this same ctuation in the future.
I have discovered that if you're going to connect thru ODBC, even if the connection is successful, the user is still prompted to input a password, which should not be the case when using the Reporting Services. Another thing to take note is the issue about REF CURSOR, we're going to have problems with this. And also the syntax on how you're going to call the stored procedures (with or without input parameters).
With modifications made through Oracle Net Manager, and I tried AGAIN connecting through "Oracle (client)" feature of VS 2005 (even if the list only include Oracle 7.3, 8i, and 9i that are supported) with some changes also, you'd still be able to generate correct data with that solution. If the configuration is correct, you just need to call the stored procedure (with or without input parameter), you won't have any problems about the correct syntax.
I suppose VS 2005 was released earlier than Oracle 10g, that's why 10g wasn't included If ever u'd encounter the same ctuation like mine, and u need the details on how to connect, do not hesitate to ask me. -
Hi All,
Morning , have an urgent requirement and need some guidance regards this.
we are currently having an existing Oracle 10g reports file (.rdf) lets say with name : Testing1.rdf .
The report output is getting generated in a pdf format . it opens up in a pdf format..
Now we want to embed an image file lets say : (logo.jpeg or logo.gif ) into the report output..at run time the image from the image file should show up in the report output.
Could someone please help as to how this could be achieved..and what approach we could follow for this...
with regards
Thanks as always !!Hi All,
Morning ...just a follow up question to this original post : embedding the image files at runtime into an Oracle Report..
We were able to achieve this by entering the folder location where the image files are place on the server in the REPORTS_PATH env variable in the report.sh file.
Then we update this filename like file1.jpg into a table and from there we fetch this in the Oracle Reports data model directly.
for The layout field we select the option as Image.
All this works fine..
Issue : The resolution of the embedded image in the generated report output is very low ...means the image appears there but it is not very clearly visible ..is there any way we could improve the IMAGE RESOLUTION in the report output....?????
With regards
Maybe you are looking for
-
Can't finish previewing. Could not complete the requested operation
So, I am working on a large and complex document in AI CC 2014, and periodically this message ("Can't finish previewing. Could not complete the requested operation") pops up and drops me into outline mode. I can work around it by hiding some parts of
-
SAP PI 7.0 configuration
i am trying to configure the SAP PI 7.0 in other client using Template based configuration. But by default its getting congigured in 001 client. how can we change the client in PI 7.0
-
Video is backwards in iChat and Photobooth
It was just brought to my attention that when using any built in iSight camera with iChat or photobooth the video is actually reversed....hold something with writing up to the camera and you will see everything backwards. Does anyone know how to reve
-
Itunes wont even come up!!!!
i just downloaded the new itunes 7 but i wont work every time i click on it it says, 'Quicktime Version 7.0d0 is installed, Itunes requires Quicktime version 7.1.3 or later plaease reinstall intunes' but i already did several times and i restarted my
-
SkinnableComponent does not react to state changes
(Flex 4.5) I'm finding that SkinnableTextBase will change its styles according to the CSS file when it changes state, but SkinnableComponent won't. Why? Here's what I do. I create a class which extends SkinnableTextBase like this: public function MyS