Calling a Report from a Web Form

Hi,
I am calling a Report developed in report 6i from a Web form 6i
Button. I am unable to launch the Report if Report is using a
Customized Template. The report is able to launch if it has no
template or using the templates given in report wizard. Is there
any setting required in the Report Server for reading the
template file???

Hello,
According to the way the reports is launched, the format of the reports output depends on the
variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
Can you check the variable FORMS60_REPFORMAT ?
regards Dennis:
Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
Thanks again for your help!
T.J.

Similar Messages

  • Calling a report from a web form & specifying PDF format

    Has anyone been able to call a report from Oracle Forms (6i or 9i) in a web browser (i.e. by pressing a button or any other link)? We are having problems generating the report in PDF format when we web deployed our forms. In client server mode it works fine with the report deferring to PDF. But in the web browser it reverts to a messy HTML format with the columns being distorted. Running a standalone report from the web is no problem but when it is linked with a form it goes back to HTML. In the old forms (5.0) we used a function like run_product but I am not sure what the problem is in the new environment.
    T.J.

    Hello,
    According to the way the reports is launched, the format of the reports output depends on the
    variables : FORMS60_REPFORMAT (for Forms 6.0 and 6i)
    Two others variables are used : FORMS60_OUTPUT and FORMS60_MAPPING.
    Can you check the variable FORMS60_REPFORMAT ?
    regards Dennis:
    Thanks for the info. Your suggestion of changing the windows registry setting FORMS60_REPFORMAT to 'PDF' worked! I did not have to make any other changes to the form. I left the run_product format as is in the form and it worked like a charm. When we eventually migrate to Oracle Reports/Forms 9i we will look into using run_report_object. But for now we will stick with Oracle Forms6i. There was no need to alter the other registry settings FORMS60_MAPPING and FORMS60_OUTPUT since I followed the instructions of setting the virtual directories (symbolic links) when I installed the forms and reports services.
    Thanks again for your help!
    T.J.

  • How to call a report from a web application

    Hi,
    I have a web server in wich is installed Reports 6i. My question is how can I call reports 6i to generate a pdf using a .rep file from my web application (built with java)?

    Hi,
    The below link will be very useful for one who need idea on calling Oracle Report from Java Application,
    http://www.oracle.com/technology/products/reports/htdocs/getstart/examples/reportswebservice/index.html
    Thanks & Rgds,
    M T

  • Calling a report from an existing form

    hi all,
    i am new to this forms and reports. i have created a report which gives information about an employee. and name it as activity report. i am using reports Report Builder 10.1.2.0.2. i have also created a form. my purpose is " i will enter the employee id, a starting and ending dates as input to the form. these values r to be passed to the query of the reports and the report has to extract the records of that employee between the start and end dates." how can i achieve this. i am entirely new to this reports and forms. please give me a clear reply so that i can call my report and pass that dates and id to my report. and also please explain me how to call a report from a form and make it to run. please make me clear where to write the code whether in forms or rports.
    thank you.

    Hi,
    Check this sample Code..
    DECLARE
    pl_id ParamList;
    pl_name VARCHAR2(10) := 'repdata';
    BEGIN
    pl_id := Get_Parameter_List(pl_name);
    IF Id_Null(pl_id) THEN
    pl_id := Create_Parameter_List(pl_name);
    Add_Parameter(pl_id, 'P_STARTDATE', TEXT_PARAMETER,:BLK_CTRL.P_TODATE);     
    Add_Parameter(pl_id, 'P_ENDDATE', TEXT_PARAMETER, :BLK_CTRL.P_CURRENCY);
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    ELSE
    Destroy_Parameter_List( pl_id );
    END IF
    RUN_PRODUCT(REPORTS, 'D:\MMRROLDL.RDF' ,SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id ,NULL);
    END;

  • CALL A REPORT FROM ORACLE 10G FORMS

    HI,
    I HAVE STARTED TO WORK WITH ORACLE DATABASE 11G AND DEVELOPER SUIT 10G.
    I HAVE A REPORT THAT IT WORKS CORRECTLY WHEN I RUN IT FROM REPORT DEVELOPER.
    BUT WHEN I WANT TO CALL IT FROM A FORM, IT DOESN'T WORK.
    IN ORACLE DEVELOPER 6I, I USE "RUN_PRODUCT" COMMAND AND IT WORKS WELL ,BUT IN
    DEVELOPER SUIT 10G I HAVE TO USE "RUN_REPORT_OBJECT" AND I DON'T KNOW HOW.
    WHEN I COMPILE MY CODES THERE IS NO ERROR ,BUT WHEN I RUN IT, IT SHOWS ME SOME ERRORS .
    THIS IS MY CODES FROM ORACLE HELP :
    DECLARE  
    repid REPORT_OBJECT; 
    v_rep VARCHAR2(100); 
    rep_status VARCHAR2(20);
    BEGIN
    repid := FIND_REPORT_OBJECT('D:\TESTPROJ\REPORT1.JSP'); 
    v_rep := RUN_REPORT_OBJECT(repid);
    END;
    IT SHOWS ME THIS ERROR : FRM-41219 .CANNOT FIND REPORT. INVALID ID.
    AND THEN : FRM-40738. ARGUMENT 1 TO BUILTIN RUN_REPORT_OBJECT CANNOT BE NULL;
    PLEASE HELP ME TO SOLVE THIS PROBLEM
    THANKFUL
    MAHSA

    Manu,
    I added my report to Form-Navigator and I changed it's name to REP1.
    I added all you codes to When-Button-Press event like this :
    DECLARE
         RO_Report_ID REPORT_OBJECT;
         Str_Report_Server_Job VARCHAR2(100);
         Str_Job_ID VARCHAR2(100);
         Str_URL VARCHAR2(100);
         PL_ID PARAMLIST ;
    BEGIN
         PL_ID := GET_PARAMETER_LIST('TEMPDATA');
         IF NOT ID_NULL(PL_ID) THEN
              DESTROY_PARAMETER_LIST(PL_ID);
         END IF;
         PL_ID := CREATE_PARAMETER_LIST('TEMPDATA');
         RO_Report_ID := FIND_REPORT_OBJECT('REP1'); -- This is my report's name in Form-Navigator. Is it correct to put it here ?
         ADD_PARAMETER(PL_ID, 'P_SELECT_CITY',     TEXT_PARAMETER, :CITY); --These are my parameter in REPORT and it's Value in my FORM*
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_FILENAME, 'D:\projects\PROJECT_OF_1388\TestOraDev10g\TEST_REP1');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_EXECUTION_MODE, BATCH);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESTYPE, FILE);
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_DESFORMAT, 'PDF');
         SET_REPORT_OBJECT_PROPERTY(RO_Report_ID, REPORT_SERVER, 'Rep_faraji'); -- as you said, I put my computer name after REP_   here
         Str_Report_Server_Job := RUN_REPORT_OBJECT(RO_Report_ID, PL_ID);
         Str_Job_ID := SUBSTR(Str_Report_Server_Job, LENGTH('Rep_faraji') + 2, LENGTH(Str_Report_Server_Job)); -- as you said, I put my computer name after REP_   here
         Str_URL      := '/reports/rwservlet/getjobid' || Str_Job_ID || '?server=Rep_faraji'; -- as you said, I put my computer name after REP_   here
         WEB.SHOW_DOCUMENT(Str_URL, '_SELF');
         DESTROY_PARAMETER_LIST(PL_ID);
    END;
    But it doesn't work again, And shows this error :
    FRM-41213. unable to connect to the report server Rep_faraji
    Edited by: user508902 on Mar 2, 2010 2:18 AM
    Edited by: user508902 on Mar 2, 2010 2:20 AM

  • 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!!!

  • Calling a report from designer genareted form

    i will appraciate if anyone can tell me how to create a form module that navigate to a report module in 9i designer.i tried action item but i receieved couple of different error messages.i have also tried to find information on this but i couldnt
    thanks!

    Okay, this is gonna be tricky to explain but lemme give it a shot:
    I'm assuming that your Report is a Called Module inside your Form. This allowed you to create an Action Item that calls this Report upon pressing the provided button. Now, generate your Form and open the .FMB. Try to locate these two things:
    1. The Report attached to your form, with the Designer-provided name "CG$OFG_REPORT", and
    2. A Program Unit named "CGNV$AI_(name of action item)" (e.g., I named my action item "FAX" so the prog. unit is named "CGNV$AI_FAX").
    If you dig into the Program Unit's code, you will find that it makes use of a procedure named "CGNV$INVOKE_REPORT" which resides in the standard, provided PL/SQL Library "OFGNAVL.PLL" . I looked for my Ofgnavl file and opened it up to inspect the CGNV$INVOKE_REPORT procedure. I found that it has been hard-coded to call the report "CGNV$OFG_REPORT", and not "CG$OFG_REPORT" !!! That's probably why your action item is failing.
    Inspect the procedure a little further. There are about seven lines, one after another, that all invoke the SET_REPORT_OBJECT_PROPERTY built-in procedure, and then the RUN_REPORT_OBJECT immediately after. What I did was to copy this code, go all the way back to Designer (Design Editor), and build myself a procedure under my module's Application Logic, Named Routines which calls the correct report (I even varied this slightly by specifying the report by it's filename). I even added some code to put out some feedback (i.e., Message) to tell the user when the report has finished successfully.
    To make a long story short, I wrote a procedure to invoke my report, and then I just created a button that calls the procedure when a user presses it.
    Hope this helps. Feel free to email me if you need further guidance.
    Carlos

  • 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.

  • 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

  • HOW TO HIDE USERID PARAMETER, WHEN CALL REPORT FROM MENU USING FORM 10G

    good morning colegas
    i'm from panama
    when i call a report from a oracle forms menu, its send a user, pass and bd in the url, i need to hide this parameter userid,
    cuando llamo un reporte desde forms, se envia el usuario, pass y bd en el url nesesito ocultar estos parametros del url, le agradeceria si alguno tiene algun eejmplo q me de, de como ocultar estos parametros
    i'm using oracle forms y report 10g
    this is my msn [email protected]
    slds desde panama

    this document show us, only when i call a report from a forms, but not from a menu!
    but to hide these parameters, i need to create a bean in a block a way and the menus do not allow me to create these objects
    you done this before?
    you have a example?
    slds desde panama

  • Calling Report from Menu (Oracle Forms 10g)

    We have the applications in Forms6i & Reports 6i (Client Server) and migrating to Forms 10g and Reports 10g. We have the menu, from that menu we are calling all the forms and Reports. For especially Reports earlier we user RUN_PRODUCT but now 10g it is not working. How can call the report using RUN_REPORT_OBJECT
    Important things we have some dynamic parameters (input) to the each report. That means when i called the report from the menu i need to get first parameter form to take the parameters and then can be run the report.

    Here is the code to call report from menu in 10g
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
    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,'P_C_CODE',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_CODE',TEXT_PARAMETER,:GLOBAL.BRANCH);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_VOUCHER_ENTRY.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
                   --Display report in the browser
                   WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

  • Calling a Report from a Form

    I have uploaded my form to the app server and compiled to Linux. I have copied my RDF file to the reports_path/demo directory. I can run the report via a link from our portal using the URL as follows:
    /reports/rwservlet?report=IndRpt.rdf&desformat=pdf&destype=cache&userid=' target="_blank"
    That opens the report in a separate window, which is what we want. So far, so good.
    I can run the form via a link from our portal as well using the URL as follows:
    /forms/frmservlet?config=bsc_ind
    The config section hides all the form parameters very nicely.
    In the portal, I created a Report Server Access portlet, REP_OMHAST2_MIDTIER, and use the following set_report_object calls in my form:
    repid := find_report_object('IndRep');
    SET_REPORT_OBJECT_PROPERTYrepid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTYrepid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    SET_REPORT_OBJECT_PROPERTYrepid,REPORT_SERVER,'rep_omhast2_midtier');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,ls_param);
    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
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://omhast2.omh.state.ny.us:7777/reports/rwservlet/getjobid'||
    substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=rep_omhast2_midtier ','_blank');
    All that comes right out of the white paper.
    Now here's the weird part, I have never seen this before. When I click my "Show Report" button in my form, the report seems to be running, but then I get a very strange dark grey, square icon superimposed over my mouse pointer. The icon has a small yellow "starburst" pattern with a tiny red exclamation point inside. The report does not appear on screen.
    Incidentally, all of this works correctly when I run the same scenario on my workstation using the call to rwserver as: rwserver server=rep_omhast2_midtier. But when we port it to the app server, it does not run. I think it has to be in the way the form calls the report because the report will run as a stand-alone object.
    Anything apparent to anyone out there?

    Well, it looks like I stumped the band. And with good reason. Sorry for the error. The problem was that the user running the form and the report had a pop-up blocker that was blocking the report. The form and the report ran from another machine. I allowed pop-ups from the report's URL and that enabled the report to appear.
    So, here we have another example of how to call a report from a form. Again, I am sorry for any angst this may have caused.

  • Calling Report from Menu (Oracle Forms 11g)

    I'm trying to call a report from a menu item in a menu (that is attached to a form) in Oracle Forms 11g directly and I'm having some difficulty. I know how to call a report from a form and everything works perfectly.
    But since in a menu there is no item called "Report" to attach like there is in Forms, I followed on route which is to attach the "rp2rro" PL/SQL library on the menu file (mmb) and I also even did it on the form itself. Then when you convert a menu using the Forms Migration Assistant, it will comment out statements like "ADD_PARAMETER" and replace with calls to packaged procedures/functions from the package "rp2rro". I set all the parameters
    RP2RRO.SETOTHERS('PARAMFORM=YES');
    RP2RRO.SETDESTYPE('CACHE');
    RP2RRO.SETDESFORMAT('PDF');
    RP2RRO.SETCOMMUNICATIONMODE(SYNCHRONOUS);
    then made the call to the report:
    RP2RRO.RUN_PRODUCT(REPORTS, 'MYREPORT', SYNCHRONOUS, RUNTIME, FILESYSTEM, param_list_id, NULL);
    but all i get is the error "FRM-41219: Cannot find report: invalid ID."
    The Oracle documentation for integration reports in forms is for when you execute the report within a form not a menu item (that is attached to a form). Any clues?
    My environment is:
    Oracle (Database, Fusion Middleware) 11g - Red Hat Enterprise Linux 5
    Web Browser - Internet Explorer 7 on Windows XP Professional
    Thanks,

    Francois Degrelle wrote:
    Hello,
    One option is to use the Web.Show_Document() built-in, with the complete Report Server URL inside. Of course, you can hide some information (connection string for instance) by calling a section of the /reports/conf/cgicmd.dat configuration file.
    FrancoisI tried it using the code below
    DECLARE
    c_relative_path CONSTANT VARCHAR2(50) := '/reports/rwservlet/?server=';
    c_rep_srv_name CONSTANT VARCHAR2(50) := 'rep_wls_reports_calgf3_asinst_1';
    c_rep_name CONSTANT VARCHAR2(30) := 'copy_detail.rdf';
    c_desformat CONSTANT VARCHAR2(10) := 'htmlcss';
    c_destype CONSTANT VARCHAR2(10) := 'cache';
    v_username VARCHAR2(100);
    v_password VARCHAR2(100);
    v_db_instance VARCHAR2(40);
    v_connect_string VARCHAR2(300);
    v_rep_srv_params VARCHAR2(200);
    v_rep_url VARCHAR2(400);
    BEGIN
    v_username := LOWER(get_application_property(username));
    v_password := LOWER(get_application_property(password));
    v_db_instance := LOWER(get_application_property(connect_string));
    v_connect_string := v_username || '/' || v_password || '@' || v_db_instance;
    v_rep_srv_params := '&report=' || c_rep_name ||
    '&desformat=' || c_desformat ||
    '&destype=' || c_destype ||
    '&userid=' || v_connect_string ||
    '&paramform=yes';
    v_rep_url := c_relative_path || c_rep_srv_name || v_rep_srv_params;
    web.show_document(v_rep_url, '_blank');
    END;
    and I get a new tab in the browser opening up (which is good at least) with the Oracle Reports Services page saying:
    Error
    No such Web command ().
    Now I've tried putting a URL of a Oracle's website (http://www.oracle.com) and that works perfectly. Another question is, where would the default directory be if I wanted to say call an HTML file? Would it be in the directory of FORMS_PATH where all my fmb, fmx, rdf, pll, etc...files are stored?
    Thanks,

  • 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

  • Calling Oracle Reports from WEB Pages(JSP)

    We are using Weblogic as the web server, Oracle 8i as the database and JSP(Java Server Pages) as the scripting language.
    We need reports to be invoked and displayed to the browser. Is it possible to invoke Oracle Reports 6i reports from JSP WEB pages and display the output to the browser? How can we do this and what are the additional s/w requirements, if any?
    null

    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.

Maybe you are looking for

  • Need to check PO Posting date at schedule line and material document level

    HI All, I am facing an issue to reconciliation data with ECC. Issue : we have a PO,item,schedule line with delivery date, scheduled qty and quantity received from EKET table we have PO,item,Material document,movement type,posting date with quantity r

  • Issues Missing files & duplicate files and not enough screen space

    Hello everyone, I'm using a 1.67 Ghz 15 in tibook with 1 gig of ram I had issue yesterday, missing files, I was in the rating/keywords panel scrolling through my images, one was a bit soft so I deleted it using the command delete combo. Somehow all o

  • Solaris 10, local zone & vcs

    Hi, Anybody tried running vcs from within a solaris 10 sparse local zone? We currently have two T2000' s each running Solaris 10 6/06. I've installed Veritas Foundation Suite 4.1 on each and configured vcs. The cluster is functioning with failover en

  • Ultra Search Home Page

    I'm trying to get to the Ultra Search home page, however the following link: http://otn.oracle.com/products/ultrasearch/index.html brings up Oracle Warehouse Builder 10g.

  • Screen saver + Energy Saver (Computer Sleep + Display Sleep) won't work since Mavericks

    Howdy, Sorry to bother you. My computer: iMac (21.5-inch Mid 2011), Mac OS X (10.7.3) It took me some time to upgrade to Mavericks, but I did it eventually. After having some problems with Spotlight (which was infinite looping indexing... and I just