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

Similar Messages

  • 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

  • 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

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

  • 10g Report after Parameter form REP-52007??

    I have been struggling for years to display report with parameter form = yes, Report with parameter form=no works perfectly. Report with paramform=yes shows parameter but pressing submit query gives
    REP-52007 Parameter form format error
    My enviornment is:
    Windows 2003 Forms and Report Secrvices 10.0.xx
    i found some where before parameter form code can any one has such type of workaround with details
    Please help......
    Edited by: Zahid Rahim on Mar 18, 2010 2:33 PM

    Thanx Denis...
    This is the source of my parameter form.
    <html>
    <head>
    <base href="http://vpn.iwm.com/reports/rwservlet/getfile/HW/YX+JlF07hIshsw7rSixK7d1yytLr6mhU=/28482206.htm">
    </head></html>
    <html>
    <body dir="LTR" bgcolor="#ffffff">
    <form method=post action="&report=D:\OracleApps\sales\reports\Order_Booking_Saleman.rdf&destype=CACHE&desformat=pdf&userid=WH/WH@oracle-server&">
    *<input name="hidden_run_parameters" type=hidden value="">*
    <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>
    <!-- Created by Oracle Reports 10:24 Mon Mar 22 , 2010 -->
    <table border=0 cellspacing=0 cellpadding=0 width=357>
    <tr><td width=29></td><td width=25></td><td width=1></td><td width=2></td><td width=1></td><td width=55></td><td width=76></td><td width=1></td><td width=1></td><td width=1></td><td width=21></td><td width=113></td><td width=2></td><td width=27></td><td width=2></td></tr>
    <tr><td colspan=15 height=38></td></tr>
    <tr valign=top>
    <td height=9></td>
    <td width=326 colspan=13 rowspan=5 align=center><font size=6 face="Arial" color="#ffffff"><b>ORDERS</b></font></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr valign=top>
    <td height=9></td>
    <td></td>
    </tr>
    <tr><td colspan=15 height=38></td></tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td width=269 colspan=8 rowspan=3 align=center><font size=4 face="Arial" color="#ffffff"><b>Booking Date</b></font></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td width=134 colspan=5 rowspan=2 align=center><font size=2 face="Arial"><b>FROM</b></font></td>
    <td></td>
    <td width=134 colspan=2 rowspan=2 align=center><font size=2 face="Arial"><b>TO</b></font></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=4></td>
    <td></td>
    <td colspan=3></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4 rowspan=3><INPUT type=TEXT name="pbdatefrom" size=19 maxlength=13 value="15022006"> <BR><font face="Arial,Helvetica" size="-2"> (19120007) </font><P></td>
    <td></td>
    <td colspan=5 rowspan=3><INPUT type=TEXT name="pbdateto" size=19 maxlength=13 > <BR><font face="Arial,Helvetica" size="-2"> (22032010) </font><P></td>
    <td colspan=2></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td></td>
    <td colspan=2></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td></td>
    <td colspan=2></td>
    </tr>
    <tr><td colspan=15 height=9></td></tr>
    <tr valign=top>
    <td height=9 colspan=5></td>
    <td width=55 rowspan=2 align=right><font size=2 face="Arial"><b>Sale Point</b></font></td>
    <td colspan=9></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=5></td>
    <td colspan=9></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=8 rowspan=2><SELECT name="pspname" size=1 > <OPTION selected value="ALL SALE POINTS"> ALL SALE POINTS <OPTION value="FACTORY"> FACTORY <OPTION value="GARDEN TOWN"> GARDEN TOWN <OPTION value="GULBERG"> GULBERG <OPTION value="ISLAMABAD"> ISLAMABAD <OPTION value="KARACHI"> KARACHI </SELECT></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4></td>
    </tr>
    <tr><td colspan=15 height=9></td></tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=8 rowspan=3><SELECT name="PSRID" size=1 > <OPTION value="1"> 1 - SOHAIL ASLAM <OPTION value="2"> 2 - AKHTAR RIAZ <OPTION value="3"> 3 - SHAHID KHAN <OPTION value="4"> 4 - IBRAHIM MIAN <OPTION value="5"> 5 - ZULFIQAR KHAN <OPTION value="6"> 6 - AZHAR HUSSAIN <OPTION value="7"> 7 - ABDUL MUSTAFA <OPTION value="8"> 8 - SYED WAQAR ABBAS <OPTION value="12"> 12 - REHAN <OPTION value="13"> 13 - FARHAN <OPTION value="14"> 14 - SHAHINA AZIZ <OPTION value="15"> 15 - OMAR FAROOQ <OPTION value="16"> 16 - MUDASSAR ABBAS <OPTION value="17"> 17 - AMJAD ALI RAZI <OPTION value="18"> 18 - MIAN IBRAHIM <OPTION value="19"> 19 - KHURRAM SUMEER <OPTION value="20"> 20 - TAYYAB <OPTION value="21"> 21 - COMMON AT FACTORY <OPTION value="22"> 22 - COMMON AT GULBERG <OPTION value="23"> 23 - COMMON AT GARDENTOWN <OPTION value="24"> 24 - COMMON AT KARACHI <OPTION value="25"> 25 - ADEEL AHMED <OPTION value="26"> 26 - N. A. ABDULLAH <OPTION value="27"> 27 - AZIZ AHMED <OPTION value="28"> 28 - BATOOL FATIMA <OPTION value="29"> 29 - QURATUL AIN AZIZ <OPTION value="30"> 30 - SHAKIR KHAN <OPTION value="31"> 31 - SHAFAQ AROOJ <OPTION value="32"> 32 - NIHAL BAIG <OPTION value="33"> 33 - ALI ASGHAR <OPTION value="35"> 35 - MADIHA JALAL <OPTION value="34"> 34 - ALI FAROOQ <OPTION value="37"> 37 - MALIHA OMER <OPTION value="36"> 36 - KIPTIA <OPTION value="38"> 38 - SHAHZAD <OPTION value="39"> 39 - FAHAD <OPTION value="40"> 40 - FAKHAR SHAHZAD <OPTION value="41"> 41 - ZUBAIR IQBAL <OPTION value="42"> 42 - MUHAMMAD ABBAS <OPTION value="43"> 43 - ABDUL RAHEEM <OPTION value="44"> 44 - ALI RAZA <OPTION value="45"> 45 - MUHAMMAD SABIH <OPTION value="46"> 46 - NAGIEB AHMED <OPTION value="47"> 47 - RAJA TAHIR IRSHAD <OPTION value="48"> 48 - MOAZZAM KHAN <OPTION value="49"> 49 - HAJRA FAREED <OPTION value="50"> 50 - FAHIMUDDIN <OPTION value="51"> 51 - FARKHANDA <OPTION value="52"> 52 - JAWWAD MUNIR <OPTION value="53"> 53 - ARSALAN RIAZ <OPTION value="54"> 54 - HASEEB FAROOQ <OPTION value="55"> 55 - MISBAH GUL AWAN <OPTION value="57"> 57 - YASIR ILYAS <OPTION value="56"> 56 - FIRDOUS IQBAL <OPTION value="59"> 59 - TAHIR MEHMOOD <OPTION value="60"> 60 - ADIL HUSSAIN <OPTION value="61"> 61 - WASEEM AHMED RAJA <OPTION value="62"> 62 - SHAKEEL AHMED <OPTION value="63"> 63 - ABDUL MALIK M. OWAIS <OPTION value="64"> 64 - MIAN ZAHID IQBAL <OPTION value="65"> 65 - AHSAN MUSTAFA <OPTION value="66"> 66 - IRFAN ALI AWAN <OPTION value="70"> 70 - MEHMOOD <OPTION value="71"> 71 - SAJID <OPTION value="73"> 73 - AFZAL <OPTION value="75"> 75 - EHSAN ULLAH BAJWA <OPTION value="76"> 76 - SALE 3 <OPTION value="77"> 77 - SALE 4 <OPTION value="78"> 78 - SALE 5 <OPTION value="79"> 79 - SALE 6 <OPTION value="80"> 80 - SALE 7 <OPTION value="81"> 81 - BILAL <OPTION value="82"> 82 - ALI ASGHAR <OPTION value="83"> 83 - RAJA BILAL KHALID <OPTION value="84"> 84 - M. Irfan Ali <OPTION value="85"> 85 - SALE 5 <OPTION value="86"> 86 - SALE 6 <OPTION value="87"> 87 - SALE 7 <OPTION value="88"> 88 - LATIF A. MALIK <OPTION value="89"> 89 - LATIF A. MALIK <OPTION value="91"> 91 - MAZHAR ALI <OPTION value="93"> 93 - NAEEM AHMAD <OPTION value="94"> 94 - SADIQ NAZIR <OPTION value="95"> 95 - MARIYUM SHEIKH <OPTION value="96"> 96 - ALLAH DITTA <OPTION value="97"> 97 - GHOUS BUX <OPTION value="98"> 98 - MUHAMMAD ZAHID <OPTION value="99"> 99 - sales-3-99 <OPTION value="100"> 100 - FAIZA SIDDIQ <OPTION value="101"> 101 - MUHAMMAD JAVAID <OPTION value="102"> 102 - SAQIB BAIG <OPTION value="103"> 103 - MUSTAFA TAJ <OPTION value="104"> 104 - RASHID IQBAL <OPTION value="105"> 105 - GHULAM SHABBIR <OPTION value="106"> 106 - SAMIULLAH <OPTION value="107"> 107 - BEENISH ATTIQ <OPTION value="108"> 108 - MUHAMMAD UMAIR <OPTION value="109"> 109 - SABIHA FATIMA <OPTION value="110"> 110 - DANISH AHMAD <OPTION value="111"> 111 - TANIA NASIR <OPTION value="112"> 112 - NASIR JAFFERY <OPTION value="113"> 113 - RAMISH FATIMA <OPTION value="114"> 114 - MUHAMMAD SABIR <OPTION value="115"> 115 - MAJID IMRAN <OPTION value="116"> 116 - SHAHID AZIZ <OPTION value="117"> 117 - ADNAN ZULFIQAR <OPTION value="118"> 118 - NADIA YAQOOB <OPTION value="119"> 119 - ASIM QAMAR <OPTION value="120"> 120 - ASHFAQ ALAM <OPTION value="143"> 143 - Nadra Anjum <OPTION value="123"> 123 - ASIF ALI <OPTION value="124"> 124 - OMAR FAROOQ <OPTION value="125"> 125 - ADEEL MUNIR <OPTION value="126"> 126 - sales-1-126 <OPTION value="127"> 127 - sales-1-127 <OPTION value="128"> 128 - sales-1-128 <OPTION value="129"> 129 - sales-1-129 <OPTION value="130"> 130 - sales-1-130 <OPTION value="131"> 131 - sales-1-131 <OPTION value="132"> 132 - sales-1-132 <OPTION value="133"> 133 - sales-1-133 <OPTION value="134"> 134 - sales-1-134 <OPTION value="135"> 135 - sales-1-135 <OPTION value="136"> 136 - sales-1-136 <OPTION value="137"> 137 - sales-1-137 <OPTION value="138"> 138 - sales-1-138 <OPTION value="139"> 139 - sales-1-139 <OPTION value="140"> 140 - sales-1-140 <OPTION value="141"> 141 - sales-1-141 <OPTION value="142"> 142 - IRAM <OPTION value="144"> 144 - Iram Shahzadi <OPTION value="145"> 145 - Rubina Jaffar <OPTION value="146"> 146 - Faiza Nazir <OPTION value="147"> 147 - AWAIS ASHRAF <OPTION value="148"> 148 - IMRAN ASHRAF <OPTION value="149"> 149 - RAHEEL AHMED <OPTION value="150"> 150 - TARIQ MASOOD <OPTION value="151"> 151 - SADIA <OPTION value="152"> 152 - AMAD ZIAFAT <OPTION value="153"> 153 - ABID HUSSAIN <OPTION value="154"> 154 - SUMAIRA SYEDA <OPTION value="155"> 155 - RIZWAN ASLAM <OPTION value="156"> 156 - ANUM MUSHTAQ <OPTION value="157"> 157 - ABDUR REHMAN ASIF <OPTION value="158"> 158 - FAHIM RAFIQUE <OPTION value="159"> 159 - ABBAS ALI <OPTION value="160"> 160 - ATTA ULLAH <OPTION value="161"> 161 - TALIB MUKHTAR <OPTION value="162"> 162 - ASIM MUSHTAQ <OPTION value="163"> 163 - AZHAR HUSSAIN <OPTION value="164"> 164 - TAJAMUL BUTT <OPTION value="165"> 165 - LATIF MALIK <OPTION value="166"> 166 - WARIS ALI <OPTION value="167"> 167 - SAHIBZADA ABDUL SATTAR <OPTION value="168"> 168 - KASHIF NADEEM <OPTION value="169"> 169 - SHAISTA MIRZA <OPTION value="170"> 170 - QAISAR MEHMOOD <OPTION value="171"> 171 - NAZAM MUHAMMAD <OPTION value="172"> 172 - SAJJAD AHMAD <OPTION value="173"> 173 - MUHAMMAD AZIM <OPTION value="174"> 174 - Muhammad Waqar <OPTION value="175"> 175 - KEHAN <OPTION value="176"> 176 - FAISAL NADEEM <OPTION value="177"> 177 - SAJID NAZIR <OPTION value="178"> 178 - MUHAMMAD ALI <OPTION value="179"> 179 - GHULAM SHABBIR <OPTION value="180"> 180 - MUHAMMAD ARSHAD <OPTION value="181"> 181 - AAMIR ABBAS <OPTION value="182"> 182 - FAHAD AQEEL <OPTION value="183"> 183 - RANA MUBASHIR <OPTION value="184"> 184 - BILAL SHEIKH <OPTION value="72"> 72 - SR <OPTION value="74"> 74 - SR74 <OPTION value="185"> 185 - MUHAMMAD SOHAIB <OPTION value="186"> 186 - MUHAMMAD IBRAHIM <OPTION value="187"> 187 - MUHAMMAD WAQAS <OPTION value="188"> 188 - RAGHIB JAVAID <OPTION value="189"> 189 - SAIMA SAYYED <OPTION value="190"> 190 - MUHAMMAD AFZAAL <OPTION value="191"> 191 - TAYYABA SHAHEEN <OPTION value="192"> 192 - MISS HUMA <OPTION value="193"> 193 - MUNEEB ASLAM <OPTION value="194"> 194 - MUHAMMAD NAEEM <OPTION value="195"> 195 - SHAHER BANO <OPTION value="196"> 196 - SHAISTA <OPTION value="197"> 197 - HASHAM BAIG <OPTION value="198"> 198 - WAQAS MUGHAL <OPTION value="199"> 199 - FARAH NAEEM <OPTION value="200"> 200 - ALMINA <OPTION value="201"> 201 - FAZLULLAH <OPTION value="202"> 202 - TANYA KARIM <OPTION value="203"> 203 - IMRAN GILLANI <OPTION value="204"> 204 - KHAWAR QAYYUM <OPTION value="205"> 205 - JAWAD MUNAWAR <OPTION value="206"> 206 - ARSHAD FAROOQ </SELECT></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=3></td>
    <td colspan=4></td>
    </tr>
    <tr><td colspan=15 height=19></td></tr>
    <tr valign=top>
    <td height=9 colspan=2></td>
    <td colspan=9 rowspan=3><SELECT name="PSALE" size=1 > <OPTION value="D"> D <OPTION value="T"> T </SELECT></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=2></td>
    <td colspan=4></td>
    </tr>
    <tr valign=top>
    <td height=9 colspan=2></td>
    <td colspan=4></td>
    </tr>
    </table>
    </center>
    </body>
    </form>
    </html>
    what should be the value of hidden_run_parameters ????
    i have also created 3 parameters in report p_action, p_User_connect and p_servername
    i am using the procedure below to call the report
    PROCEDURE show_report(pRptServer varchar2,pRptObj varchar2,pRptFormat varchar2,pRptPath varchar2,pRptParameter varchar2,pParamForm varchar2) IS
         repid REPORT_OBJECT;
         rep_status varchar2(30);
         v_rep VARCHAR2(100);
         vjob_id varchar2(100);
         v_reportserver varchar2(50):=pRptServer;
         v_runformat varchar2(50):= pRptFormat;
         hidden_action varchar2(1000);
         v_report_other VARCHAR2(4000) :='';
    c char;
    c_old char;
    c_new char;
    begin
                   repid := FIND_REPORT_OBJECT(pRptObj);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,pRptPath);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_reportserver);
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,v_runformat);
                   --SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,pRptParameter||' paramform='||pParamForm);
                   -- code for pfaction
                   hidden_action := hidden_action ||'&report='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME);
                   hidden_action := hidden_action ||'&destype='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE);
                   hidden_action := hidden_action ||'&desformat='||GET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT);
                   hidden_action := hidden_action ||'&userid=' ||GET_APPLICATION_PROPERTY(username)||'/'||GET_APPLICATION_PROPERTY(password)||'@'||GET_APPLICATION_PROPERTY(connect_string);
                   hidden_action := hidden_action ||'&'||v_report_other;
                   SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'pfaction='||hidden_action||' '||pRptParameter||' paramform='||pParamForm);
                   v_rep := RUN_REPORT_OBJECT(repid);
                   vjob_id := substr(v_rep,length(v_reportserver)+2,length(v_rep));
                   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'||vjob_id||'?server='||v_reportserver||'','_blank');
                        message('Finished');
                   else
                        message('Error');
                   end if;
    end;
    Your urgent reply will be highly appreciated.........
    Edited by: Zahid Rahim on Mar 22, 2010 11:10 AM

  • Report 9i parameter form problem, is it a bug?

    Hi all,
    I am using Dev 9i IDS, rel. 9.0.2, running in windows 2000. I've been converting my forms and reports from previous versions to 9i, and I came across an issue with the report's parameter form.
    First, I thought it could be a problem during the conversion , but to make sure I developed a new form and a new report straight in the 9i IDS suite, using Scott's DEPT table. The new form is simple having a button to call the new report which is based on the DEPT table and accepts an user's input for a dept. no.
    The same problem occurs:
    - in the form, if I set PARAMFORM=HTML then it could not open the report parameter form, hence the report could not run.
    - if I set PARAMFORM=YES, then the report parameter form is displayed, then I can enter a value for the department number. BUT, when I clicked the Submit Query button the report failed, and I received the following error:
    REP-52007: Parameter form format error.
    java.lang.IllegalStateException: Response is already committed!
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.EvermindHttpServletResponse.setContentType(EvermindHttpServletResponse.java:973)
         at javax.servlet.ServletResponseWrapper.setContentType(ServletResponseWrapper.java:27)
         at oracle.reports.rwclient.RWReportRunner.setContentType(RWReportRunner.java:261)
         at oracle.reports.rwclient.RWReportRunner.getMainFile(RWReportRunner.java:135)
         at oracle.reports.rwclient.CommandManager.handleCmdGetjob(CommandManager.java:1219)
         at oracle.reports.rwclient.CommandManager.handleWebCommand(CommandManager.java:369)
         at oracle.reports.rwclient.RWClient.handleWebCommand(RWClient.java:651)
         at oracle.reports.rwclient.RWClient.processRequest(RWClient.java:1053)
         at oracle.reports.rwclient.RWClient.doPost(RWClient.java:318)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    I have no problem integrating others reports that don't have parameter form using run_report_object. And, I've checked and tried different ways of manipulating the parameter value using to_number in the report's where clause etc., it never worked.
    I guess the only workaround is to create the parameter form in Forms builder. Is there other ways of doing it , or is it a bug of the 9i IDS suites that needs to be fixed?
    - Thanks

    Hi Frank,
    There's a note published on Metalink, note 139546.1, showing a workaround to thi problem. but
    - it is rather lengthy and confusing, may not be practical .
    - it only applies to Forms and Reports 6i.
    However, it shows that the problem comes from 2 items in the source code of the parameter form which is produced by the RUN_REPORT_OBJECT built-in:
    1. <form method=post action=""> where action contains an empty string, it needs to have a valid entry, e.g.
    <form method=post action="http://hostname:port/cgi/rwci60.exe?">
    2. <input name="hidden_run_parameters" type=hidden value=""> where hidden value is also empty. It should contains all parameter values passed to the report parameter form, e.g.
    <input name="hidden_run_parameters" type=hidden value="report%3test+destype%3Dcache+userid%Dscott.....">
    And that is what I found, but I am reluctant to try it in 9i IDS, hoping Oracle has a better solution than that.
    Tho.

  • 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

  • Disabling the 'Schedule' tab on the Reports Portlet Parameter Form

    Hi,
    I have deployed several Oracle Reports through Portal using the built in Reports Portlet Parameter Form and I was wondering if anyone knows how to disable the 'Schedule' tab located on this form. I would like users to run the reports but not to schedule them.
    Thanks

    Hi .
    I forgot to say that, the reports is an XML report .
    regards
    rajesh
    Hi.
    I am facing a problem with the parameter form in reports 10g. The number of parameters in this report are huge. After designing the parameter form , i save and close the report. Now if i re-open the report to do changes, the width and height of the parameter form is reduced (which i increased changed previously) and if i click on any field , that specific field is repositioning itself inside the (reduced)border lines.
    I request the forum to give a remedy on this issue.
    thanks in advance
    regards
    rajesh

  • How can i make a report with parameter?

    hi.
    i'd like make a report with parameter , for example when i run a report at first i fill dates ( from dd/mm/yy to dd/mm/yy) and after that run my query.
    i made a query ( select name,date from x where date between :a and :b) but when i run the report it return no row select.
    thanks

    Hi,
    This is because the query is expecting a value for :a and :b. You should run the customization form first. Enter the values
    for the :a and :b and save it. Next time when you run the report it will always pick up those values. You can also mention the
    values at design time in the customization form display options by specifying the default values.
    Thanks,
    Sharmila

  • How to set more then three items in report with a form

    Hello,
    I have an interactive report with a form. In the interactive report i want to set the more than three form items, how can i do this.
    can anyone help me ot with this.
    Thanks,
    Orton

    More than 1 name/value pair can be entered for each item of the column link: just separate them with commas (','), and ensure that the order of the names and values matches.
    (Please change the handle in your forum profile to something better than "user11940294", and in search the forum before posting: this topic has occurred a number of times.)

  • Report without Parameter form

    I would like to generate report without Parameter form being displayed.How to do?

    If you use Forms to pass parameters to Reports, use add_parameter('PARAMFORM',text_parameter,'NO'). This will "disable" the parameter form.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by keyurashu:
    I would like to generate report without Parameter form being displayed.How to do?<HR></BLOCKQUOTE>
    null

  • Report with a form not showing all form data?

    Hello,
    I have an application that is using a report with a form, and when I click EDIT on the report column, it takes me to the form page which should be populated with all the data from the previous report row.
    I have not modifed anthing from either page -- but (2) fields in particular (float) that I know have data is not getting populated. They are of the text field type and the row fetch is done automatically. What could be causing this? If I check the table I know there is data for those fields.
    Thanks for any help,
    Jeff

    Thanks for the reply. I have the columns set up just as you have suggested. I even created a new report with form wizard and tried to update those two questionable columns.
    If the columns are null, and I add values, they save. But then when I go back and update the record, but different columns, it nulls out the two I am talking about. I am wondering if a trigger is out there someplace that is causing them to get nulled out.
    Regards,
    Jeff

  • Does BOXI support crystal reports with parameter references in formulas?

    I am designing a report in Crystal Reports XI Developer that contains parameters, which are passed to a stored procedure and are also used within formulas ( in Crystal Syntax ie. {?FORMAT_ID} ) in the report itself.
    I can run the report successfully in CRXI Developer.  The formulas use the correct values from the parameters entered during execution and everything looks good.
    I then deploy the report to Business Objects Enterprise XI.  I do all of the things necessary to manage the report including setting up the proper database connection information and default parameter values.
    When I run the report using the Crystal Report Viewer, I get the following error message:
    Error in File Forecasting.rpt:
    Error in formula <Report Format>.
    'if (not isNull({?FORMAT_ID} ) ) then
    This field name is not known.
    Details: errorKind
    This happens when I press the "Preview" button in the Manage Object dialog from Crystal or when I run the report using InfoView.
    I have changed the formulas and it doesn't seem to matter what the specific content of the formula is; other than the existence of a parameter reference in the formula.  If I comment out the parameter and replace it with a hard-coded value, it gets through the formula fine.
    Does Business Objects Enterprise XI support crystal reports with parameter references in the formulas?
    Thanks,
    Tim H.

    Hi,
       In Crystal Reports under File -> Report Options >check convert Null Values to default > Verify on first refresh > Verify stored procedures on first refresh.
    This corrected the issue by allowing the query engine time to locate those columns and map them to the query being sent by the report.
    The convert null values was added because those field were being used in the record selection and grouping.
    Regards,
    Vinay

  • Reports Portlet Parameter Form LOV Format

    Hi,
    I have created several LOV's that I want to use in the Reports Portlet Parameter Form for running Oracle Reports, but the format I am choosing when creating the LOV's is not showing correctly on the parameter form. I am picking 'Check Box' and 'Radio Group' for several of the LOV's, but they are still displaying as Dropdowns on the parameter for. Am I doing something wrong here, can the parameter form show check boxes and radio buttons?
    Thanks

    hello,
    i am afraid the answer to both questions is 'no'. i would suggest you create some HTML/JSP parameter forms for your reports. the parameter form editor of reports is very limited and for more complex requirements we suggest using other tools (or the JSP web source of reports, which is available from 9i onwards).
    thanks,
    ph.

  • FRM-41213 When calling report from a form using RUN_REPORT_OBJECT

    Hi,
    I get an error frm-41214:unable to connect to the report server when i am trying to call a report from a form using RUN_REPORT_OBJECT.
    My code is as follows:
    I have created a simple report using employee table such tht when i give the department number as parameter it should get the corresponding details along with that i also have highlited the system parameters:
    DESFORMAT
    DESNAME
    DESTYPE
    also other user parameters as
    p_action
    p_servername
    p_user_connect
    and in the before parameter form trigger the following code:
    function BeforePForm return boolean is
    vc_parameter_form VARCHAR2(4000);
    vc_hidden_runtime_values VARCHAR2(1000);
    vc_report_name VARCHAR2(100);
    begin
    IF (:P_ACTION = '_action_') THEN
         vc_hidden_runtime_values := '_hidden_';
    ELSE
         srw.get_report_name(vc_report_name);
              vc_hidden_runtime_values:='report='||vc_report_name||'&destype='||:destype||'&desformat='
    ||:desformat||'&userid='||:p_user_connect||'&server='||:p_servername;
    END IF;
    vc_parameter_form:='<html><body bgcolor="#ffffff"><form method=post action="'
    ||:P_ACTION||'">'||'<input name="hidden_run_parameters" type=hidden value="'
    ||vc_hidden_runtime_values||'">'||'<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>';
                        srw.set_before_form_html(srw.text_escape,vc_parameter_form);
    return (TRUE);
    end;
    After this i created a form with department table as my datablock:
    I created a report object in the form with name REPORT6.
    -Created a procedure in the form with the following code
    PROCEDURE RUN_REPORT_OBJECT_PROC(report_id REPORT_OBJECT,reportserver VARCHAR2,runformat VARCHAR2) IS
    report_message VARCHAR2(100);
    rep_status VARCHAR2(100);
    vc_user_name VARCHAR2(100);
    vc_user_password VARCHAR2(100);
    vc_user_connect VARCHAR2(100);
    vc_connect VARCHAR2(300);
    BEGIN
    vc_user_name:=get_application_property(username);
    vc_user_password:=get_application_property(password);
    vc_user_connect:=get_application_property(connect_string);
    vc_connect:=vc_user_name||'/'||vc_user_password||'@'||vc_user_connect;
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,ASYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,runformat);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,reportserver);
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,'p_deptno='
    ||:Dept.Deptno
    ||' paramform=yes P_USER_CONNECT='
    ||vc_connect||' P_SERVERNAME='||reportserver
    ||' P_ACTION=http://iitv-1:8888/reports/rwservlet?');
    report_message:=run_report_object(report_id);
    rep_status := report_object_status(report_message);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')LOOP
    rep_status := report_object_status(report_message);
    END LOOP /* Wait for Report to be finished */;
    IF rep_status='FINISHED' then
    web.show_document('http://iitv-1:8888/reports/rwservlet/getjobid'||
    substr(report_message,instr(report_message,'_',-1)+1)||'?server'
    ||reportserver,'_blank');
    ELSE
    message (rep_status||' Report output aborted');
    END IF;
    END;
    I created a press button and in the when_button_pressed trigger i added the following code:
    declare
         repid REPORT_OBJECT;
         repserver VARCHAR2(100);
         runformat VARCHAR2(10);
    BEGIN
         repid := find_report_object('REPORT6');
         repserver := 'rep_iitv-1';
         runformat := 'HTML';
         run_report_object_proc(repid,repserver,runformat);
         END;
    Then tried to run the form but i got this error frm-41213 unable to connect to the report server.
    Any one please help me.

    Run_report_object can't work with forms9i
    Regards
    Vikas Singhal

Maybe you are looking for

  • Query to select values that match multiple ranges

    Hi, Oracle 10g. I have a table POINTS(ID INTEGER, CLASS VARCHAR2(15), CUMUL NUMBER(2,1), ...). In my application (APEX application), I show a list of point classes, order by cumul. SELECT CLASS FROM POINTS ORDER BY CUMUL;Then user can choose some ran

  • How do I create address labels?

    Hi: Feeling stupid here. New to Pages and love it except for a few things. One of which is I cannot find a template for labels. Word had templates for all sorts of Avery labels and they were easy to create. Certainly Apple didn't leave this out of th

  • Updating blog

    Everything was working fine, until the recent update (2.0.4). I use a 3rd party ftp (fetch atm) and now when i "publish to folder" and upload my site, my new (since last update 2.0.4) blog entries are no longer accessable. All blog entry Summaries ar

  • I upgraded my 4s to ios7.  Siri no longer answers.

    There is a ? and it won't respond.  How do I fix it?  If I reset devise it works temporarily then stops.  Any solutions

  • Can I change a new battery for my MacBook Pro 15' Retina? How?

    Can I change a new battery for my MacBook Pro 15' Retina? How?