How to Open an Oracle Report From a JSF Page

Hi there,
I would be really grateful if anyone would find me a solution to the following scenario:
In my company, we have a project where we have to convert Oracle Forms and Reports to Java Web Application. The conversion of forms is being done thourgh JSF/ADF technology but how can i open an Oracle Report from a JSF page after supplying it with parameters ? Or i have to do some type of conversion before ?
Once again i would be thankfull for your replies.

Tapash,
Thanks for reponding.
Here is the URL I am currently using :
https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
The p_accesscode is the parameter I need to pass to the Oracle report.
Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
Thanks
Hilal

Similar Messages

  • Run a BIRT report from a JSF Pag

    Hello all,
    I want to run a BIRT report from a JSF Page.
    Anyone can explain me how to do, please?
    Thanks
    Sorry for my english, I'm improving it ;P

    Hello all,
    I want to run a BIRT report from a JSF Page.
    Anyone can explain me how to do, please?
    Thanks
    Sorry for my english, I'm improving it ;P

  • How to call a oracle report from APEX in a seprate window while pressing a

    Hi,
    I have a button named 'Run Report' on a APEX application page. When I press this button it open an oracle report in pdf format but in same window.
    Can someone help me to open this .pdf report in seprate window when I press this button.
    Please help me. It's very urgent.
    Thanks

    Hello user8681139,
    Not tried before but found the links on OTN. Hope that following links will help you in regards to your query:
    # Re: How to run Oracle Report in new window
    # Oracle Report in New window with submit
    Regards,
    Bhavin

  • How to call an Oracle Report from a Self Service HR page.

    Hi,
    I am trying to call an Oracle Report from a Self Service HR page. I personalized the page to add a button and link the report's URL to that button; but I am having issues passing/manipulating parameters to this report.
    Is there a better approach to do this, please post your suggestions. Also If you can direct me to some usefull documentation that will be great.
    Any help will be greatly appreciated.
    Regards
    Hilal

    Tapash,
    Thanks for reponding.
    Here is the URL I am currently using :
    https://gccss.glendale.edu:8001/dev60cgi/rwcgi60?server=rep60_crp3+userid=apps/pswd@crp3+report=/u07/oracle/crp3appl/gcccus/11.5.0/reports/US/GCC_ACCRUAL_BAL_0505.rdf+desformat=html+paramform=yes+destype=cache+p_accesscode=""
    The p_accesscode is the parameter I need to pass to the Oracle report.
    Currently, when I click the button, it invokes the above URL and takes me to the parameter form of the Oracle report and when I enter the Username, it runs the report and displays the desired output. But, what I need to achieve is, to pass the current user who has logged in behind the scene and to get rid of the parameter screen totally. Is this doable ? If yes, please help me !!!
    Thanks
    Hilal

  • How to open a java application from a web page?

    Friends
    I am in a situation to open a java application from a web page. I wrote a applet and placed a button on it. Onclicking of that button i con't open my java application. plz help me to open a userdefined application from web page.
    Ramesh
    e-Brahma technologies

    http://java.sun.com/products/javawebstart/index.jsp

  • How to call a struts action from a JSF page

    I am working on a small POC that has to do with struts-faces. I need to know how to call a struts ".do" action from a JSF page..
    Sameer Jaffer

    is it not possible to call a action from the faces submit button and/or the navigation?
    This a simple POC using struts-faces exmaples.
    Here is my struts-config and faces-config file.
    <struts-config>
    <data-sources/>
    <form-beans>
      <form-bean name="GetNameForm" type="demo.GetNameForm"/>
    </form-beans>
    <global-exceptions/>
    <global-forwards>
      <forward name="getName" path="/pages/inputname.jsp"/>
    </global-forwards>
    <action-mappings>
      <action name="GetNameForm" path="/greeting" scope="request" type="demo.GreetingAction">
       <forward name="sayhello" path="/pages/greeting.jsp"/>
      </action>
    </action-mappings>
    <controller>
        <set-property property="inputForward" value="true"/>
        <set-property property="processorClass"
                value="org.apache.struts.faces.application.FacesRequestProcessor"/>
    </controller>
    </struts-config>faces-config
    <faces-config>
    <managed-bean>
      <managed-bean-name>calculate</managed-bean-name>
      <managed-bean-class>com.jsftest.Calculate</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <managed-bean>
      <managed-bean-name>GetNameForm</managed-bean-name>
      <managed-bean-class>demo.GetNameForm</managed-bean-class>
      <managed-bean-scope>request</managed-bean-scope>
    </managed-bean>
    <navigation-rule>
      <from-view-id>/calculate.jsp</from-view-id>
      <navigation-case>
       <from-outcome>success</from-outcome>
       <to-view-id>/success.jsp</to-view-id>
      </navigation-case>
      <navigation-case>
       <from-outcome>failure</from-outcome>
       <to-view-id>/failure.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    <navigation-rule>
      <from-view-id>/inputNameJSF.jsp</from-view-id>
      <navigation-case>
       <to-view-id>/pages/greeting.jsp</to-view-id>
      </navigation-case>
    </navigation-rule>
    </faces-config>in my inputNameJSF.jsp (faces page)
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
    <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
    <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
    <%@ taglib prefix="s" uri="http://struts.apache.org/tags-faces" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Say Hello!!</title>
    </head>
    <body>
    Input Name
    <f:view>
         <h:form >
              <h:inputText value="#{GetNameForm.name}" id = "name" />
              <br>
              <h:commandButton id="submit"  action="/greeting.do" value="   Say Hello!   " />
         </h:form>
    </f:view>
    </body>
    </html>I want to be able to call the struts action invoking the Action method in the that returns the name
    package demo;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.struts.action.ActionForm;
    import org.apache.struts.action.ActionForward;
    import org.apache.struts.action.ActionMapping;
    public class GreetingAction extends org.apache.struts.action.Action {
        // Global Forwards
        public static final String GLOBAL_FORWARD_getName = "getName";
        // Local Forwards
        private static final String FORWARD_sayhello = "sayhello";
        public GreetingAction() {
        public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception {
            String name = ((demo.GetNameForm)form).getName();
            String greeting = "Hello, "+name+"!";
            request.setAttribute("greeting", greeting);
            return mapping.findForward(FORWARD_sayhello);
    }Edited by: sijaffer on Aug 11, 2009 12:03 PM

  • How to get the parsed HTML from a JSF Page

    Hi,
    I have an application that the user must fill in some data. Later on, it's shown a confirmation page with the user's information. I want to email that confirmation page to the company. The question is: How can I get the result html page as a string from that jsf confirmation page within the application.
    Any help is appreciated,
    Tiago Gaspar.

    I need the exat same page the user is viewing i.e. html filed with the information .

  • How to run a oracle report from alert

    Hi,
    I need to run a report (rdf + rtf ), input for this report are coming from an alert but it generating output in XML format only.
    If i run report seperately then it is giving me proper PDF output.
    Things that i have done till now ::
    1. Created a alert.
    2. In "Action" of that alert created a new action
    and in action details
    i. Action Type :: Concurrent Program
    ii. Application :: Custom ont
    iii. Argument :: input parameter name
    3. This thing giving me output in XML format.
    Second approach ::
    2. In "Action" of that alert created a new action
    and in action details
    i. Action Type :: SQL Statement Script
    ii. Application :: Custom ont
    iii. Argument :: input parameter name
    iv. Text ::
    Begin
    xml_layout :=
    fnd_request.add_layout ('XXONT',
    'XX_ONT_TEST_REPORT',
    'en',
    'US',
    'PDF'
    v_req_id :=
    fnd_request.submit_request ('XXONT',
    'XX_ONT_TEST_REPORT',
    NULL,
    FALSE,
    &1);
    End;
    In this case request is not getting submitted.
    what should i suppose to do now?
    ::::P.S. Report rdf is created by using report builder 6i.
    Thanks in advance.
    Regards,
    Abhi
    Edited by: user8854192 on Feb 17, 2011 3:43 AM

    Pl post details of OS, database and EBS versions. Pl see if MOS Doc 577852.1 (Layout Not Applied To Concurrent Requests Spawned By An Alert) can help.
    After executing FND_REQUEST.SUBMIT_REQUEST, you need to issue a COMMIT. See these
    Creating a PL/SQL Concurrent Program in Oracle Applications          (Doc ID 73492.1)
    fnd_request.submit_request Returning 0 Using pl/sql block          (Doc ID 812879.1)
    HTH
    Srini

  • How to Run Oracle Reports from the web.

    How can we run Oracle Reports from the web - for example from a portal such as "Gateway"
    This is a univeristy that implements Banner - so can we run them from within Banner?

    Yes, of course. And for running the reports-server you need an OAS. Maybe here is a good starting point http://www.oracle.com/technology/documentation/reports.html

  • How to call a report from a jsp page

    Hi
    1) Can anyone please tell me how can i view Discoverer report from a jsp page instead of opening it directly thru plus/viewer.
    2) Please clarify do i need to install Infrastructure and OID for it.
    Please advice.
    Thanks

    You need the AS infrastructure if you want to use connections. If you do not intend using connections, you do not require the infrastructure.
    Note that you cannot pass in passwords in the URL any longer. You do not need to pass passwords if you pass in a Discoverer connection id (but then again - if you don't use connections, then you do need to still pass in the connection information - username, password, database, language, EUL)
    I have a post on my blog that describes how to pass a password using an HTML Form submit - http://oraclebi.blogspot.com/2005/08/passing-password-to-viewer.html
    Thanks
    Abhinav
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • Open the WebI report from Xcelsius dashboard

    Hi All,
    I would like to know how to open the WebI report from the xcelsius dashboard.
    Looking at the previous posts I followed the following steps to implement the same but that is not working.
    Inserted the component URL button and used the folowing link:
    http://servername/OpenDocument/opendoc/openDocument.jsp?sType=wid&sIDType=XXX
    But this is givingerre: " Internet Explorer cannot display the webpage"
    Also, tried the copying the reprot link, but that is opening the Infoview login page.
    I want the report to opened when we click the URL button.
    Could someone please provide me a solution.
    Thanks in advance.
    Regards
    Sindhu

    did you try passing the iDocID parameter? When prompted did you try to login to InfoView and check whether Report gets displayed?
    Ideally the URL should be as below:
    [http://<server>:<port>/OpenDocument/opendoc/openDocument.jsp?iDocID=<cuid_of_the_document>]
    If you want to bypass the logon screen,you need to modify the OpenDocument.jsp to pass logon token to the above URL i.e.token=+token where the +token is being retrieved by sdk.

  • Calling oracle reports from java applications

    Hi:
    I was wondering if anyone can tell me how to invoke an oracle report from a java application.

    yes it is possible. There is a cgi script called viewreport.cgi. Have the jsp page call it (GET or POST method) and place the user parameters inside the form.

  • Running Oracle Reports from JDeveloper

    Do you know how to run an oracle report from JDeveloper?

    Do you mean invoking a report at runtime, or do you mean designing a report inside JDeveloper?
    Did you try asking on the Reports Forum:
    http://forums.oracle.com/forums/category.jspa?categoryID=19

  • Oracle Reports from PHP

    PHP application needs to run an oracle report. iAS server, is online, so we have a reports server. Can you tell me "how to" run the oracle report from php?

    You can call the URL on IAS using fopen() function for example.
    http://www.php.net/manual/en/function.fopen.php

  • How do I call a 10g report from a jsp page securly?

    How can I call a report from a jsp page securly? We are migrating from 10g forms to J2EE, and we want to keep using our reports. In forms we were able to do this using a cookie. How can I pass a users credentials to reports without the user having to connect to the database? Single Sign-on isn't an option either.
    Thanks,
    Jim

    Hi Jim,
    If you want to pass the user credentials to the report dynamically, then SSO (Single Sign-On) is the only option I can think of.
    If the user credentials can be hard-coded, then the following 2 solutions are possible:
    1. Use cgicmd.dat file, and write the user credentials in the file.
    2. In your report JSP itself, you could write the following:
    <rw:report id="report" parameters="userid=scott/tiger@mydb">
    Navneet.

Maybe you are looking for

  • Interest calculation for vendors

    Hello gurus,                  In interest calculation for vendors, In interest on arrears calculation(vendors) t-code (obv9) Here wht we have to configure the steps, like Infirst step i had given,, Account symbol             Currency                

  • Problems downloading Itunes 7.5 or to my emac 10.3.4

    Hi there. Every time I attempt to download itunes 7.5, which I have to do in order to be able to purchase music, the download gets stuck halfway, and doesn't show any signs of moving on, even after more than an hour. Would be really grateful for any

  • Need a rolling count of rows from table using just SQL

    Oracle 11gR2 RHEL 6.4 Given the following table data: EMPLOYEE     HIRE_DATE     TERM_DATE     DEPT John Doe          01/01/13                                   101 Jane Smith       01/05/13                                   102 Bob Jones        02/0

  • When opening a pdf file it views as garbled letters.  Can you help?

    Having trouble.  I recieved an email with an attached pdf file and when I try to open it, it appears all garbled.  I have tried opening it on my ipad and it appears fine there.  On my desktop, not so well.  Can you help?  I have upgraded to the most

  • Recursive Query or Function

    Hi , I need help very urgently. i have a parent child relation like this parent child 0 133 133 134 133 135 134 140 135 146 146 150 150 155 155 160 i pass the parent ie 133 to an algo and i want its deepest child ie 160. pls reply with the algorithm