Oracle Apex as a reporting tool.

Hello all,
i just installed APEX. I can build reports etc using schemas in the oracle instance that i installed Apex in. How about connecting to other Oracle databases which have my key data ?
Can i use this instance to connect to any other like Business Objects or other reporting tools ?
Or, do I have to use db links ? Dblinks is a non option, so hopefully there is a simple way.
Please share links etc, as relevant.

Hello,
APEX (formerly known as HTML DB) is a framework integrated into the Oracle Database, so you are of course bound to the restrictions that apply to the database.
What you can do, in addition to database links, is to create web services that provide you with the data of other database instances. Both APEX and database releases make using web services easier with every new release.
If you have a 11g database, your database could provide a Web Service "natively". See the corresponding part of the XML DB documentation:
http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28369/xdb_web_services.htm#CHDDBCHB
Of course you may use other out-of-the-box frameworks to create a web service based on a jdbc-connection and hosted by some app server.
The following tutorial shows you how you can incorporate Web Services in APEX:
http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/web_serv.htm#CHDJEFEB
Perhaps this helps you focussing on one APEX instance to collect data from different databases.
-Udo

Similar Messages

  • Oracle APEX PL/SQL reports

    Hello
    I was wondering if someone can help me with the syntax error, or if someone can give an example how to implement dynamic query based on a select list item.
    Last night I was looking how to implement simple PL/SQL report using Oracle Apex source region, but every time I try to run the page I'm getting an error "Flow=128 page=10 ORA-20001: wwv_flow_flash_chart.func_ret_sql_qry_err"
    IF I put the same query into SQL developer and replace :P10_STATUS into string 'open', query returns correct results.
    It works fine for single table, but not for inner joint.
    Any help would be appreciated.
    ======================================================
    declare
    v_return varchar2(3000);
    begin
    IF :P10_STATUS is not null THEN
    v_return := 'select p.priority, p.status, i.departments
    from help_details p, help_department i
    where status = :P10_STATUS';
    END IF;
    return v_return;
    END;
    =========================================================

    Hi ATD,
    Thanks for the suggestions.
    Now i have replaced the code as
    Declare
    v_return varchar2(3000);
    begin
         :P1_ITEM1:=:P1_DEPTLOV;
    IF :P1_DEPTLOV IS NOT NULL
    THEN
    v_return:='select dname,deptno from dept ';
    return v_return;
    ELSE
    V_RETURN:='SELECT ename,deptno FROM EMP ';
    return v_return;
    END IF;
    plsql reportEdit      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data found
    DEPTNO     Ename
    and in case i change
    select dname from dept ; for select dname ,deptno from dept ;
    then i m able to see only the col deptno , but in query i never used dept...
    I am unable to get where is the mistake ..
    Kindly to a favour by using the above link & checking the application .
    Regards,
    Nandini Thakur.
    Edited by: Nandini thakur on Nov 25, 2010 3:59 AM

  • Can Apex be a "reporting tool"?

    I use it and think. But there is a discussion, Formatting Printable reports with Apex (pdf, xls,...)
    Please put in your input.
    Thanks

    Yes, Apex can you used for reporting. If you have large volumes of data to query and response time is important, you'll want to manually create your reports to ensure the queries are efficient. Ideally you'll install Apex in the same database, but you can install it in a separate DB and point to your 9i data source via DB links. DB links don't support some datatypes (LOBs etc) so be sure to understand what data you are going to want to query first. Using DB links can only slow your response time - but be sure to measure it before just eliminating them. I mostly use 1 Apex installation and connect to remote DB's over DB links. Apex likes to have table/view definitions locally when you're developing, so you either create locat tables and then replace with DB links once it's working - or create local views with embedded DB links. It's no majic black box - standard Oracle coding considerations apply.

  • Oracle Apex with BIRT reports

    I have developed a report in eclipse birt and trying to intergrate with apex,
    javascript:popUp2('http://localhost:8080/BHH/frameset?__report=3_CI_Printing.rptdesign&cino=&p5_interimno.&__format=pdf');
    cino being the parameter name, p5_interimno is the page item which has the value in the apex form. Everything seems to be fine except the report prompts me to enter the value in the parameter box again, is there any way I can suppress the report from prompting me to enter the parameter.
    Thx

    Hello Eric,
    >
    eric_in wrote:
    I have developed a report in eclipse birt and trying to intergrate with apex,
    javascript:popUp2('http://localhost:8080/BHH/frameset?__report=3_CI_Printing.rptdesign&cino=&p5_interimno.&__format=pdf');
    cino being the parameter name, p5_interimno is the page item which has the value in the apex form. Everything seems to be fine except the report prompts me to enter the value in the parameter box again, is there any way I can suppress the report from prompting me to enter the parameter.
    >
    How do you call popUp2() function?
    Why don't you wrap it up in another javascript function and call it inside it?
    function printPDF() {
       var vinterimno = $v('P5_INTERIMNO');
       popUp2('http://localhost:8080/BHH/frameset?__report=3_CI_Printing.rptdesign&cino='+ vinterimno +'&__format=pdf');
    }Hope it helps!
    Regards,
    Kiran

  • Oracle Apex forms and reports

    hi i am created one region and in that region one button named 'show' is there. when ever i click on the button it displays table and automatically the button changed to 'hide' whenever i click on the hide button it displaya empty region with show button . can you please tell me the way

    You don't really MIGRATE TO APEX, it's more of a re-development process.. Your existing PL/SQL code can be re-used where viable, but in Forms & Reports you have a state environment versus a stateless environment with APEX..
    APEX also has that similar middleware (APEX Listener with WebLogic or Glassfish).. So you have to understand that you will need to think about what you REALLY want from a move to APEX..
    Do Forms & Reports work for you still, then you MIGHT want to stay there with them.. Otherwise, moving to APEX would be a Long-Term choice..  Since the future of Forms & Reports is not too bright..
    Thank you,
    Tony Miller
    LuvMuffin Software

  • Integrating Oracle BPM UI with Oracle BI Publisher as reporting tool.

              We are using WebCenter Content 11.1.1.6.0 (Ps5) version with Oracle BPM for the workflows.
    Is it possible to integrate Oracle BI Publisher to print reports from Oracle BPM User Interface (UI) ?    Basically user should be able to generate a *.pdf file with approved data after the final approval.
    What are the Tables that stores Oracle BPM field Values?
    Thanks ..

    Hi,
    Let me share the basic steps. You can always dump the view data into an XML file by using writeXML method.
    e.g.
    You need to place BIP jars into BPM domain_home/lib dir.
    MASTER_QUERY="select * from employees where employee_id=:0";
    ViewObject master = createViewObjectFromQueryStmt(null, MASTER_QUERY);
    master.setWhereClauseParam(0, employee_id);
    Row firstRow = master.first();
    Node data = master.writeXML(-1, XMLInterface.XML_OPT_ALL_ROWS);
    then you can call the following method to generate pdf based on your template.
      resource = "C:\\app\\stage\\templates\\YourBIPTemplate.rtf";
        private File generatePDF(Node data, String resource) {
            File ApplicationDataFile = null;
            File tmpTemplateFile = null;
            File pdf = null;
            OutputStream output = null;
            InputStream is =
                Thread.currentThread().getContextClassLoader().getResourceAsStream(resource);
            try {
                Date date = Calendar.getInstance().getTime();
                SimpleDateFormat sdf = new SimpleDateFormat("MMddHHmm");
                int uid =
                    (new oracle.jbo.server.SequenceImpl("DDOCNAME_SEQ", this.getDBTransaction())).getSequenceNumber().intValue();
                pdf =
    new File(tmpDir + File.separator  + docType + uid + ".pdf");
                pdf.createNewFile();
                output = new FileOutputStream(pdf);
                output = new BufferedOutputStream(output);
                ApplicationDataFile =
                        new File("C:\\Temp\\ApplicationData"  +
                                 ".xml");
                try {
                    Writer sWriter =
                        new BufferedWriter(new OutputStreamWriter(new FileOutputStream(ApplicationDataFile),
                                                                  "UTF-8"));
                    ((XMLNode)data).print(sWriter);
                } catch (Exception e) {
                    e.printStackTrace();
                byte[] sXML = null;
                StringBuffer buffer = new StringBuffer();
                FileInputStream fis = new FileInputStream(ApplicationDataFile);
                InputStreamReader isr = new InputStreamReader(fis, "UTF8");
                Reader in = new BufferedReader(isr);
                int ch;
                while ((ch = in.read()) > -1) {
                    buffer.append((char)ch);
                in.close();
                sXML = buffer.toString().getBytes("UTF-8");
                InputStream rtfInputStream = new FileInputStream(resource);
                RTFProcessor rtfProcessor = new RTFProcessor(rtfInputStream);
                tmpTemplateFile =
                        File.createTempFile("ApplicationTemplate", ".tmp");
                rtfProcessor.setOutput(tmpTemplateFile.getAbsolutePath());
                System.out.println("Temp file is created: " +
                                   tmpTemplateFile.getAbsolutePath().toString());
                rtfProcessor.process();
                FOProcessor processor = new FOProcessor();
                processor.setData(new java.io.ByteArrayInputStream(sXML));
                processor.setTemplate(tmpTemplateFile.getAbsolutePath());
                processor.setOutput(output);
                processor.setOutputFormat(FOProcessor.FORMAT_PDF);
                processor.generate();
            } catch (Exception e) {
                e.printStackTrace();
            } finally {
                System.out.println("Finished generating application PDF");
            return pdf;

  • Create PDF from PL/SQL-Interface XML FOP / Oracle BI / Oracle APEX packages

    Hi All,
    I think this is perhaps the most often asked question. And people suggest using PL-FPDF or PL PDF. There is a constraint, I can't use PL PDF because of monetary reasons.
    I wish I could use some method to output PDF from the PL/SQL. I already have a document (word document stored as CLOB). Now, I need to output this file as PDF. I know doing this outside database is easy and advisable, but this what I have been asked to do.
    Is there any method of implementation, using either XML - FOP or Oracle BI publisher or Oracle APEX tools (and not Oracle APEX itself, I know how to do this if the application is built, run using Oracle APEX, but this is plain Oracle HTP).
    Database: Oracle 9.2 running in Windows server.
    Thanks in advance.
    Guru
    Edited by: guru paran on Oct 22, 2009 12:55 PM
    Added tags

    Apologies for that.
    I am looking into ways to use Apex. Like calling the FOP in Oracle OC4J server and generating PDF from it. As I told already, we have this application built on Oracle HTP, we can't move to Oracle Apex now. I can install Oracle APEX and use the tools it offers. No problem in that.
    PL-FPDF is free, but I can see this doesn't help much. What I have is CLOB, not data from table. :(
    I am just looking into different ways one can do this.

  • I need  Web based Dynamic Reporting tools

    Hi,
    I need a Web based Dynamic Reporting tool.
    I have to user oracle products and this reporting tools must support OLAP and Data Warehousing.
    thanks,

    Hi Shima,
    Let me quote from Oracle Reports website:
    "Oracle Reports is Oracle's award-winning, high-fidelity enterprise reporting tool. It enables businesses to give immediate access to information to all levels within and outside of the organization in an unrivaled scalable and secure environment. Oracle Reports consists of Oracle Reports Developer (a component of the Oracle Developer Suite) and OracleAS Reports Services (a component of the Oracle Application Server)."
    Since you need a web-based reporting tool, this is what is available with Oracle Reports:- you cannot design reports on the web, but you can use Oracle Reports Developer to design high quality reports that are suitable for viewing on the web.
    Oracle Reports support OLAP as a data source.
    From your requirements, it seems that it might be worthwhile for you to check out Oracle Discoverer which is again a powerful reporting and analysis tool. Oracle Discoverer is more suitable for ad-hoc reporting and web-based analysis of data by the end-users:
    http://www.oracle.com/technology/products/discoverer/index.html
    Navneet.

  • Regarding: Oracle Reporting tool

    hi all
    is there any reporting tool in oracle for designing reports for my application. I have already tried reports with crystal report but it is too slow.
    Thanks
    Regards
    S

    Hi,
    There are installation documents included in the APEX download itself, I really advise reading those documents since they cover everything you need to know about how to install it.
    Also, there is a huge amount of information here -
    http://www.oracle.com/technology/products/database/application_express/index.html
    including many HOWTO's, examples, whitepapers, documentation and guides that will give you information about what APEX is, how you to use it and what you can do with it.
    Note, since you're looking for a Reporting tool, APEX might not be exactly what you need, however you can easily build reports using APEX, so as I said earlier it really depends on you actual requirements.

  • Apex Reports - Comparison to other products Company Reporting tools...

    Hey Apex users.
    Quick Question.
    I'd like to do a quick comparison on the report tools and reporting environments that are out there and available to the public.
    When picking a reporting tool, to do Reports for users and to have users build reports inside that selected tool.
    Which tool would you use?
    Does anyone know of or have any comparison white pages showing the differences between,
    XML Publisher, Business Objects (Crystal Reports), Actuate reporting, Cognos Reporting, Oracle Apex reporting?
    These are just a few of the major reporting products available.
    Their might be even more reporting tools not listed here.
    I know that everything I've listed here, are all different tools provided by different companies. But I'd like to here some of your feedback, on your experience when working these different technologies.
    Let me know thanks.

    Hey Ben
    I did miss that tool I'll have to read up on that one. It looks quite interesting.
    I'm all about empowering or encouraging users to build their own reports. I don't want to recommend or implement a solution that always requires an IT go to person for the report. With which ever tool is selected, I don't want to see the need for an IT person or an IT dept to be report developers and report publishers. I will admit that you need to have a sql expert on that system that your reporting from, in case the end report developer has a technical question.
    But my goal is to see the client develop their own reports.
    I'm planning on recommending and implementing a solution that permits the power users/clients to develop their own reports.
    I hoping that the solution will not be to IT labor intensive to implement.
    The end client should be able administrate the website or portal etc and administrate all the access to the reports and the access to the different systems the tool is connected too. etc.
    Thanks Ben for the feedback.

  • Oracle reporting tools

    Hi all,
    What are the best oracle reporting tools except reports builder.
    Please suggest

    carmac wrote:
    Hi all,
    What are the best oracle reporting tools except reports builder.
    Please suggest
    The best tool depends on what you want. Any tool that uses SQL and provides a method for output can be used for reporting.
    SQL*PLUS provides effective if simplistic reporting capabilities including writing to files and very basic formatting.  Printing is a bit trickier as an OS interface must be implemented.
    GUI tools like SQL*Developer and TOAD also provide output.  Getting them to schedule jobs if needed will probably be hard since they are "ad hoc" tools.
    Apex provides reporting capabilities including graphs and is easy to use if you're willing to work with the capabilities built into it.  It can also be customized with a bit of effort.
    Other tools exist.  OBIEE is popular.  These other tools may require extra licenses.

  • Ora-06502 pl/sql numeric or value error in Report Query in oracle apex

    Hello all,
    I need your help...
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I am using bi publisher to generate PDF reports in oracle apex.
    We were using APEX 4.0 and migrated to 4.2 just a week ago.
    Now we have apex 4.2.
    When I try to Create report query,
    Shared Components >> Report Queries then create.
    and test a report in a create wizard I am getting a error "ORA-06502: PL/SQL: numeric or value error: character string buffer too small".
    I have also applied a patch "16760897".
    This issue is because of number of columns in a query is more then 26.
    If I run a report with 26 or less number of columns then the is working fine, otherwise getting this error.
    My before migration report queries working perfectly even now, but not new queries.
    This issue is also in apex.oracle.com.
    You can see
    Not working  - http://apex.oracle.com/pls/apex/f?p=619:4
    Working - http://apex.oracle.com/pls/apex/f?p=619:2:
    Please give a solution.
    Thanks you.

    check the DB version compatibility with apex 4 or your DB version to apex 4.0 support for upgrade!
    Oracle Application Express Installation Requirements for 4.0

  • How to pass a value to a bind variable in a query report in oracle apex

    Hi Guys,
    I have requirement to send weekly reports via email to some users. The users should receive their own records in the report. The user details is stored in a table. What I am planning to do is to create a report query in oracle apex to generate the report and then run a function/procedure via a scheduler to email the report to respective users. Now my query is ............. is it possible to pass a value (user name) to the report query to pull records of only that user? I know we can have bind variables in the report query but I have no idea how to pass a value for bind variables from a function/procedure.
    Can anyone help me on this issue or suggest a better approach?
    Thanks,
    San

    You need to use dynamic sql
    But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
    This forum is specifically for SQL Server
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Report in pdf format in oracle apex

    how can i save the contents of a form as a report in pdf format by clicking on tha print button in oracle apex???
    plz help if anyone knows tha solution
    Edited by: user9139675 on Mar 9, 2010 11:14 PM

    how can i save the contents of a form as a report in pdf format by clicking on tha print button in oracle apex???You may create a report and call it in an Apex process fired by press a button.
    in the process:
    l_utl_http := utl_http.request(l_url);
    where set l_url like:
    http://167.165.243.209/dev60cgi/rwcgi60?repdevi_key&server=Rep60&report=my_rpt.rdf&DESFORMAT=PDF&DESTYPE=FILE&DESNAME=/arch/chrisweb/devi/cache/my_rpt.PDF&BACKGROUND=YES&P_1=PC00980
    The generated pdf report my_rpt.PDF is kept at /arch/chrisweb/devi/cache/

  • Using AE(htmldb 2.0)  as for reporting tool for other oracle databases.

    Maybe I was mistaken, but when I first saw the HTMLDB demo's I saw this as a slick way to build a browser based reporting tool for the masses for quasi-ad-hoc reporting on some of our larger databases that currently have limited reporting capability, and also as a possible replacement for the many MSAccess applets we have.
    I just got 2.0 installed and working on a 9i database and went through the basic tutorials, but I can't find much info on how to connect to other oracle databases.
    Are my options as follows?:
    create dblinks from the local database that houses htmldb to all the other databases?
    or
    install htmldb schemas on each database I want to access from htmldb?
    or
    I'll keep looking, but if any of you have any pointers or know of a tutorial that explains the best way to do this it would be greatly appreciated!
    tia

    As for question 1, yep, that's what I mean. Example:
    In a schema in the App Express instance, create a user called "APP1_USER", and then
    create view app1_user.people as select * from people@link_user@remotedb
    As for the next question, using the built-in insert/update/delete processes will give you
    ORA-01461: can bind a LONG value only for insert into a LONG column
    among other errors. Apparently version 2.1 will fix this. See Cannot Update VARCHAR column in Remote DB
    We address this problem by creating pl/sql APIs for DML, and then writing our own insert/update processes. Slows us down a little, but even with that, App Express remains a productive choice for us.
    Another weird problem: auto-row fetch (built-in to HTML DB) doesn't work over db links when you have two columns for a primary key. Many ways around this, e.g. create sequence-populated primary key, create a view with single column that concatenates primary key column values (key1|key2)
    Hope this helps!
    -John

Maybe you are looking for

  • CSS/jQuery Framwork: the best of both worlds..

    Well, today I decided to play with creating a CSS framework using JQuery in an effort to avoid, from the beginning, having to compensate for any of the various bugs in IE that happen when using either Absolute or floats in positioning. As I am workin

  • How about some Windows Cyan for October?

    We all know Verizon's network is awesome!  AT&T seems to be beating you to the critical gotta-have updates for flagship devices, though!  We know you love us Windows phone users, how about just an official word from someone at Verizon that you won't

  • CS5 unable to open fla files in AS2

    Help! I was working on some as2 projects using CS5 and suddenly Flash Pro cs5 hanged. i restarted my comp and now it doesn't open my previous fla files. I tried it on another computer and it works perfectly so the fla is not corrupted. I uninstalled

  • MSI x58 platinum Problems???

    To start off, I am a newb. I have... msi x58 platinum MB I7 920 Corsair 6gb ddr3 1333 CoolerMaster Cosmos case Asetek liquid cpu cooler 800w PSU ati 4850 GPU Vista x64 I have read alot of the overclocking threads for this board. Kinda seems like I ch

  • Error during UD

    Hi 2 all, Following error comes while doing UD in qa32 : 'Account Determination for entry ICI ZA4 4000 - 3050 not possible' Any idea that what is this meant?? Valuation class in material master is 3050 and plant is 4000. Please respond. Regards. Aish