How to run reports thru menu in 10g

Hi,
I'm a junior oracle programmer and have already migrated forms 6i to 10g. Now I have to migrate the reports to 10g. I have read many documentations about running report from forms or menu, but the more I read, the more confused I get. Please note that I am very new to all this oracle stuff. So please bear in mind that I might not understand everything too well. Thats the reason I would like help from you experts out here.
We have a menu (mmb) which has two horizontal sub menus (eg. Forms & Reports). Now Forms and Reports again in turn hv couple of vertical sub menus. Each vertical submenu under Forms calls a form (for eg. submenu_f1 calls forms1, submenu_f2 calls forms2 and so on). Same thing for Reports (eg. submenu_r1 calls report1, submenu_r2 calls report2, etc). Now this is what we want for the Reports. Each of our report has parameters like Begin Date, End Date, Agency_Type, Year, etc. We want our user to have one more choice in the parameters "FORMAT" (pdf, excel, html, etc) . Now this is what I dont know how to do. I cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms). I tried web.show_document but the problem in this is that everything is hard-coded, so I cannot give a choice in the desformat.
I would appreciate if someone can tell me how to run my report thru menu and give the user the option for the format. The users mostly want the output in excel (but might want pdf, etc too).
Plus we want to schedule certain reports to run at certain times everyday or every month, how can I do that?????
Any help would greatly be appreciated.
Thanks in advance for taking your time to reply my query.

Hi,
cannot use run_report_object here cause I cannot create a report object in menu (like how we can do it in forms).
Create a generic named Report node in the forms that you reference from the RunReport object request. This way you can run Reports from a menu
Frank

