Saving a report to a file on a client PC? - oracle

I would be grateful for a quick sanity check!
When calling Oracle Reports 10g from Oracle Forms 10g, is it possible to run an Oracle Report and save it on the users PC to a specified directory? (I know that if an Oracle Report is run in such a format as PDF the user can save the report to x location). To call the Oracle report I am using the Oracle Forms built-in "Run_Report_Object".
I don't think it is (but would be happy to revise my opinion!) and to obtain such functionality I would have to implement something similar to what is discussed in this thread

I have amended my question to include the fact that I am using the Oracle Forms built-in "Run Report Object" to call Oracle Reports.
There is a Oracle Report parameter: DESTYPE which can accept a value called LOCALFILE which saves the output to the client machine using the file name specified by DESNAME, however as I'm using "Run_Report_Object" it is not possible to use the value LOCALFILE.
One solution is to follow the steps given here.
Sources: Oracle Reports 10g Help (look for DESTYPE),
OTN thread

Related

Crystal Reports integration with Hadoop/Hive/HPLSQL

We are migrating data from Oracle to Hadoop and there is a requirement
to continue use the existing reporting tool(Crystal Report) to generate reports from Hadoop (instead of Oracle)
In the current scenario we are using an Oracle Stored PROC to do few aggregations /logic.
Now with the above requirement and migrated data, The Options that we considered are
Use HPLSQL (instead of Oracle PLSQL) and call it from Crystal Reports.However it appears that there are challenges with this approach because unlike Oracle Stored Procs,
HPLSQL Stored Procs are not registered in the DB catalouge and hence Crystal reports may be unable to find / access those HPLSQL STored PROCS.
Create the custom aggregation /logic in java and expose it as a webservice which can be invoked /consumed from Crystal Reports
The help/guidance needed here is to find out whether
a) Did someone successfully called HPLSQL Stored Procs form an external tool/ reports like Crystal over ODBC/JDBC. If yes, can you share the details?
b) Is there a better option other than the above mentioned two options to achieve the requirement?
c) Are there any challenges in using webservices to fetch data and run reports
Thanks in advance and any help is really appreciated.

sqlldr on oracle 10g

I have an assignment in a class which requires the transfering of data from tables in one schema to another using the sqlldr tool. I have set up my control files, and text files(.csv files if you prefer) in order to transfer the data using sqlldr. Now I am using ORACLE 10g Enterprise Edition Release 10.2.0.1.0. I am all ready to go but when I type in the sqlldr command, or event just "sqlldr" I get the unknown command message. Am i just completely off or does this mean this utility isnt available on this version? I have the ingredients needed to make it happen but I cant figure out why I cant get sqlldr to run. Perhaps someone can point me in the right direction. Below is the specific syntax we were given in class.
sqlldr username/password control=loadsals.ctl
The user you are logged in under does not have access to SQLLDR. You will need to elevate your access via sudo or use another login that does have access.

Oracle: Aging - 7 Buckets - By Account Report Definition (ARXAGS)

Is it possible to get the code file behind a standard Oracle report from a resource other than my IT department?
I only have minimal read-only permissions on our server, and the IT folks here are not willing to share this information with me.
I am trying to write a query similar to the standard report: Aging - 7 Buckets - By Account Report and would like to see the tables/logic that are behind it to point me in the right direction.
Is this data available anywhere? We are on version 11.5.10.2
You should be able to easily extract the underlying SQL logic for this very report by simply viewing the concurrent request log file. The log file includes the executed SQL and lexical parameters. I used this approach to migrate this very seeded report to another custom Oracle BI solution.

What is the Reporting tool that I will use in APEX?

I'm going to develop a new system using Oracle APEX.
I used to use Oracle Reports Builder to develop reports in Oracle Forms.
What Reporting tool should I use in APEX?
I need something with Oracle Reports features such as Conditional Formatting, PL/SQL support, etc?
Thanks and Regrads
You can use Oracle Reports with Apex - see this rather old how-to doc. Essentially, if you have Reports set up to run via the web then you can run a report via a URL like this:
http://myserver:7777/reports/rwservlet?report=myreport.jsp&userid=myuser/mypassword#mydb&desformat=pdf&destype=cache&p_empno=1234
So it is then just a matter of constructing this URL in Apex and using it. You can avoid passing the password as a parameter by using single sign-on for Apex and Reports.
See Quick Start Guide to Oracle Reports Server 9.0.4 for further details.
The recommended approach I think is to use BI Publisher, but that is expensive to license. There may be cheaper third-party alternatives to BI Publisher that can be used, but I don't know them.
I think there are a number of people in the Apex community waiting for a nice solution to this requirement!
You have that in APEX forms with PL/SQL. But you have to be more specific or you can try in http://apex.oracle.com/i/index.html creating a workspace and see what can be done with APEX.

Query/Where dialog in Oracle Forms 10g

In Oracle Forms 6i, you could enter query mode in your form, and type & or :A in a field, and when you executed the query, a Query/Where dialog box would open, allowing you to enter more complex query or sorting criteria than just entering data in the fields allows.
This doesn't seem to work in Forms 10g: I get a "FRM-40367: Invalid Criteria in field XX in example record" error.
Is there some way to do this in Oracle Forms 10g? We're running web-based, not client-server, if that matters.
I came across the answer after I posted this question here. In 10g forms, this functionality is disabled by default, but can be enabled by setting
FORMS_RESTRICT_ENTER_QUERY=FALSE
in the default.env file. We have now enabled this in our test environment, and it is working as expected.
This functionality used to be in Oracle eBusiness Suite, but possibly was removed I think due to SQL Injection vulnerabilities. Not sure if there is a way to switch it back on - worth a look on http://metalink.oracle.com.
Regards,
Gareth

Resources