Report no runing on web with parameter form

hi,
when i try to run a report with parameter form it shows an error,
REP-0788 : Warning : The Value of restricted LOV Parameter cust_no is not among the selectable values.
what should i do for running this report on web, i highly appriciate if any one guide me.
thanks
Noman

You get this error when you enter a value in the parameter field that is not in the LOV's for that parameter.
If you don't want to restrict the values for the parameter then you should de-select the "restrict" option in the parameter LOV dialog.
If you do want to restrict the values, make sure that you have an appropriate default value for the parameter (ie: one that is in the list of values). Otherwise the user will accept the default values and hit this error.

Similar Messages

  • How to run .JSP 9iReport from web with Parameter Form

    Hi,
    I m trying to run a .JSP 9ireport from the web. now i have two problems.
    1. how do i display a parameter form from the web, meaning when the user clicks on the link to the report a parameter form should be displayed and the report should give the output for those parameters.
    2. how do i format the report output which i get in the web in pages, with a link called "NEXT" which upon clicking will take the user to the next page.
    Any help will be appreciated. Thanks in advance.
    Unmesh

    1. Take a look "Building a reports with a Parameter Form" in "Getting Started with Oracle9i Reports" in otn (URL: http://otn.oracle.com/products/reports/htdocs/getstart/examples/index.html)
    2. Normally web page doesn't have page concept. If you want to define the page for web, you need to do it yourself in the jsp. However, we do support paper based report that supports page and can be deployed on the web. Use pagestream=yes in the URL request.
    Thanks,
    -Shaun

  • Problum in runing report on web with parameter screen!

    hi,
    when i try to run a report with parameter form it shows an error,
    REP-0788 : Warning : The Value of restricted LOV Parameter cust_no is not among the selectable values.
    what should i do for running this report on web, i highly appriciate if any one guide me.
    thanks
    Noman

    Norman,
    You don't provide very much detail, but this seems to be a problem (I found several in this area, but specific details need
    to be included to help resolve this issue). You need to contact support, provide them
    all the details. They can then advise you as the proper solution (whether it is a work around or a bug in which
    you will need to see if a patch is available. You can try searching metalink for some possible workarounds, but
    you will most likely need the latest patch available for Oracle Reports 6i.
    Regards,
    The Oracle Reports Team

  • Problem in Runinng a report with parameter form through Run_Report_object

    Hi,
    I am trying to run reports thought RUN_REPORT_OBJECT built-in. It works fine in following cases
    * Run a report without parameter Form
    * Run a report with parameter form by passing parameters through parameter
    List.
    But it did not o\work in following cases.
    * Run a report with parameter form by passing parameters through setting the
    REPORT_OTHER option of SET_REPORT_OBJECT_PROPERTY built-in.
    * Run a report with parameter form by using Reports own parameter form.
    In first case it says un able to run report and does not even submitt the job to the AS. In the second case its submits the job but when i show it with WEB.SHOW_DOCUMENT, it opens the parameter form and when i run the report after filling the parameters, it displays an error page.
    I am using 9iDS and 10g AS, and 10g Database. Please help me.
    Mohib.

    Mohib,
    Run a report with parameter form by passing parameters through setting the REPORT_OTHER option of SET_REPORT_OBJECT_PROPERTY built-in.[...] it says un able to run report and does not even submitt the job to the AS
    This sound like a user error to me and you want to check the parameters and maybe look at the Reports Queue Manager for the exact error message
    Run a report with parameter form by using Reports own parameter form.
    See:
    http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.pdf
    and
    http://www.oracle.com/technology/products/forms/pdf/10g/frmrepparamform.zip
    Frank

  • Ssrs report export to excel along with parameter filters

    HI,
    In ssrs reports export to excel along with parameter filters,is it possible or not?
    Could you please help me..
    indu

    Hi Sriindu,
    According to your description, you want to export the report into an excel file with the report parameter and filters. And you want to filter data in excel. Right?
    In Reporting Services, the components for exporting report into a file called Reporting Services Rendering Extension. There are three types of Reporting Services rendering extensions: Data Render Extension,
    Soft page-break renderer extensions, Hard page-break rendering extensions. All these three extension are only for rendering data. It can't keep the filters and parameter in the report. Also excel can't support Reporting Services filter in
    an excel file. So your requirement can't be achieved.
    Reference:
    Exporting Reports (Report Builder and SSRS)
    Interactive Functionality for Different Report Rendering Extensions (Report Builder and SSRS)
    If you have any feedback on our support, please click
    here.
    Best Regards,
    Simon Hou

  • Web Report not working with parameter form

    Hi,
    I have a report which has got a parameter form. This report is
    running fine in client/server environment. But when I deploy the
    same report on web (CGI) using PARAMFORM=YES, I am getting the
    parameter form and after pressing the SUBMIT button I am getting
    a blank report under the following two cases even though I have
    data for that query:
    CASE1: <input type="hidden" name="desformat" value="html">
    then I am getting the report with no data retrieved.
    CASE2: <input type="hidden" name="desformat" value="pdf">
    then I am getting completely blank report (no logo, no column
    titles, etc.)
    See the HTML code below. Remember, the same thing is running
    fine in client/server environment. Moreover, if I make a HTML-
    coded form for the report then everything on the client's
    browser is running fine. But this is not what we want, 'coz we
    are running the "BEFORE PARAMETER FORM" trigger in the report.
    So, should I conclude that web-reports does not work with the
    parameter forms?? Is it a bug???
    Regards
    Moiz
    ----------HTML Code------------------
    <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    bin/rwcgi60.exe">
    Select the Weekend Date for which you would like to see your
    Timesheet report
    <input type="hidden" name="server" value="repserver">
    <input type="hidden" name="report" value="timesheet.rdf">
    <input type="hidden" name="userid" value="696122/696122@ors">
    <input type="hidden" name="destype" value="cache">
    <input type="hidden" name="desformat" value="html">
    <input type="hidden" name="paramform" value = "yes">
    <input type="submit" value="Run Report">
    </p>
    </form>
    -------HTML Code END------------------
    null

    No pal, that's not the problem. The problem lies with the
    "BEFORE PARAMETER FORM" report trigger on the web. Check this
    out on ur report server and u will understand my problem.
    Moiz
    Ramonito Te (guest) wrote:
    : I think the cause is the missing question mark after
    rwcgi60.exe.
    : Anyway here is my html file that runs under cgi. Hope this
    helps.
    : <HTML>
    : <!--Form Action is RWCGI60 URL-->
    : <FORM METHOD=POST
    : ACTION="http://ntserver1/ows-bin/rwcgi60.exe?" METHOD="POST">
    : <!--Parameters not exposed to user are hidden-->
    : <INPUT name=server type=hidden value="ReportsServer">
    : <INPUT name=paramform type=hidden value="yes">
    : <CENTER><H1>Set Reports Multi-tier Server Parameters </H1>
    Report Name: <INPUT name=report type=text value="c:
    : \orant\webdemo\deptemp.rdf">
    : Database Connection: <INPUT name=userid type=text
    : value="scott/tiger@orcl81">
    : <INPUT name=destype type=hidden value="cache">
    : Output Format: <SELECT name=desformat> <OPTION value=HTMLCSS
    : selected> HTMLCSS <OPTION
    : alue=PDF> PDF </SELECT>
    : <HR><INPUT type=submit value="Run Report!">
    : </CENTER> </FORM> </HTML>
    : lue="Run Report!">
    : </CENTER> </FORM> </HTML>
    : M. Moizuddin (guest) wrote:
    : : Hi,
    : : I have a report which has got a parameter form. This report
    : is
    : : running fine in client/server environment. But when I deploy
    : the
    : : same report on web (CGI) using PARAMFORM=YES, I am getting
    the
    : : parameter form and after pressing the SUBMIT button I am
    : getting
    : : a blank report under the following two cases even though I
    : have
    : : data for that query:
    : : CASE1: <input type="hidden" name="desformat" value="html">
    : : then I am getting the report with no data retrieved.
    : : CASE2: <input type="hidden" name="desformat" value="pdf">
    : : then I am getting completely blank report (no logo, no
    column
    : : titles, etc.)
    : : See the HTML code below. Remember, the same thing is running
    : : fine in client/server environment. Moreover, if I make a
    HTML-
    : : coded form for the report then everything on the client's
    : : browser is running fine. But this is not what we want, 'coz
    we
    : : are running the "BEFORE PARAMETER FORM" trigger in the
    report.
    : : So, should I conclude that web-reports does not work with
    the
    : : parameter forms?? Is it a bug???
    : : Regards
    : : Moiz
    : : ----------HTML Code------------------
    : : <form action="http://pc-oracle1.ri.kfupm.edu.sa/cgi-
    : : bin/rwcgi60.exe">
    : : Select the Weekend Date for which you would like to see your
    : : Timesheet report
    : : <input type="hidden" name="server" value="repserver">
    : : <input type="hidden" name="report" value="timesheet.rdf">
    : : <input type="hidden" name="userid" value="696122/696122@ors">
    : : <input type="hidden" name="destype" value="cache">
    : : <input type="hidden" name="desformat" value="html">
    : : <input type="hidden" name="paramform" value = "yes">
    : : <input type="submit" value="Run Report">
    : : </p>
    : : </form>
    : : -------HTML Code END------------------
    null

  • Rep-52005 error when running a report from form with parameter form

    I am trying to run a report from a web deployed form and this report has a parameter form. I am getting a Rep-52005: The specified key report does not exist in key map file.
    I am using Oracle Forms/Reports 10.1.2.0.2. My code is below. The first part works fine where I run a report with no parameter form, but the second part when I have a parameter form gets the about error.
    PROCEDURE call_report (
    p_report_name VARCHAR2,
    p_reportobj_name VARCHAR2 DEFAULT NULL,
    p_parameter_list paramlist DEFAULT NULL,
    p_parameter_string VARCHAR2 DEFAULT NULL
    IS
    repid report_object;
    v_rep VARCHAR2 (100);
    rep_status VARCHAR2 (100);
    v_report_url VARCHAR2 (240);
    v_interface VARCHAR2 (50);
    v_report_parameter VARCHAR2 (1);
    vc_user_name VARCHAR2 (100);
    vc_user_password VARCHAR2 (100);
    vc_user_connect VARCHAR2 (100);
    vc_connect VARCHAR2 (300);
    v_reportserv VARCHAR2 (30);
    v_job_number number;
    BEGIN
    /* Get the database to run the report against and
    find out if the report has any parameters */
    SELECT report_parameter_flag
    INTO v_report_parameter
    FROM program_list
    WHERE program_type = 'REPORTS'
    AND UPPER (screen_id) = UPPER (p_report_name);
    vc_user_name := get_application_property (username);
    vc_user_password := get_application_property (password);
    vc_user_connect := get_application_property (connect_string);
    v_reportserv := 'rep_xxxx_ias10g_home';
    v_report_url := 'http://xxxx.state.il.us';
    v_job_number := length(v_reportserv) +2;
    vc_connect :=
    vc_user_name
    || '/'
    || vc_user_password
    || '@'
    || vc_user_connect;
    v_interface := get_application_property (user_interface);
    IF ( v_interface = 'WEB'
    AND v_report_parameter = 'N'
    THEN
    repid := find_report_object(p_reportobj_name);
    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');
    -- v_reportserv := get_report_object_property (repid,report_server);
    set_report_object_property (repid, report_server, v_reportserv);
    set_report_object_property (repid, report_other, p_parameter_string);
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSIF ( v_interface = 'WEB'
    AND v_report_parameter = 'Y'
    THEN
    repid := find_report_object (p_reportobj_name);
    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, v_reportserv);
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet'
    v_rep := run_report_object (repid);
    rep_status := report_object_status (v_rep);
    IF rep_status = 'FINISHED'
    THEN
    web.show_document (
    v_report_url
    || '/reports/rwservlet/getjobid='
    || substr(v_rep,v_job_number)
    || '?server='
    || v_reportserv
    ,'_blank'
    ELSE
    message ( rep_status
    || 'Report output aborted');
    END IF;
    ELSE
    run_product (
    reports,
    p_report_name,
    synchronous,
    runtime,
    filesystem,
    p_parameter_list,
    NULL
    END IF;
    EXCEPTION
    WHEN OTHERS
    THEN
    message (SQLERRM);
    END;
    My parameter form comes up and I enter the necessary information and hit submit query button. Then I get the Rep-52005: The specified key report does not exist in key map file.
    Any help will be greatly appreciated!!
    Shellie Bricker

    Your code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
    For what I can see, the P_ACTION parameter should end in ?...
    i.e.
    P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet?'
    );If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
    Hope this helps,
    UPDATE:
    If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
    i.e.
    http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
    The above code will throw error REP-52005: The specified key report does not exist in key map file.
    Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM

  • How to Place the report in the WEB from Parameter Form

    Hello folks,
    We are using report 9i.
    From the one our form we are going call the report and get
    the parameter from Parameter form and generate the PDF format of report and show it in the WEB browser.
    Tried with option DesType "Cache" and Desformat "PDF" in the parameter form. It generates but does not show anything anywhere.
    But the following way it works. By calling from Browser directly and pass the parameter.
    /reports/rwservlet?report=Weekly_Status_3.rdf&userid=user/pass&destype=cache&desformat=pdf
    I would like to goto Parameter form, accept the values and generate pdf report and place it in the browser automatically.
    Suggestions please..
    Thanks,
    Senthil

    have paramform=yes added to your url, it will work.
    /reports/rwservlet?report=Weekly_Status_3.rdf&userid=user/pass&destype=cache&desformat=pdf&paramform=yes
    ideally all these can be set in a report server's config file cgicmd.dat.
    venkat

  • Report with parameter form

    I am trying to run the report from menu with the following code
    declare
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(50);
    BEGIN
    repid := find_report_object('test');
    SET_REPORT_OBJECT_PROPERTY(repid, REPORT_FILENAME, :global.user_dir||'test.REP');
    if id_null(repid) then
         pause;
         message('repid is null');
         else
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    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');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=yes');
    end if;
    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=repsrv','_blank');
    ELSE
    message('Error when running report');
    END IF;
    END;
    The report parameter form displays
    and when i enter the values
    gives me the error
    REP-52007: Parameter form format error.
    Copyright (c) 2002, 2005, Oracle. All rights reserved.
    java.lang.IllegalStateException: Writer already retrieved     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:969)     at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136)     at oracle.reports.rwclient.RWWriter.getOutputStream(RWWriter.java:263)     at oracle.reports.rwclient.RWReportRunner.sendFile(RWReportRunner.java:355)     at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:161)     at oracle.reports.rwclient.ServletCmdMgr.handleCmdGetjob(ServletCmdMgr.java:1343)     at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:92)     at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:295)     at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:958)     at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1442)     at oracle.reports.rwclient.RWClient.doPost(RWClient.java:504)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)
    Thanks
    Elsy

    Go to the following page and refer to the section titled: Oracle Forms Services - Using Run_Report_Object to call Reports with a Parameter Form
    http://www.oracle.com/technology/products/forms/techlisting10g.html

  • Web Reports --- How submit button on the parameter form works ?

    Hi all,
    I understand that when we deploy the rdf and run the report through web it opens up with 'Submit query' and 'Reset' buttons. And this is from the html code that we see in BEFORE FORM VALUE (Report Escapes).
    <html>
    <body dir=&Direction bgcolor="#ffffff">
    <form method=post action="_action_">
    <input name="hidden_run_parameters" type=hidden value="_hidden_">
    <font color=red><!--error--></font>
    <center>
    <p><table border=0 cellspacing=0 cellpadding=0>
    <tr>
    <td><input type=submit></td>
    <td width=15>
    <td><input type=reset></td>
    </tr>
    </table>
    <p><hr><p>
    I'm just wondering how form action "_action_" is being taken care of when we click on 'Submit Query' button. Which file will it look for to get these values (action and hidden params ) ?
    I would like to add a new button 'Schedule' on this parameter form which behaves exactly as it does with 'Submit' but I would like to add 'schedule' command in the URL. I could create a 'Schedule' button but was not able to build the functionality on what happens if someone clicks on it.
    For this I need to understand how "Submit Query" works.
    Please give me some inputs on this,
    Thank you
    ML.

    These values are not stored in any file. Reports server will replace action and hidden with the actual values while generating parameter form. You can see the source of html parameter form generated to understand these.
    For your scheduling requirement one very simple solution would be to create a user parameter with name 'SCHEDULE' and map a field in the pform to the 'SCHEDULE' user parameter.
    You can also use a hidden field by name 'SCHEDULE' and set the value using javascript when button is clicked.

  • How to print a report which is consist a paper parameter form

    Hi !
    I have created a report file with paper parameter form and also create a form. Now , when I try to run this form it display
    REP-0788: Warning: The value of restricted LOV parameter ppass is not among the selectable values.
         USER ID     (a combo box with data)
         PASSWORD (a combo box with data)
    After click on submit the query button window dispaly a message run successfuly,But it does not print the report's data, it prints only paper parameter contents.
    i.e. REP-0788: Warning: The value of restricted LOV parameter ppass is not among the selectable values.
         USER ID     (a combo box with data)
         PASSWORD (a combo box with data)
    I used the following codes
    PROCEDURE RUN_REPORT1(vc_reportoj Varchar2, vc_reportserver varchar2, vc_runformat varchar2,report_otherparam VARCHAR2, pvar varchar2) IS
    v_report_id Report_Object;
    vc_ReportServerJob VARCHAR2(100); /* unique id for each Reportrequest */
    vc_rep_status VARCHAR2(100); /* status of the Report job */
    vjob_id VARCHAR2(100); /* job_id as number only string*/
    vfilename varchar2(255);
    vport varchar2(50);
    hidden_action VARCHAR2(2000) :='';
    v_report_other VARCHAR2(4000) :='';
    i number (5);
    c char;
    c_old char;
    c_new char;
    BEGIN
    /* Get a handle to the Report Object itself. */
    v_report_id:= FIND_REPORT_OBJECT(vc_reportoj);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME,name_in(':parameter.path') ||'\'||NAME_IN('CTL_REPORTS.REPORT_NAME'));
         if pvar = 'FILE' then
              vfilename := CLIENT_GET_FILE_NAME('c:\',null, 'All Files (*.*)|*.*|',SAVE_FILE);
              if vfilename IS NOT NULL THEN     
              SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_EXECUTION_MODE, RUNTIME);
         SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESTYPE, FILE);
                   SET_REPORT_OBJECT_PROPERTY(v_report_id, REPORT_DESNAME, vfilename||'.rtf');
                   SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER,vc_reportserver);
                   hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_FILENAME);
    hidden_action := hidden_action||'&destype='||GET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE);
    hidden_action := hidden_action||'&desformat='||GET_REPORT_OBJECT_PROPERTY (v_report_id,REPORT_DESFORMAT);
    hidden_action := hidden_action ||'&userid='||get_application_property(username)||'/'||get_application_property(password)||'@'||get_application_property(connect_string);
    c_old :='@';
    FOR i IN 1..LENGTH(report_otherparam) LOOP
    c_new:= substr(report_otherparam,i,1);
    IF (c_new ='') THEN
    c:='&';
    ELSE
    c:= c_new;
    END IF;
    -- eliminate multiple blanks
    IF (c_old ='' and c_new ='') THEN
    null;
    ELSE
    v_report_other := v_report_other||c;
    END IF;
    c_old := c_new;
    end loop;
    hidden_action := hidden_action ||'&'|| v_report_other;
    hidden_action := 'http://127.0.0.1:8889/reports/rwservlet'||'?_hidden_server='||vc_reportserver|| encode(hidden_action);
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_OTHER,'pfaction='||hidden_action||''||report_otherparam);
    -- run Reports
                   vc_ReportServerJob:=RUN_REPORT_OBJECT(v_report_id);
                   vjob_id := substr(vc_ReportServerJob,length(vc_reportserver)+2,length(vc_ReportServerJob));
    vc_rep_status := REPORT_OBJECT_STATUS(vc_ReportServerJob);
    IF vc_rep_status='FINISHED' THEN
    WEB.SHOW_DOCUMENT ('http://127.0.0.1:8889/reports/rwservlet/getjobid'||vjob_id||'?server='||vc_reportserver||'&_blank');
    ELSE
    message ('Report failed with error message '||vc_rep_status);
    END IF;
    ELSE
         RETURN;
    end if;
    This is the part of the procedure.

    See Viewing Pages in Printer Friendly Mode and Selecting a Printer Friendly Template for an Application
    Thanks,
    Vikram

  • REP-52007 with parameter form

    Hi,
    I've been trying to run parameter forms for 2 days now, and i'm getting desperate.
    For the moment, I can see the parameter form (not like it shows in Report Builder though...)
    When I give my two parameters (it are dates) into the parameter fuild, and i try to execute the query, following error shows :
    REP-52007: Opmaakfout parameterformulier
    java.lang.IllegalStateException: Writer already retrieved     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletResponse.getOutputStream(EvermindHttpServletResponse.java:969)     at javax.servlet.ServletResponseWrapper.getOutputStream(ServletResponseWrapper.java:136)     at oracle.reports.rwclient.RWWriter.getOutputStream(RWWriter.java:263)     at oracle.reports.rwclient.RWReportRunner.sendFile(RWReportRunner.java:355)     at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:161)     at oracle.reports.rwclient.ServletCmdMgr.handleCmdGetjob(ServletCmdMgr.java:1343)     at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:92)     at oracle.reports.rwclient.ServletCmdMgr.handleWebCommand(ServletCmdMgr.java:295)     at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:958)     at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1442)     at oracle.reports.rwclient.RWClient.doPost(RWClient.java:504)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)     at oracle.security.jazn.oc4j.JAZNFilter.doFilter(Unknown Source)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)     at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)     at java.lang.Thread.run(Thread.java:534)
    My OC4J is running, and also the reportserver is active.
    I'm using forms 10g and forms builder 10g.
    This is my code to make the report show :
    PROCEDURE SHOW_REPORT
    (type VARCHAR2, rep_obj VARCHAR2)
    IS
    rep_id REPORT_OBJECT;
    rep_status VARCHAR2(100);
    rep_svr VARCHAR2(21) := 'birserver';
    rep_format VARCHAR2(20) := 'HTMLCSS';
    rep_locatie VARCHAR2(100) := 'C:\PISAD\TEMP\';
    reportserverjob VARCHAR2(100);
    rep_job_id VARCHAR2(100);
    BEGIN
    IF type = 'PDF' THEN
         rep_format := 'PDF';
    ELSIF type = 'XLS' THEN
         rep_format := 'SPREADSHEET';
    ELSIF type = 'HTML' THEN
         rep_format := 'HTMLCSS';
    END IF;
    rep_id := find_report_object(rep_obj);
    set_report_object_property(rep_id, report_comm_mode, synchronous);
    set_report_object_property(rep_id, report_server, rep_svr);
    set_report_object_property(rep_id, report_desname, rep_locatie || rep_obj || '.' || type);
    set_report_object_property(rep_id, report_desformat, rep_format);
    set_report_object_property(rep_id, report_destype, FILE);
         SET_REPORT_OBJECT_PROPERTY(rep_id,REPORT_OTHER,'paramform=yes');
    reportserverjob := run_report_object(rep_id);
    rep_job_id := substr(reportserverjob,length(rep_svr) + 2);
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'|| rep_job_id ||'?server='||rep_svr,'_blank');
    The report destination type is preview, execution mode is runtime, communication mode is synchronous
    I really hope someone can help :(
    thanks alot!

    Your code seems to be implementing metalink note 139546.1 - Using Reports parameter forms with RUN_REPORT_OBJECT on the web.
    For what I can see, the P_ACTION parameter should end in ?...
    i.e.
    P_ACTION=http://<hostname.domain:port>/reports/rwservlet?'
    set_report_object_property (
    repid,
    report_other,
    'paramform=yes P_USER_CONNECT='
    || vc_connect
    || ' P_SERVERNAME='
    || v_reportserv
    || ' P_ACTION='
    || v_report_url
    || '/reports/rwservlet?'
    );If this does not fix your problem, then to troubleshoot further you would have to post the code in your Before Parameter Form trigger of your report.
    Hope this helps,
    UPDATE:
    If the above does not fix your problem, my guess is that report name is not being generated in the hidden runtime values build by the code in the Before Parameter Form trigger.
    i.e.
    http://localhost:8889/reports/rwservlet?report=&destype=cache&desformat=PDF
    The above code will throw error REP-52005: The specified key report does not exist in key map file.
    Edited by: Rodolfo Ferrari on Jul 8, 2009 9:43 PM

  • Help with Parameter Form

    Hello, I have a somewhat complicated Report and I am hoping that I can create the Parameter Form in Reports (I would rather not use Forms because I don't know it as well)
    Here's my problem:
    Right now I have 2 fields that I need help with.
    The first one is called "Report Name" and I have it coded to a bind variable that will search for a series of "work units" such as 02% or 03%
    This works as coded, the problem comes with the other "Work Unit" field. What I have right now is a LOV that queries for work units that start in either 02 or 03. This variable will narrow down the report findings to the specific work unit selected. What I want is for this list to be dependant on what the user choses for report name.
    For example if the user choses ReportName1 the report query finds work units with 02%, but the "work unit" field still displays the list of work units 02% and 03% and the user must know to only chose the certain work units for the specific "Report Name" selected.
    If there is a way to somehow have the "Work Unit" field be dependant on the "Report Name" field please give me soem ideas of how to do it.

    Thats what I was worried about.
    Well I have been trying to learn forms for some time now but I can't quite get the hang of it yet.
    I don't really have anyone who knows it here, so I'm kind of learning on my own.
    Thanks for the response.
    Arin

  • Export to excel in web with oracle forms 10g

    we have an application running on web with oracle 10g forms in windows server 2003. We use webutil to generate excel. But it is terribly slow when its is run on web. When run locally its fine...
    PLS suggest.....
    Thanks,
    Rekha

    CLIENt_OLE transfers lots of small packets over the network,that's what it makes slow. What you could do.... write your own javabean which uses jacob and "aggregates" the low-level OLE-commands to somehow logical commands like "writeValuetoCell"

  • Calling report with parameter form using frmrwinteg

    Hi,
    I am calling a report with a parameter screen from a form and am using the frmrwinteg bean. This works fine on our test application server but, when moved onto our production application server, the database logon screen is presented after pressing the submit button on the parameter screen. The cause of the problem seems to be the html generated to simulate the parameter screen. The html on the test application server contains a BASE tag in the HEAD section with an href starting "http:/servername.companyname.com". However, the same tag in the html generated on the production application server is missing the ".companyname.com", causing the cookie produced by the frmrwinteg bean to not be found. Does anyone know how the BASE href tag is generated and what I need to change to get the correct BASE href value? I am using Forms/Reports 10g R2 and Application Server 10.1.2.
    Cheers....

    Appendix "A" of this document describes how cookie_domain works:
    http://otn.oracle.com/products/forms/pdf/10g/frmwebshowdoc_rep.pdf

Maybe you are looking for

  • PS6 raw image thumbnails gone in finder

    Recently upgraded to Photoshop CS6 and as a result raw images thumbnails no longer show up in finder windows. I use the finder for sorting hundreds of images - now it requires me to open Photoshop to see an image. Apple has always supported new versi

  • How do I "Open In New Tab" by wheel click (like in Windows)?

    I have a Microsoft Trackball Explorer (though I imagine this pertains to ANY mouse). In Windows if I click on a link with the wheel it open it in a tab. Not sure if this was a driver feature or what, bit it sure was handy. In OS X clicking the wheel

  • Iphoto/MobileMe request to server failed

    In attempting to publish an iPhoto album (Life '09) on MobileMe after loading the thumbnails, I receive a message that it cannot publish that album "request to server failed". I have Life '09 version of iPhoto and my MobileMe account is working well

  • ERROR - Select a location to which a plant has been assigned

    1 Message   Select a location to which a plant has been assigned  (Item  BOLT&NUT 4.6 COMM HEX HEAD BLK 10X170MM )  this is the error message I get any idea how to fix it? Cheers B

  • Ipod update wiped my ipd, now it's in recovery mode and won't restore

    I have read through many of the posted forums, but can't seem to find anything that relates to my particular issue. I have a 60g G5 I updated to iTunes 7 with no problem. It asked me to update my ipod software which i did hesitantly. This wiped my ip