Run Oracle reports from the FORM builder

Hello All,
We have Oracle Form base application running on the window OS.
(Form version is 9.0.4.1.0)
Our Database is installed on Linux box (DB version: 10.1.0.3.0)
I need to run different Oracle reports from the form based application or from the form builder. (Report Builder 9.0.4.1.0)
Any feed back will be appreciated.
Regards,
D

try this
Run_product(REPORTS,' <path to the report>', ASYNCHRONOUS, RUNTIME, FILESYSTEM,' ',NULL);
in some event ( whichever event you want your report to show up)

Similar Messages

  • 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 run the 9I report from the forms menue 9i

    how to run the 9I report from the forms menue 9i.
    Shehzad Latif

    Hi,
    1. create a Reports Object node in Forms. If you use teh same object node name then you can write generic code that works in all Forms
    2. Get the whitepaper about Forms/reports integrtion
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    Frank

  • I need a code to run a report from a forms on 10G...

    Hi!! I´m migrating from 6i to 10G and i cant run a report... can someone send me a sample code to run a report from a form in 10G??
    Thanks!!
    Regards!

    iam using Javabean in oracle 10g forms to tun the report....
    First create a block with a name control and add an bean to it with a name
    userid_bean.click the proerty of the bean and changes its width and height
    so that u cannot see it when u run the particular form.
    now use the below code where u are coding to run the report.
    Declare
    rep_url varchar2(2000);
    begin
    rep_url := '/reports/rwservlet?report=filepath\rep1.RDF' ||
    '&desformat=htmlcss&destype=cache&userid=sample/sample@oracle' || '&paramform=yes';
    -- Write Log messages to the Forms JInitiator console.The Next line must
    -- be disabled before running this code in any production environment.
    set_custom_property('control.userid_bean',1,'ADD_USERID',
    get_application_property(username)||'/'||
              get_application_property(password)||'@'||
              get_application_property(connect_string));
    -- writing the cookie
    set_custom_property('control.userid_bean',1,'WRITE_USERID_COOKIE','10g');
    web.show_document(rep_url,'_blank');
    end;

  • Run a Report from a Forms Menu

    I have a brain teaser,
    I am trying to run a report from a forms menu item. Here
    is my menu item code:
    RUN_PRODUCT(REPORTS,
    'C:\Documents and Settings\Bradley\My Documents\A_THESIS\Reports\AUCTION_EVENT_REPORT',SYNCHRONOUS,RUNTIME,FILESYSTEM,'',NULL);
    When I call on the menu item it works for a while and then a Reports Background Engine error message says:
    REP-0110: Unable to open file 'C:\Documents and Settings\Bradley\My Documents\A_THESIS\Reports\AUCTION_EVENT_REPORT'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file
    Any ideas?
    Any help appreciated,
    Bradley

    Frank,
    I tried it at C:\AUCTION_EVENT_RPT with the same result.
    Do you ever run Reports from a form? If so how do you do it?
    Bradley

  • I want to run a report from the desktop

    I want to run a report from the desktop using RWRUN60
    What all has to be installed on it to make it work
    I have 10g client on mine and it works but I can't install that on all the clients
    Is there a little install package for this?
    Thanks

    RWRUN60 is a part of "Oracle From6i Developer Suit". If you want to run report on desktop client than you have to install "Form6i Developer Suit" on every client where report is needed.
    I was facing the same issue and it was a difficult job to install "Form6i Developer Suit" on each client. So, I done the followings.
    1. Configured Oracle Application Express
    2. Created Required Application in Oracle Application Express
    3. Installed "Oracle 10g Developer Suit" and configured "PDF Report Services"
    4. Now, each user is running the application through URL and I have saved my time of installations.

  • Executing the report from the form

    I am getting the following error while executing a report from the form, and the destination format is excel
    RWRBE60.exe - Application Error
    The exception unknown software exception (0xc00000fd) occurred in the application at location 0x64aa591a.
    Click on OK to terminate the program
    Click on CANCEL to debug the program
    OK Cancel

    im having same problem when i use long report file names. like when i use report name my_very_long_long_report_name.rep this problem occurs..
    i reduced this to my_short_report_name.rep it never occurs, it happend in lot of reports.
    Regards

  • 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

  • Displaying report in .pdf format while Running oracle reports over the web

    I am running a report over the web via IE. I am suing .pdf
    format as the file type. The problem I am facing is that the
    report comes out with a blank in acrobat reader if there are
    just one or two records - i.e less thatn one pagefull. THe
    reports displays output only when there ar more than one
    pagefull of records.
    Any explanation for this bezarre behavior and any suggestions?
    I will very much appreciate your help.
    Regards
    Prasad.

    in R12 I found 2 choice
    1) when submitting requests (if available) you can set the output format by using the Options button (upon sompletion section):
    layout --> format --> select format you need (RTF/HTML/EXCEL/PDF)
    2) in the request form (view->request) selecr the report you want to reprint in the Tools menu select print/republish, in the html page that pop up select output format you want, number of copies =1 submit
    www2p

  • Problem in running oracle report from form 10g Version 10.1.2.0.2

    Hi All,
    I am facing problem while running the report from forms 10g getting FRM-41219
    For this i am using the following procedure :
    PROCEDURE RUN_REPORT IS
    L_RUN_TEXT VARCHAR2 (2000);
    L_USRID VARCHAR2 (100);
    L_PASSWD VARCHAR2 (100);
    L_DESNAME VARCHAR2 (100);
    FILE_OUT_PUT VARCHAR2(200);
    REP_STATUS VARCHAR2(20);
    REP_NAME VARCHAR2(50);
    PL_ID PARAMLIST;
    REP_URL VARCHAR2(2000);
    V_REP VARCHAR2(200);
    BEGIN
    display_me('RUN_REPORT');
    -- CALL THE FOLLOWING FUNCTION, IN WHICH USER CAN WRITE HIS OWN CODE.
    -- THE PROCEDURE CAN BE MADE LOCAL TO THE SPECIFIC FORM AND WRITE THE CODE.
    -- IT SHOULD RETURN 'Y', IF YOU WANT TO PROCEED WITH THIS RUN_REPORT
    -- PROCEDURE.
    IF NVL (RUN_REPORT1, 'Y') = 'N' THEN
    RETURN;
    END IF;
    COMMIT_FORM;
    IF (GET_APPLICATION_PROPERTY (OPERATING_SYSTEM)) = 'UNIX' THEN
    L_DESNAME := 'LP';
    ELSE
    L_DESNAME := NAME_IN ('REPORT_TITLE.F_FILE_NAME');
    display_me(L_DESNAME);
    END IF ;
    /* SETTING THE REPORT OBJECT PROPERTIES */
    /* G_PRAM1 IS THE NAME OF REPORT ****/
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_SERVER,'172.18.76.34');
    SET_REPORT_OBJECT_PROPERTY('REPOBJ',REPORT_FILENAME,:GLOBAL.G_PARAM1||'.REP');
    display_me(':GLOBAL.G_PARAM1 '||:GLOBAL.G_PARAM1);
    PL_ID := GET_PARAMETER_LIST ('REP_PARA');
    IF NOT ID_NULL (PL_ID) THEN
    DESTROY_PARAMETER_LIST ('REP_PARA');
    END IF;
    PL_ID := CREATE_PARAMETER_LIST('REP_PARA');
    ADD_PARAMETER (PL_ID, 'DESTYPE' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.RAG_DESTINATION') );
    ADD_PARAMETER (PL_ID, 'DESNAME' , TEXT_PARAMETER, L_DESNAME);
    ADD_PARAMETER (PL_ID, 'COPIES' , TEXT_PARAMETER, NAME_IN ('REPORT_TITLE.F_NO_COPY') );
    ADD_PARAMETER (PL_ID, 'ORIENTATION', TEXT_PARAMETER, 'LANDSCAPE');
    ADD_PARAMETER (PL_ID, 'MODE' , TEXT_PARAMETER, 'BITMAP');
    ADD_PARAMETER (PL_ID, 'PARAMFORM' , TEXT_PARAMETER, 'NO');
    ADD_PARAMETER (PL_ID, 'PARAM' , TEXT_PARAMETER, NAME_IN ('IBP_REPORT_PARAMETER.F_REP_SEQ') );
    ADD_PARAMETER (PL_ID, 'P_COMP_CODE' ,TEXT_PARAMETER,:GLOBAL.G_COMP_CODE);
    display_me(':GLOBAL.G_COMP_CODE '||:GLOBAL.G_COMP_CODE);
    REP_NAME := :GLOBAL.G_PARAM1||'.REP';
    display_me('REP_NAME'||REP_NAME);
    V_REP := RUN_REPORT_OBJECT('REPOBJ');
    display_me('V_REP '||V_REP);
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    display_me('REP_STATUS'||REP_STATUS);
         WHILE REP_STATUS IN ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    REP_STATUS := REPORT_OBJECT_STATUS(V_REP);
    END LOOP;
    IF REP_STATUS = 'FINISHED' THEN
    REP_URL:='/REPORTS/RWSERVLET/GETJOBID'||SUBSTR(V_REP,INSTR(V_REP,'_',-1)+1)||'?'||'SERVER=172.18.76.34';
    display_me('REP_URL '||REP_URL);
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    ELSE
    MESSAGE('ERROR WHEN RUNNING REPORT');
    END IF;
    END;
    Which is called on a button , can any body share there idea to help out
    Warm Regards
    Ashutosh

    Yes, I have replace the userid with scott/tiger@orcl with i6menu/i6menu@vbs and also replace the OAS server's name as you have suggested.
    declare
         REP_URL varchar2(2000);
    begin
    REP_URL:= '/reports/rwservlet?userid=i6menu/i6menu@vbs&report=testrep_10g.rdf&desformat=pdf&destype=cache&paramform=no';
    WEB.SHOW_DOCUMENT(REP_URL,'_BLANK');
    end;
    I had the 2nd code also but both r not working on my machine ......... !!
    I have made the following setting on my machine:
    1. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->FORMS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    2. Registry -> HKEY_LOCAL_MACHINE -> SOFTWARE-> ORACLE-> KEY_DevSuiteHome1->REPORTS_PATH ->
    Values is : D:\vision_soft\VSS\exe
    3. Entry made in the DevSuiteHome_1\forms\server ->default.env
    FORMS_PATH=D:\vision_soft\VSS\exe
    4. Entry made in the DevSuiteHome_1\reports\confr ->rwservlet.properties
    #SERVER= rep10
    As my forms is working well & but the report are not able to call.
    Could you please let me know is there is any other mandatory setting required for the report 10g.
    Regards,
    Ashutosh

  • Running a report from a form on the web

    I have a web-based form that includes a button to run a report that needs to have passed to it the value of a field on the form. How does one have the report be returned to the screen? In client-server mode, this works fine. When using the RUN_PRODUCT built-in in the form, I can pass the field value via the ADD_PARAMETER built-in and the report will run fine, but I can only save the report to a file. When I try using the RUN_REPORT_OBJECT built-in, I cannot seem to pass the field value correctly, and again can only save the report to cache or file.

    Carol,
    Assume that you want to pass to the report 2 values,BLK.ITEM_1 et BLK.ITEM_2, the code will be:
    DECLARE
    v_param VARCHAR2(1024);
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    BEGIN
    repid := find_report_object('reports_test');
    v_param :='paramform=yes P_ITEM_1='&#0124; &#0124;:BLK.ITEM_1&#0124; &#0124;'P_ITEM_2='&#0124; &#0124;&#0124; &#0124;:BLK.ITEM_2&#0124; &#0124;'''';
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,v_param);
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    Regards,
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by carolcd ():
    I have a web-based form that includes a button to run a report that needs to have passed to it the value of a field on the form. How does one have the report be returned to the screen? In client-server mode, this works fine. When using the RUN_PRODUCT built-in in the form, I can pass the field value via the ADD_PARAMETER built-in and the report will run fine, but I can only save the report to a file. When I try using the RUN_REPORT_OBJECT built-in, I cannot seem to pass the field value correctly, and again can only save the report to cache or file.<HR></BLOCKQUOTE>
    null

  • Problem on running a Report from a Form

    Hi,
    we are using Oracle Forms & Reports runtime and builder 6.0.8.22.1, Database Version is 9.2.
    We have a Production, Pre-Live and Testenvironment all the same Database architecture.
    Problem Description:
    We created a Form with some input fields and a button for creating a report. This button creats via a pl/sql script a report object and run the report.
    This works fine on production system with calling the formsruntime with parameter userid=scott/tiger@productionserver. When we calling the completly same script, only we change the userid on "userid=scott/tiger@testserver" the forms would work fine but the report generating failed.
    The Forms and Reports are compiled against the production environment.
    Where could be the problem, it's all the same only we change the connection string.
    There are any connection information in the compiled fmx or rep file.
    Where get the Report_Object the connection information.
    Best Regards
    Markus

    Markus,
    Reports gets the connect string implicitly from Forms. This means that the way you conenct Forms to the database is the account your run Reports with. Have you double checked that you weren't passing the userid somewhere in your code?
    Frank

  • How to run a report from a form?

    i created a report from reports 6i. now i want to design an interface in oracle forms and want to call all information from report according to paramaters which i designed in oracle forms.
    i found some information that i can do that using Procedure Run_Report or Run_report_object but i could not achieved it.
    Can anyone explain me that step by step? Or anybody made an example before so a connection from form to report and send to me as a muster. probably i can find a solution for me too..thanks a lot..

    Abdetu thanks for your quickly reply but i have to say that i could not understand it very clearly because i don't have any experience about Forms and Reports. Therefore i am trying to ask my question again with examples.
    I made a report and now i am trying to connect this report to my forms. My forms has 2 search item. Account_no and Date and i have a Run button.
    If i write date "Oct" and push button "Run" i want to see whole list of Oct from Report. Therefore i made a trigger "When-Button-Pressed" and i wrote this and now my question about the parameters.
    In Forms under menu parameters should i create 2 parameters parameter01 and parameter02. and now my questions:
    1) After i create parameters should i write as a Parameter Initial Value
    2) Should i extra add paramters to reports too?
    declare
    v_Report_Id Varchar2(20) := 'RAPOR_NAME';
    v_Parameter_List Varchar2(15) := 'FormParameter';
    v_Parameter_List_Id Paramlist;
    v_Return_Code Number;
    Begin
    v_Parameter_List_Id := Get_Parameter_List(v_Parameter_List);
    If Not id_null(v_Parameter_List_Id) Then
    Destroy_Parameter_List(v_Parameter_List_Id);
    End If;
    v_Parameter_List_Id := Create_Parameter_List(v_Parameter_List);
    Add_parameter(v_Parameter_List_Id, 'PAR_01', TEXT_PARAMETER,:Parameter01);
    Add_parameter(v_Parameter_List_Id, 'PAR_02', TEXT_PARAMETER,:Parameter02);
    Add_parameter(v_Parameter_List_Id, 'PARAMFORM', TEXT_PARAMETER,'NO');
    Add_parameter(v_Parameter_List_Id, 'DESTYPE', TEXT_PARAMETER,'SCREEN');
    Run_product(REPORTS,'v_Rerpot_Id',SYNCHRONOUS,RUNTIME,FILESYSTEM,v_Parameter_List_Id,null);
    End;

  • How to run multiple reports From One Form with 1 report object?

    Hi ALL!
    i want to run multiple reports (in 10g technology) from 1 Form having only 1 report object.
    i.e
    IF parameter=yes THEN
    Rpt_new should run
    Else
    Rpt_old should run
    END IF;
    How can i do this?
    thanks
    rana

    Rana,
    I found this in the Forms online Help. You could easily found it yourself. Don't be afraid of pressing CTRL-H:
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, 'yourreportsfilename.rdf')Regards,
    Martin Malmstrom

  • Calling report from the form

    I,am using developer 2000 ver.1.32 always i develop new forms and reports,but in my recently developed form which calls a report in the same directory i am getting this message:
    REP-0110: Unable to open file 'PEER_PEE'.
    REP-1070: Object store failure occurred.
    REP-0110: Unable to open file 'PEER_PEE'.
    End report PETR_PRM [Mon Jul 31 09:35:37 2000].
    and didn't get in the decomentation any solve.
    so can anybody can help me.

    thank you
    mr: Abouzaid
    it worked properly,
    i added the report path to the reports_path in the oracle.ini.
    thank you again mr: Abouzaid.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Abozaid Abdelmeged ([email protected]):
    hi
    Please make sure that your reports directory
    was defined on report_path on registry first.
    thanks alot
    Abouzaid<HR></BLOCKQUOTE>
    null

Maybe you are looking for