Similar Messages

  • How to run reports in Application Server 10g?

    Dear Friends,
    I am running my forms on Application Server 10g. How do I launch reports from my Forms on the 10g application server? My friend told to use web.show_document(http://serverip:port/reports/rwservlets/getjobid - what should it be after that). Also I'm not aware of the complete code. I would appreciate and be really grateful if any of you helped me in this regard.
    Thank you in advance.
    Regards,
    Senthil .A. Perumal.

    Hi,
    I need to install Oracle Reports on the server. Can someone pls tell what what softwares i need to make oracle reports running on windows. I see Oracle reports services and oracle Reports Developer on otn..do i need both on my server? Whats the difference between them and are they interelated in anyway?? Pls reply soon. Thanks..

  • Run Report Through Menu in 10g

    Hi Gurus
    I am new to Development. I have managed to create a .jsp file using Report Builder in 10g. This report has user-defined parameter. I also have a Form with Menu. Now I want to add a menu item so that when user click on it the report that I just created should run on web.
    I have installed DevSuite 10g wth typical settings on a single machine so I think both forms & reports servers are on the same machine.
    Please help me!
    Thank you all in advance

    and also u need not give the report name . You shud give the name of the report object which u created in the navigator
    I used the following code in the menu_item
    declare
    repid report_object;
    v_rep varchar2(100);
    rep_status varchar2(20);
    begin
    repid:=FIND_REPORT_OBJECT('ALL_STUDENTS_BASIC_REPORT.JSP');
    v_rep:=RUN_REPORT_OBJECT(repid);
    END;
    should be modified to
    I used the following code in the menu_item
    declare
    repid report_object;
    v_rep varchar2(100);
    rep_status varchar2(20);
    begin
    repid:=FIND_REPORT_OBJECT('reportn');
    --reportn is the object name which u create in the navigator
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,repservername);
    --repservername is the servername which u need to start
    v_rep:=RUN_REPORT_OBJECT(repid);
    END;

  • How to call Reports in oracle forms 10g

    Dear All,
    How to call Reports in oracle forms 10g.
    I am using Oracle Forms 10g Reports 10g and Database 10 and and Operating system Windows XP.
    Please give me the Solution.
    Thanks and Regards,
    Faziludeen

    Hi Omkar,
    Please check the following code.
    DECLARE
      repid REPORT_OBJECT;
      v_rep VARCHAR2(100);
      rep_status VARCHAR2(20);
      plid ParamList;
    BEGIN
      plid := Get_parameter_List('tmp');
      IF NOT Id_Null(plid) THEN
      Destroy_parameter_List( plid );
      END IF;
      plid := Create_parameter_List('tmp');
      add_parameter(plid,'p_parameter',text_parameter,to_char(:POLICY.POLICY_NO));
      Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
      repid := FIND_REPORT_OBJECT('POL_REP');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
      SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
      v_rep := RUN_REPORT_OBJECT(repid,plid);
      rep_status := REPORT_OBJECT_STATUS(v_rep);
      WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
      LOOP
      rep_status := report_object_status(v_rep);
      END LOOP;
      WEB.SHOW_DOCUMENT('http://'||'LENOVO-428E9E41'||'8889'||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
      '||'server=prod_report_server&P_parameter='||:POLICY.POLICY_NO||
      '&paramform=no');
    END;
    I am used to Start the Report sever   'Rwserver Server=prod_Report_Server Start'
    OracleAS Report Services
    Version :-   10.1.2.0.2
    Name    :-   prod_report_server
    Status  :-   Server is Shutting down
    Jobs in Queue  0
    Active Engines  0
    I got the Following Error when I trying to run the Report
    FRM-41211: Integration error:SSL failure running another product
    Thanks and Regards,
    Faziludeen

  • How to run Reports demos?

    I finally got everything installed and I'm trying to run the Reports demos off of the mid-tier web site. when I click on the jsp report demo it brings up the parameter page. I just use the defaults and click the run button. when I do that it asks me for a SSO login/password. what do I use here? I've looked over all the docs I can think of without finding anything.
    Thanks,
    Jason

    Hi Thivan,
    See the links here:
    http://www.oracle.com/technology/products/reports/htdocs/search.html?cat=INT&col=WIP&submit=Search
    Look for "Integrating Oracle9iAS Reports Services in Oracle9iAS Forms Services"
    Another link on the above page will give you info on how to run Reports from Forms 10g.
    Navneet.

  • How to run report server in oracle 9i DS

    hi..
    can any 1 tell me how to run report server in oracle 9i DS
    i've installed oracle 9i DS, but don't know how to run
    report server.
    actually i want to run a report from my form
    on button press trigger.. some of the experts r tellin
    that 1st u check whether report server is running or not..
    so pls tell me how to install report server.
    while installing oracle 9i DS, i've given Mail server
    as mysmtp.com
    Thanks
    amit

    hi ..
    i've to go in this directory n run
    rwserver -install repservername
    where repserver name is my mailserver..
    this will install reports server
    Amit

  • How to run report from form using run_object_report

    I AM USNING FORMS9I/REPORTS 9I , HOW TO RUN REPORT FROM FROM USING RUN_REPORT_OBJECT AND HOW
    TO PASS PARAMETER AS WE DID IN RUN_REPORTS PLEASE HELP ME

    here an example !
    I hope this example you can use it
    PROCEDURE pr_reporte IS
    BEGIN
    DECLARE
         repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status Varchar2(20);
    d1 DATE;
    d2 DATE;
    BEGIN
         d1 := :GLOBAL.DIA_INI;
         d2 := :GLOBAL.DIA_FIN;
         repid := find_report_object('rep_lab02');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'p_fec_uno='||to_char((add_months(last_day(d1),-1) +1),'DD/MM/YYYY')||' '||
         'p_fec_dos='||to_char(d2,'DD/MM/YYYY'));
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
         v_rep := RUN_REPORT_OBJECT(repid);
         rep_status := report_object_status(v_rep);
         WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
              rep_status := report_object_status(v_rep);
         END LOOP;
         IF rep_status = 'FINISHED' then
              WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver','_blank');
         ELSE
              ventana('E','error reporte no encontrado','S');
         END IF;
    END;
    END;
    The 'rep_lab02' is the name of the report that you give in the node reports
    p_fec_uno and p_fec_dos they are the parameters in the report
    repserver is the name of server created with rwserver
    Greetings

  • Run reports thru form

    hi
    every body
    i am trying to run report thru form.it's running fine but when i choose destype file
    then it doesn't show printjob message
    plz help me it's show or not
    if yes plz help me
    with thanx

    Hi,
    what do yo mean by that it doesn't show printjob message? If you use run_report_object() ain Forms, then the only feedback you get is through the returned status message. When running a Report from the Reports Servlet, then you get receive an acknowledgement in teh Webbrowser that the Reports was printed successfully (in case you mean this message). If you like to see this message shown when running Reports from Forms, then use web.show_document() in a call to the Reports Servlet.
    However, using Run_Report_Object() provides you the same information about success and failure of a Report run.
    Frank

  • How to run Net Configuration Assistant on 10g Forms and Reports server

    I have a Windows 2000 server with Forms and Reports Services installed from AS 10g v. 9.0.4 (just the Forms and Reports install). According to the OUI, Net Configuration Assistant 9.0.4 is also installed. However I cannot figure out how to run the Net CA. There is no shorcut that I can find. Can anyone help?

    Thanks for the reply Frank. I have looked all through the Start menu but see no "Configuration and Migration". I assume it's because I only installed the Forms and Reports option, so I only have Forms Services, Reports Services, and the Universal Installer. No big deal - I've already setup tnsnames manually. I just like to use the Net Assistant when I can.

  • How to run report on web in forms 10g

    dear all,
    i have a form which call a report in form 6i i used the run_object();
    how to run the report on web in forms 10g?
    is there any html settings?
    thanks
    Muhammad Nadeem

    Hello,
    <p>You can inspire from this article<br>It is a sample dialog that allows to launch any report with 0 up to 10 parameters.<br>Open the sample dialog, then you can see how the Run_Report_Object() built-in is used in the Start_Report program unit..<p>
    Francois

  • How to run report from context menu using XML Extensions?

    I have found an example how to run SQL command from context menu:
    <items>
    <folder type="TABLE">
    <name>UserDefined ContextMenus</name>
    <item TYPE="TABLE" reloadparent="true">
    <title>Create SYNONYM</title>
    <prompt type="check">
    <label>PUBLIC</label>
    <value>PUBLIC</value>
    </prompt>
    <prompt>
    <label>NEW SYNONYM NAME</label>
    </prompt>
    <sql>
    <![CDATA[CREATE #0# SYNONYM  #1# for "#OBJECT_OWNER#"."#OBJECT_NAME#"]]>
    </sql>
    <help>
    This action create a SYNONYM (optionally public) for the selected table.</help>
    <confirmation>
    <title>Confirmation</title>
    <prompt>SYNONYM "#1#" for "#OBJECT_NAME#" has been created.</prompt>
    </confirmation>
    </item>
    </folder>
    </items>
    </prompt>
    But instead of executing SQL command I need to show result page of report based on SELECT statement.

    Hi dz_r-
    Not sure exactly what you mean by "result page of report", but extensive documentation on the xml schema defining context menu actions is available at the schema location.
    &lt;items xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs"
      xmlns="http://xmlns.oracle.com/sqldeveloper/3_1/dialogs">
        &lt;!-- your declarations here -->
    &lt;/items>
    Brian Jeffries
    SQL Developer Team

  • How to run report from form 10g

    Dear All,
    I have code of forms 6i that i used to run report. but when i run this code through forms 10g this gives message that use RUN_REPORT_OBJECT instead.
    please convert my code to 10g .
    ==============================================
    pl_id:=Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
              Destroy_Parameter_List(pl_id);
         END IF;
         pl_id:=Create_Parameter_List('tmpdata');
         Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
         Add_Parameter(pl_id, 'P_FROM', TEXT_PARAMETER,:FROM);
         Add_Parameter(pl_id, 'P_TO', TEXT_PARAMETER, :TO);
    Run_Product(REPORTS,'ANNEX_B_CONSTRUCTION_QUALITY',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
    =======================================================
    Many thanks

    Some sample code. Create REPORT1 under Report node of the form.
    DECLARE
      PL_ID                 ParamList;          
      v_rep_id          REPORT_OBJECT;               
      v_rep            VARCHAR2(200);               
      v_rep_file        VARCHAR2(100); --Added to change create a unique file each time report created.
      v_tmp_path                         varchar2(250);
    BEGIN
    v_rep_id := FIND_REPORT_OBJECT('REPORT1');
    v_rep_file:=USER||'_'||to_char(SYSDATE,'DDMMYYYY_HH24MISS');
    pl_id:=Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List(pl_id);
    END IF;
    pl_id:=Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    Add_Parameter(pl_id, 'P_FROM', TEXT_PARAMETER,:FROM);
    Add_Parameter(pl_id, 'P_TO', TEXT_PARAMETER, :TO);
    --Run_Product(REPORTS,'ANNEX_B_CONSTRUCTION_QUALITY',SYNCHRONOUS,RUNTIME,FILESYSTEM,pl_id);
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_FILENAME, 'tested_part_report'||'.rdf');
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESTYPE,FILE);
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(v_rep_id,REPORT_DESNAME,v_tmp_path||v_rep_file||'_Tested_Part_Report.pdf');
    v_rep := RUN_REPORT_OBJECT(v_rep_id,PL_ID); 
    --You should have a virtual path set as /output/ in Application server
    --Show the pdf output create in the folder mapped to output
    Web.Show_Document('/output/'||v_rep_file||'_Tested_Part_Report.pdf','_blank');     
    END;You need to put the files in the path (As set in the registry of application server) . Needed application server knowledge to deploy the reports.
    Edited by: Lokanath Giri on २२ दिसंबर, २०११ ११:०३ पूर्वाह्न
    Edited by: Lokanath Giri on २२ दिसंबर, २०११ ११:५९ पूर्वाह्न

  • How to Run Report on CrystalReport 2008 server?

    Greetings,
    I need to get a document that describe how to create a report, how to use the
    old .rpt files from older version 8.5 to generate the same report.
    I installed the CrystalReport 2008 server and have not able to find any area that describe
    how to generate a report, the help menu index does have any things that say create report either. 
    Does create report engine come with 2008 server??
    It has been hard to get any documents or assistance on this product.
    Would you one be kindly provide some hints or direction to resolve my issues.
    I am running CrystalReport 2008 Server on Windows 2003 release 2
    Thanks much,
    Y

    Didnt get ur question fully.
    U can schedule reports to a server using "schedule" cmd line parameter.
    see docs [     Publishing reports to web  - 10G  ] to know fully syntax of this param
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i/10g ]
    9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    ---------------------------------------------------------------------------------

  • Run Report From Menu

    I am trying to run the reprt through menu but no out put
    I run the report thru the browser
    http://it-test:8889/reports/rwservlet?server=repsrv&report=c:\test\t1.rep&userid=scott/[email protected]&desformat=pdf&destype=cache&paramform=yes
    It works fine and i am getting the output
    But when i try to run the same report through menu no out put
    Code is like this:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    plid ParamList;
    vParamValue number;
    REP_PROPERTY VARCHAR2(100);
    v_show_document     VARCHAR2 (2000) :=
    'http://it-test:8889/reports/rwservlet?';
    v_connect     VARCHAR2 (200) := 'userid=scott/[email protected]';
    v_report_server     VARCHAR2 (30) := 'repsrv';
    v_report_name     VARCHAR2(100) := 'c:\test\t1.REP';
    v_format     VARCHAR2(12) := 'PDF';     
    BEGIN
    plid := Get_parameter_List('tmp');
    IF NOT Id_Null(plid) THEN
    Destroy_parameter_List( plid );
    END IF;
    plid :=Create_parameter_List('tmp');
    repid := FIND_REPORT_OBJECT('t1');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, 'c:\test\t1.REP');
    if id_null(repid) then
         pause;
         message('repid is null');
         ELSE
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'repsrv');
    v_rep := RUN_REPORT_OBJECT(repid,'repsrv');
    rep_status := REPORT_OBJECT_STATUS(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    v_show_document := v_show_document
    || v_connect
    -- Report server
    || '&server='
    || v_report_server
    -- Report name
    || '&report='||v_report_name
    -- Reports parameters
    || '&destype=CACHE'
    || '&desformat='||v_format
    || '&paramform=yes' ;
    END IF;
    if
    rep_status = 'FINISHED'then
    pause;
    message('Finished');
    web.show_document(v_show_document,'_blank');
    else
    message ( 'error while running reports-object ' || error_text );
    message ( ' ' );
    clear_message;
    end if;
    END;
    The out put is nothing
    the message displays as finished
    The same i tried with
    web.show_document('http://www.google.com','_blank');
    no out put
    can u tell me what could be the problem??
    I am using Internet Explorer 7
    Thanks
    Elsy

    Hi All,
    In the Internet explorer pop up was blocked
    I unblocked it and its working fine
    Thanks to all

  • How to run report from java code

    I am a begginner in Oracle Reports. We have no AS installed, so we run reports either from Reports Builder or by calling rwrun. I would like to know how to embed report calling into java code , let's say into simple swing application. Some example code would be welcomed. Thanks.

    Hello,
    You can find examples in :
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_webservice.htm
    Oracle® Application Server Reports Services Publishing Reports to the Web
    10g Release 2 (10.1.2)
    B14048-02
    14 Using the Oracle Reports Web Service
    Regards

Maybe you are looking for

  • How to enter hidden SSID in Snow Leopard Server

    I am re-installing Snow Leopard Server on a Mac Mini Server (2009) from the recovery disk.  I successfully installed, using Remote Installation.  However, it did not keep my network settings.  The SSID is hidden, so normally, I would select to enter

  • Performance issue with insert query !

    Hi , I am using dbxml-2.4.16, my node-storage container is loaded with a large document ( 54MB xml ). My document basically contains around 65k records in the same table ( 65k child nodes for one parent node ). I need to insert more records in to my

  • Inheritance and mouse handler problem

    I have a super class and two subclass which is extend the super class. I add a mouse handler in one of the subclass. The problem is that the other subclass also affect by the mouse handler. How can i avoid that?? here is the code public abstract clas

  • IDOC not reaching destination system

    Hello,   I am trying to send DOCMAS type IDOC from one SAP sys to another SAP sys.The IDOC has the status 03 (The IDoc was sent to an SAP system or an external program via a transactional RFC) but i dont see the IDOC in the target sys. Please let me

  • Is there any class to get the head, title, anchors of any page?

    hi, i am study at computer science and i have a senior project that is related to Focused Crawler. 1 ) So, i have an issue. I have to get head,title,metas, anchors of any page. But, i don't want to recode it, may be there any classes that performs my