How to call a report in forms?

Hello
I want to call a report in forms, but it always failures and I couldn't find any whitepapers or anything else on OTN.
I'm using reports & forms 10g release 2 and a standalone forms & reports service (release2).
I've created a simple report and store it as .jsp which based on view (already exist with data). In forms I create a button and I just want to show it on a seperate window (as PDF).
How does it work? And which set_report_object_property do I need?
Thanks in advance for any ideas or links
Remo

I put a pic on the web of my standalone forms&reports service.
I couldn't figure out, what is the problem there. Start time of reports service is not available!
http://ora.lausitz-elektronik.de/image/status.gif
I also got the error message which is already described in this thread
a binding error which I couldn't resolve :(
Error calling report FRM-41213 unable to connect to Report Server
remo

Similar Messages

  • How to call a report in forms 10

    Dear all,
    i want to call a report in forms 10g
    and i do not know which function to use.
    best regards,
    ShoOoSh

    run_report_objects - form help :
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('report4');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    you have to create a report-object in the form.

  • How to call a report from form in developer suite 10g

    i want to call report from a form that is developed in Builder 10g. Reprot is also built in Reports Builder 10g. I now want to run report through form.Please give me any solution.

    I am finding that this document is unhelpful also with respect to running a form which calls the report in the testing environment of Oracle Developer Suite. I have Googled for forms integration with reporting and most refer to this document, but it does not help.
    I have download and used the "run_report_object_doc" procedure they provided, along with a supporting function. And used that.
    This document indicates that if the sever is not specified then it will use the in-process server. This does not happen. When I do not specify the server I get the notorious "FRM-41211: Integration error: SSL failure running another product." I suspected that the in-process server is not getting called.
    When I look through the rwservlet.properties file I find that the servlet is configured with in=process "yes". I have since changed this file so that a server is actually named. I called it "local".
    This time a local.conf file is created, not a rep_local.conf file as indicated in the documentation. Anyhow when I try the form again I get the same FRM-41211 message.
    Alternatively, I have change the report invocation parameters to supply a server name "local". This time I no longer get the FRM-41211 message. I get the error FRM-41214: Unable to run report.
    When I use the servlet to get information, I get (can anyone see any setting that is a problem?):
    http://localhost:8889/reports/rwservlet/showenv?server=local
    OracleAS Reports Services - Servlet Environment Variables Return to Top
    KeyMapFile C:\DevSuiteHome_1\reports\conf\cgicmd.dat
    DBAUTH C:\DevSuiteHome_1\reports\templates\rwdbauth.htm
    SYSAUTH C:\DevSuiteHome_1\reports\templates\rwsysauth.htm
    server local
    DIAGNOSTIC yes
    traceopts undefined
    ERRORTEMPLATE C:\DevSuiteHome_1\reports\templates\rwerror.htm
    SERVER_IN_PROCESS yes
    COOKIEEXPIRE 30
    ENCRYPTIONKEY reports9i
    DIAGHEADTAGS undefined
    DIAGBODYTAGS undefined
    HELPURL undefined
    RELOAD_KEYMAP NO
    IMAGEURL http://localhost:8889/reports/rwservlet
    SINGLESIGNON yes
    OracleAS Reports Services - Server and Engine Environment Variables Return to Top
    PATH C:\DevSuiteHome_1\jdk\jre\bin\client;C:\DevSuiteHome_1\jlib;C:\DevSuiteHome_1\bin;C:\DevSuiteHome_1\jre\1.4.2\bin\client;C:\DevSuiteHome_1\jre\1.4.2\bin;C:\oraclexe\app\oracle\product\10.2.0\server\bin;C:\oracle\product\10.2.0\client_1\bin;C:\Program Files\CA\Dcs\DMScripting\;C:\Program Files\CA\DCS\CAWIN\;C:\CAisd\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\system32\nls;C:\WINDOWS\system32\nls\ENGLISH;C:\Program Files\ZipGenius 6\;c:\Program Files\CA\SharedComponents\ScanEngine;C:\PROGRA~1\CA\ETRUST~2;C:\Program Files\CA\Unicenter Software Delivery\BIN;C:\PROGRA~1\CA\SHARED~1\CAM\bin;C:\Program Files\CA\SharedComponents\ScanEngine;C:\Program Files\CA\SharedComponents\CAUpdate\;C:\Program Files\CA\SharedComponents\ThirdParty\;C:\Program Files\CA\SharedComponents\SubscriptionLicense\;C:\Program Files\CA\eTrustITM;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\;C:\Program Files\Microsoft Office\Office10;C:\Program Files\CA\DSM\bin;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\DevSuiteHome_1\jdk\jre\bin
    DISPLAY
    LD_LIBRARY_PATH
    ORACLE_HOME C:\DevSuiteHome_1
    TNS_ADMIN
    NLS_LANG AMERICAN_AMERICA.WE8MSWIN1252
    USER_NLS_LANG
    RW C:\DevSuiteHome_1\reports
    REPORTS_PATH C:\DevSuiteHome_1\repadm61\srw;C:\DevSuiteHome_1\cgenr61\admin\crretc;C:\DevSuiteHome_1\cgenr61\admin;C:\DevSuiteHome_1\reports\templates;C:\DevSuiteHome_1\reports\samples\demo;C:\DevSuiteHome_1\reports\integ;C:\DevSuiteHome_1\reports\printers;
    REPORTS_TMP C:\Temp
    REPORTS_TAGLIB_URI /WEB-INF/lib/reports_tld.jar
    java.class.path C:\DevSuiteHome_1\j2ee\home\lib\ojsp.jar;C:\DevSuiteHome_1\reports\jlib\rwrun.jar;C:\DevSuiteHome_1\jlib\zrclient.jar
    sourceDir
    tempDir
    useDataCache
    ignoreDataParameter

  • How to call a Report 10g from a parameter form..?

    Hello,
    pls i wanna know the procedure of :
    How to call a Report 10g from a parameter form..?
    regards,
    Abdetu..

    hopes it work for you.
    procedure get_report is
    pl_id paramlist;
    p_year varchar2(4);
    param_name varchar2(10) :'param';
    begin
    pl_id := get_parameter_list(param_name);
    if not id_null(pl_id_)then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list(param_name);
    p_year := year -- assign the value.
    add_parameter(pl_id,'p_year',text_parameter,p_year);
    execute_report('report_name',pl_id);
    end;

  • Call Oracle Reports from  Forms ver 9i or 10g

    Hi,
    Can somebody guide me, how to call Oracle Reports from the Oracle form 9i,
    Run_product is no more available into 9i & 10g, Run_report_object is not working with out put type "Screen" or "preview".
    What is the best way to call the reports from the form ??? pls help...
    Thanks in avdance.
    Jitesh ([email protected])

    You can use RUN_REPORT_OBJECT with CACHE type, and WEB.SHOW_DOCUMENT to view the document on the screen.
    In the Forms help you should find examples.
    If you have access to Metalink, have a look at Note:207396.1.

  • Calling a report from forms with a paramter form

    Hello,
    How do you call a report from forms and get it to display the parameter form. Where you can then call the report using this parameter form. I have been using paramform=yes. but it simply runs the form.
    I saw on a a thread ages ago that this was a sample of this available for download. Is this true?
    thanks

    Here is my code sorry about posting twice. Please note that the parameter list has been created as described.
    report_id := find_report_object('MENU_REPORT_NODE');
    Tool_Env.Getvar('ReportsServer', reports_server);
    Tool_Env.Getvar('ReportsFolder', reports_folder);
    dest_file := reports_folder || :global.username || '\' || rep_name || '.pdf';
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_FILENAME, rep_name);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, reports_server);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS); -- wait for the report to finish
    -- SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESNAME, dest_file);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_OTHER, 'paramform=yes' || ' ' || 'mode=bitmap');
    report_job := run_report_object(report_id);

  • Problem in Calling a report from form 6i using parameters

    Hello Oracle experts,
    I am facing a problem while calling a report using form 6i and passing parameters,
    Actually the problem is I want to use the parameters passed to reports in a
    query group in my report. I am not able to use the parameters passed by form to report in one of my query groups in report. Could anybody guide my how to use it.
    Thanks

    Hello Oracle experts,
    The parameters are getting passed successfully in my report.
    But I want to know hous to use it in my query group.
    I just want the syntax.
    Thanks

  • In Oracle 10g, How to call a report since an option of a menu (*.mmb)

    Hello
    In Oracle 10g, working since the browser, how to call a report since an option of a menu (*.mmb)? I know to call it in a form (*.fmb), therefore uses the fields bean area and the objects reports, but in a menu there is not neither canvas, neither fields, neither reports. Someone would be able to help me with that?
    Kisses. Thanks.
    Annie

    I understand that you had sent me everything,
    I sent for example to you that, no to insert it in your item's menu code,
    then,You have to modify it.
    ... but
    a menu (mmb) doesn't have to define him reports
    objects... then, what parameter I send to the
    function FIND_REPORT_OBJECT:
    This is not true
    Try out this, and then let me know
    You do not need to have a report object defined in the menu. It is enough to have it in forms.
    I tried to call a report from the menu in the folowing way:
    I created a menu and wrote the following code in one item:
    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    BEGIN
    repid := find_report_object('report2');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_EXECUTION_MODE, RUNTIME);
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_COMM_MODE, SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,'reportserver1');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESNAME,'C:\p.pdf');
    v_rep := RUN_REPORT_OBJECT(repid);
    END;Then I created a form with a report object called report2.
    I attached the menu to this form and while running this form, I was able to successfully run the report.
    In your case, you have to make sure that you have the dummy report object in each form that will have this attached menu.
    You can replace by the actual report name as you have written in the code.
    Regards

  • Help me in using RUN_PRODUCT to call a report from form

    Hi GURUs
    I am trying to call a report from a form.
    I enter hiredate as input parameter in the form and click the 'run report' button.
    The hiredate value will be sent to report via pl_id, TEXT_PARAMETER,:CTL.TXT_DT as shown below in when button pressed trigger
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'HRDATE',TEXT_PARAMETER,:CTL.TXT_DT);
    Run_Product(REPORTS, 'C:\empreport.RDF', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END;
    Coming to report side its a simple query select * from emp where trunc(hiredate) > trunc(:hrdate);
    I created 'hrdate' user parameter in the report
    The problem is when I run the form it calls report and shows the report parameter form with the carried value. now I have to run report again.
    How do I supress this paramenter form because when I am sending value from form I dont have to see the parameter form at the report.
    I dont know how to use paramform = no with RUN_PRODUCT
    Please tell me what to do it....
    Thanks

    Looking at the Forms documentation it specifies, "To run a report from within a form, you must use the dedicated report integration built-in RUN_REPORT_OBJECT." The RUN_PRODUCT built-in is used to run the Graphics product. I suggest you give RUN_REPORT_OBJECT a try. This is how we call a report from a form.
    Hope this helps.
    Craig...

  • How to create a report in Form line Style and can display Image field?

    Hi,
    In Report builder 10g, I would like to create a Report with Form Line Style and this report included a Image field.
    I can choose this Style only when Select Report type is Paper Layout. Because, If I choose Create both Web & Paper Layout or Create Web Layout only then in the next Style tab 03 option Form, Form letter and Mailing Label be Disabled.
    But in Paper Layout, my report can not display Image field.
    I tried with Web layout and all the other Styles (Except 03 mentioned be Disabled) then all Styles are displayed Imager field OK.
    How to create a report in Form line Style and can display Image field?
    I was change File Format property of my Image field from text to Image already in Property Inspector. But report only showed MM for my Image field.
    Thanks & regards,
    BACH
    Message was edited by:
    bachnp

    Here you go..Just follow these steps blindly and you are done.
    1) Create a year prompt with presentation variable as pv_year
    2) Create a report say Mid report with year column selected 3 times
    - Put a filter of pv_year presentation variable on first year column with a default value say @{pv_year}{2008}
    - Rename the second time column say YEAR+1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)+1
    - Rename the second time column say YEAR-1 and change the fx to CAST(TIME_DIM."YEAR" AS INT)-1
    Now when you will run Mid Report, this will give you a records with value as 2008 2009 2007
    3) Create your main report with criteria as Year and Measure col
    - Change the fx for year column as CAST(TIME_DIM."YEAR" AS INT)
    - Now put a filter on year column with Filter based on results of another request and select these:
    Relationship = greater than or equal to any
    Saved Request = Browse Mid Report
    Use values in Column = YEAR-1
    - Again,put a filter on year column with Filter based on results of another request and select these:
    Relationship = less than or equal to any
    Saved Request = Browse Mid Report (incase it doesn't allow you to select then select any other request first and then select Mid Report)
    Use values in Column = YEAR+1
    This will select Year > = 2007 AND Year < = 2009. Hence the results will be for year 2007,2008,2009
    This will 100% work...
    http://i56.tinypic.com/wqosgw.jpg
    Cheers

  • How to call PDF Report with parameters in jdeveloper 10.1.3

    Hi all,
    how to call PDF Report with parameters in jdeveloper 10.1.3
    for example I have Report name is repdept.pdf with parameter as deptno
    and I want call this Report from JSP page ?
    thanks
    frank

    Hi all,
    how to call PDF Report with parameters in jdeveloper 10.1.3
    for example I have Report name is repdept.pdf with parameter as deptno
    and I want call this Report from JSP page ?
    thanks
    frank

  • Calling a report from Form 6i

    Hi,
    I want to call a report from Form 6i at run time. And I write the following code in When Buttton Press trigger . when I press the button it will gives no response.
    declare
         x report_object;
         y varchar2(100);
    begin
         x:=find_report_object('billform');
         y:=run_report_object(x);
    end;
    for more information , path of my report is: C:\REP\billform.rdf
    please send me the solution of this problem
    E_mail: [email protected]
    Shahzad

    hi,
    now i am using the following code in when button press trigger. if u give me ur e_mail address i will send u FMB and RDF files used for Scott/tiger EMP table for the sample.
    declare
    repo_Para     ParamList;
    BEGIN
    repo_Para:=Get_Parameter_List('Report_para');
    IF not Id_null(repo_Para) THEN
         destroy_parameter_list(repo_para);
    end if;
    repo_Para:=Create_Parameter_List('Report_para');
    Add_Parameter(Repo_para,'PARAMFORM',TEXT_PARAMETER,'No');
    Add_Parameter(Repo_para,'MAXIMIZE',TEXT_PARAMETER,'Yes');
         Add_Parameter(Repo_para,'BDATE',TEXT_PARAMETER,:BLOCK3.a_dptno);
         Add_Parameter(Repo_para,'EDATE',TEXT_PARAMETER,:BLOCK3.b_dptno);
         RUN_PRODUCT(REPORTS,'c:\apu\DDATE.rep', SYNCHRONOUS,
              runtime, FILESYSTEM,Repo_para,NULL);
    end;
    BDATE & EDATE are two user parameters created in report.
    when i press the button in form pass parameters the report will be called but no data will be display but when i directly run reprot from report buider and pass same values of BDATE & EDATE it will show data.
    please give me ur e mail address or help me for this problem
    best regards,
    shahzad

  • CALLING A REPORT FROM FORMS (PROBLEM)

    MY PROBLEM IS THE NEXT:
    I CREATED A MASTER-DETAIL REPORT CALLING 'ASUNTOS'WITH THE NEXT QUERY:
    SELECT ABOGADOS.APELLIDO_P,ABOGADOS.APELLIDO_M,ABOGADOS.NOMBRES,
    ASUNTOS.EXP_INT,ASUNTOS.MATERIA,ASUNTOS.GERENCIA,
    ASUNTOS.EMPRESA,ASUNTOS.RECLAMA,ASUNTOS.PESOS,
    ASUNTOS.DOLARES
    FROM ABOGADOS,ASUNTOS
    WHERE ABOGADOS.FICHA = ASUNTOS.F_ABOG
    AND ASUNTOS.F_ABOG = :ABOGADO ;
    -- ABOGADO = PARAMETER.
    THIS REPORT WORKS FINE THE PROBLEM IS WHEN I TRY CALL THIS REPORT FROM FORM I'VE USE A BUTTON(WHEN_BUTTON_PRESSED) WITH THE NEXT CODE:
    DECLARE
    LISTA PARAMLIST := GET_PARAMETER_LIST('ABOG');
    BEGIN
    IF ID_NULL(LISTA) THEN
    LISTA := CREATE_PARAMETER_LIST('ABOG');
    ADD_PARAMETER(LISTA,'DESTYPE',TEXT_PARAMETER,'PRINTER');
    ADD_PARAMETER(LISTA,'DESNAME',TEXT_PARAMETER,'LPT2');
    ADD_PARAMETER(LISTA,'ABOGADO',TEXT_PARAMETER,TO_CHAR(:ASUNTOS.F_ABOG));
    -- ADD_PARAMETER(LISTA,'PARAMFORM',TEXT_PARAMETER,'YES');
    END IF;
    RUN_PRODUCT(REPORTS,'ASUNTOS',SYNCHRONOUS,RUNTIME,FILESYSTEM,LISTA,NULL);
    END;
    BUT THE REPORT NOTHING DISPLAY.
    THERE ARE SOMETHING WRONG WITH THE CODE IN THE BUTTON

    Roberto,
    Does your report work when it is not called from Forms?
    try the following:
    [TOOLS_HOME]\BIN\RWRUN60 module=ASUNTOS destype=screen userid=<username>/<password>@<tns> ABOGADO=<some_valid_code>
    where TOOLS_HOME is the directory where Reports is installed.
    I can see nothing wrong with your code.
    Maybe some error in the query?
    Also, I would check for the existence of multiple ASUNTOS report definitions. Maybe Forms is calling an older one.
    Hope this helps,
    Pedro das Neves
    ([email protected])

  • How can print a report from form 6i,  when I press a button?

    hi Friends,
    How can print a report from form 6i, when I press a button?
    When i press a button from Form 6i, the report should print through printer.
    I have done it by using report parameter DESTYPE Printer but problem is that when I press a button printer dialogue box appear and then I give command Print to printer, I don’t want to show Printer dialogue box.
    I want when I press a button form Forms 6i , printer will print my report directly.
    Please send me the solution of this problem.
    Best regards,
    Shahzad

    Hi
    If You are using Client server application then to passing to Add all Print Parameter in the Host Command.
    Means Print command in unix to Host(lp.............) and Other Parameter to file name of the report to print.
    If You not Use Client Server Application the Also Passing a Host Command in Button-Pressed Event and Run.

  • How to run a report in form 10g

    How to run a report in form 10g;

    RUN_REPORT_OBJECT - check the on line help and there is a great paper on otn.oracle.com/products/forms and click on 9i papers (it will be relevant for 10g as well)>
    Regards
    Grant Ronald
    Forms Product Management

Maybe you are looking for

  • On exit, I am not asked if I want to save existing tabs and it closes all of them without saving. How do I get F-F to save my tabs on exit?

    I upgraded from version 3.5 In that version when I wanted to quit for the day, I could hit exit and it would ask me if I wanted to quit or save tabs and exit. In version 4 when I hit file, then exit, it does not ask if I want to save the tabs that ar

  • InDesign CS4 repeated crashes

    Hi We have been using InDesign CS4 for several months now, and suffer repeated crashes.  Our systems support contractors have looked at the network, and say its a software issue.  Running it on 2 PCs, Windows 7 OS. Initaially we thought it was networ

  • DVD D DH16D5S

    Dear Sir/ madam, I am using HP compaq alongwith DVD drive DVD D DH16D5S. I want to know whether this DVD have a writer or not? one of ur representative told me that CD can be written over through this DVD. But when using write option through NERO at

  • How restore database only with dbf, ctl, and redolog file

    Hi friends, I had a database oracle 11g, but the server was crashed. Then I just rescue only the files DBF, CTL, and REDOLOG. But I couldn't rescue the spfile and pwd file. How can I restore this database in other server? How can I recreate the spfil

  • Access manager in comm suite 5 issue

    Hi all, I have installed comm suite 5, will access manager and webserver 7 as a container, I am following the exact steps from the doc, but once I finish all the configuration, directory server and webserver all was running fine, is just when I tried