Can we call 10g Report from Form-6i???

Hi buddies.....Can we call a report developed in 10g reports from a 6i Form using Run_Report_Object???

Hi,
you can run the reports in 6i. There won't be any problem. I have checked with the RDF file.
I don't know whether the REP file which is generated in 10g can be opened in 6i or not.
Regards,
Manu.
If this answer is helpful or correct, please mark it. Thanks.

Similar Messages

  • Can I call a Report from FORMS??

    I know that it is possible to create a button in a form, and when that button is pressed, the report is shown.
    Now can anyone help me do it??
    I've read some information but I am still not being able to figure out the code, to the trigger WHEN-BUTTON-PRESSED..
    Please, really important.
    Thanks, and I have the 10g..

    Tiago,
    check teh Reports integration whitepaper at otn.oracle.com/products/forms. This paper exists for Forms 6i, 9i and 10g.
    Frank

  • How can we call a report from a form.

    how can we call a report from an existing form.

    Have you searched the Forms help system? It shows you how to use RUN_REPORT_OBJECT

  • 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])

  • 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);

  • Can I call a report from pl/sql?

    How can I call a report from pl/sql? I would like the output to be pdf and have it outputted to the screen?
    We are running Oracle 10g database and 10.1.2.3 application server on LInux Redhat 4.
    Thanks.
    Shirley
    Edited by: jonesfnalgov on Jul 12, 2011 2:17 PM
    Edited by: jonesfnalgov on Jul 12, 2011 2:18 PM

    Hello,
    a package is provided : srwAPIins.sql installs the Event-Driven Publishing API.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_evnt.htm
    The Event-Driven Publishing API is a PL/SQL package that provides the basic functions required for the development of procedures that respond to events in the database. Event-driven jobs are submitted using the HTTP protocol. The server assigns a unique job_ident record to every call, useful for tracking the status of the job.
    Regards

  • 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

  • How Can I call Crystal report from R3?

    Hi experts,
      How Can I call Crystal report from R3?

    Hi Bill,
    Can you please be specific and could you please provide the steps
    Thank you

  • 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 Form in 10g

    Hi all,
    I am very new to Oracle Form builder, I wana to call a report from a Form.
    we are using Oracle 10g Developer suit.
    Can any body please help me regarding on this?
    Regards
    Tanmaya Pradhan(Tam)

    ..or
    Take a look at
    Re: Run Report10g  Through form 10g

  • 10g Migration Problem: error shown when trying to call a report from form

    Dear Friends,
    I am working on migrating developer 2000 forms to 10g forms. I am using migration tool for this. Everything is going fine except calling report from a form.
    Say, in the original form I had the following:
    RUN_PRODUCT(REPORTS,’ C:\test1.rdf’,SYNCHRONOUS,RUNTIME,FILESYSTEM,pi_id,NULL);
    After migration its has become:
    rp2rro.rp2rro_run_product(REPORTS, ’ C:\test1.rdf’,SYNCHRONOUS,RUNTIME,FILESYSTEM,pi_id,NULL);
    Then, I have kept the report ‘test1.rdf’ in the ‘OraHomeAS\reports\samples\demo\’ location and changed the above code into:
    rp2rro.rp2rro_run_product(REPORTS,'test1.rdf',SYNCHRONOUS,RUNTIME,FILESYSTEM,pi_id,NULL);
    Now the form runs fine on application server but it can’t call the report. While attempting to call the report, it shows the following error:
    ORA-06508
    FRM-40735
    Please note that the report ‘test1.rdf’ individually runs fine on the application server and at the time of migration I provided all the information (e.g. report server name) correctly. If I am missing any package, please tell which package I am missing and where should I paste it.
    Please help me because I am very close to the deadline!
    Rgds,
    Luther

    Hi,
    The conversion to use the rp2rrp call needs a library to resolve the call which I think is called rp2rro.pll.
    It seems that this library is not being found at run time, which is what the ora-06508 error often means.
    I guess that you have compiled the form and must therefore have the pll to compile, so it is the forms_path setting in the app server run time that might not be set.
    Look at the environment file (default.env is the original name for this, if you haven't created a custom one) for the entry FORMS_PATH. Is the location of your library specified in the path ?? If not put the directory in, then stop and restart the app server.
    rgds
    Tony

  • Call 10g report from 4.5 form

    Hi everyone,
    Can anyone please tell me, how can i call a 10g report from a 4.5 form? Which are the implications on both sides?
    thanks in advance,
    MC
    Please, can anyone help me?

    All of these suggestions are limited because of the forms engine and plsql engine within forms. You will have to try them. And none of these configurations are supported by oracle.
    Use the old run_product. You will have to install reports runtime on every client
    RUN_PRODUCT(product, document, commmode, execmode, location,
    list, display);Try to make a call to a package in the database that calls utl_http, which makes a call to your reports server via a url.
    Maybe an OLE or VBX call out to IE?
    All of these are stabs in the dark.
    Try upgrading forms!!!

  • Simplest Way 2 Call a report from Forms 10g

    Hello,
    i am using Oracle 10g & tools 10g too,
    What i am trying to do is to call a report from a form...
    So one friend told me 2 use a library exists in Folder Forms90 called " rp2rro"on the installed developer10g tools,i am using the following code :
    ============================================
    Begin
    PARAM_ID := GET_PARAMETER_LIST(PARAM_NAME);
    IF NOT ID_NULL(PARAM_ID) THEN
    DESTROY_PARAMETER_LIST('REPORT_PARAMETER');
    END IF;
    PARAM_ID := CREATE_PARAMETER_LIST(PARAM_NAME);
    ADD_PARAMETER(PARAM_ID,'PARAMFORM',TEXT_PARAMETER,'NO');
    ADD_PARAMETER(PARAM_ID,'COPIES',TEXT_PARAMETER,:COPIES);
    ADD_PARAMETER(PARAM_ID,'P_DISPLAY',TEXT_PARAMETER,:DESTYPE);
    ADD_PARAMETER(PARAM_ID,'DESFORMAT',TEXT_PARAMETER,'pdf');
    ADD_PARAMETER(PARAM_ID,'P_DATA_TYPE',TEXT_PARAMETER,:PERIOD_MONTH);
    ADD_PARAMETER(PARAM_ID,'P_MATERIAL_CODE',TEXT_PARAMETER,:MATERIAL_DESC);
         ADD_PARAMETER(PARAM_ID,'P_DATE_FROM',TEXT_PARAMETER,:DATE_FROM);
         ADD_PARAMETER(PARAM_ID,'P_DATE_TO',TEXT_PARAMETER,:DATE_TO);
         ADD_PARAMETER(PARAM_ID,'MONTH_ID',TEXT_PARAMETER,:MONTH_ID);
         ADD_PARAMETER(PARAM_ID,'FIN_YEAR_CODE',TEXT_PARAMETER,:FIN_YEAR_CODE);
    rp2rro.rp2rro_run_product(REPORTS,'Report_name',SYNCHRONOUS, RUNTIME, FILESYSTEM, PARAM_ID, NULL);
    END;
    The problem is that i am receiving many errors as:
    frm-41219:Can't find report invalid id
    frm-47023:No such parameter named rp2rroDesformat exist in form my_form_name
    frm-40105:Unable 2 resolve reference to item parameter.rp2rrodesformat
    can any kind guy help me pls it's urgent i have no time 2 even read a document 4 it pls help me..!!??
    Regards,
    Abdetu..

    Hi Abdetu,
    Here is a procedure and simple call of the procedure witch Iam using successfully now.
    PROCEDURE INVOKE_REPORT
         url_and_server in VARCHAR2,
         file_name in VARCHAR2,
         des_type in NUMBER,
         des_name in VARCHAR2,
         des_format in VARCHAR2,
         param_list in PARAMLIST
    IS
         l_report_id REPORT_OBJECT := FIND_REPORT_OBJECT('QMSREP');
         l_report_job_id VARCHAR2(100);
         l_userid VARCHAR2(200) := GET_APPLICATION_PROPERTY(USERNAME) || '/' ||
         GET_APPLICATION_PROPERTY(PASSWORD) || '@' ||
         GET_APPLICATION_PROPERTY(CONNECT_STRING);
         l_report_url VARCHAR2(200) := substr(url_and_server, 0, instr(url_and_server, ',') - 1);
         l_report_server VARCHAR2(100) := substr(url_and_server, instr(url_and_server, ',') + 1);
         l_vcStatus VARCHAR2(100);
         l_vcJob VARCHAR2(100);
    BEGIN
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_COMM_MODE, ASYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_SERVER, l_report_server);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_FILENAME, lower(file_name));
    SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_DESTYPE, des_type);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_DESNAME, des_name);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_DESFORMAT, des_format);
         SET_REPORT_OBJECT_PROPERTY(l_report_id, REPORT_OTHER, 'paramform=no userid='||l_userid);
         -- invoke the report (currently we don't use the returned ID)
         l_report_job_id := RUN_REPORT_OBJECT(l_report_id, param_list);
         l_vcstatus := Report_Object_Status(l_report_job_id);
         l_vcJob := substr(l_report_job_id, instr(l_report_job_id ,'_', 1 , 3 ) + 1);
         WHILE l_vcstatus in ('RUNNING','OPENING_REPORT','ENQUEUED')
         LOOP
         l_vcstatus := Report_Object_Status(l_report_job_id);     
         END LOOP ;
         if l_vcStatus = 'FINISHED' then
         Web.Show_Document('http://'||l_report_url||'/reports/rwservlet/getjobid'||l_vcJob||'?server='||l_report_server,'_blank');
         else
              message('Failed - Status was :'||l_vcStatus);
         end if;
    END;
    INVOKE_REPORT ('172.198.1.1:7777,rep_SRV'
                                            ,'MYREP.RDF'
                                            ,cache
                                            ,'htmlcss'
                                            ,l_par_list_id
    hope this helps,
    Alireza

  • Problem calling a report from Forms

    Hi,
    I am currently trying to upgrade our Forms and Reports from 6.0 to 10g. I created a simple form and a simple report and I called the report from the form (passing no parameters) and report was generated fine. Now I'm looking at one of our existing forms and I've complied them in 10g. This time I'm passing a parameter and the report is failing. If I run the report on its own with the same parameter it works fine. I am using the Run_report_object builtin.
    The error I get is the 41214:Unable to run report. The weird thing about this is if I pass in a bogus parameter (not valid in the database), the report will execute fine and I will get a page saying that No Data was Found (text displays when nothing was returned from the query). However, whenever I pass in a good parameter (Data should be returned), the report do not execute and I get the error. So, I updated the database to have the bogus parameter and then when I passed in the bogus parameter again, this time it failed. So it looks like that when data is coming back from the query in the report, I get the error. I'm connected to the same database that was used in the simple example stated above that returned data.
    Does anyone have any idea what could be causing this? Let me know if more information is needed.
    Thanks,
    Karen

    You can check the reports queue for error messages to see what the error actually is.
    http://server:port/reports/rwservlet/showjobs?server=repsever

  • Calling a report from forms

    Hello
    i have a problem with calling a report from a form.
    i use the following statement in the when-button-pressed trigger:
    Run_Product(REPORTS, report.rdf',ASYNCHRONOUS, RUNTIME,FILESYSTEM, '', null);
    in the reports background engine i get the error
    REP-0110: Unable to open file 'report.rdf'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file 'report.rdf'.
    End report report [Mon Nov 25 12:30:40 2002].
    the file report.rdf is in the same folder as the form calling it
    where is the problem
    thanks
    Marjan

    Hi Marjan,
    The problem seems to be that the report is not in a directory
    listed in the reports60_path. Add the directory into your reports60_path
    and check if it solves the problem.
    Best Regards
    Chandra Mohan

Maybe you are looking for

  • Unable to view the approvers in approval preview at SRM PO change

    Hi, We are using SRM 5.0, we are picking approvers from ECC and approvers are picked correctly using BBP_WFL_APPROV_BADI and displayed. Here the problem is ,  when we change the PO in SRM and check the approval preview before we click order. approval

  • Error: unable to find the directory

    Hi experts!!                   While configuring the scenario ( File to MSACCESS) , I am getting an error msg <b>Processing Error:  Directory /lenovo-1a1a67e1/sender does not exist!</b> sender folder is in my Laptop and I configured the scenario in m

  • IE issue with Ajax autocomplete

    Hi, I'm using the Ajax autocomplete function as described at http://htmldb.oracle.com/pls/otn/f?p=31517:53:3795080723385850::NO (Denes Kubicek). Everything works fine except that when I use IE7, I can't save the field information into the database (s

  • LR CC -Pentax Lens support??

    I have just get the new LR CC. New features looks great... but... I'm using Pentax Camera (yes... I do... ) And in the lens correction Panel, I don't see "Pentax" as an option. In the last version of LR (5) I have access to all Pentax Lenses, even th

  • Can I take SAP Exam via Pearson VUE in Asia ?

    When I choose Test Center(in Thailand) I cannot schedule exam because I click "Select Appointment" the dialog is show "No price found." It did not happen if i change Test Center location at USA Can I take SAP Exam via pearson vue in Asia(Thailand) ?