Reports-Runtime Parameter Form; another question

hi!
I would like to implement 2 user parameters in the runtime
parameter form which depend on each other: with the first one you
can select a special ressort and depending on the selection you
made here you can select some keyword groups with the second one;
but I don't know how the select statement for the second user
parameter should look like, because it is not allowed to use
'Bindevariablen' (sorry, don't know what they are called in
english; this are the ones with the : in front of them):
here is what I tried to do:
parameter: P_1
select rs_id, rs_name from tb_ressort union select 99999, 'alle
Ressorts' from dual order by 1
parameter: P_2
select kwg_id, kwg_group from tb_keyword_group union select
99999, 'ALL' from dual
and here I wanted to add a where clause: where rs_id = :P_1
but this doesn't work
Any other ideas?
thx in advance
null

Michaela (guest) wrote:
: hi!
: I would like to implement 2 user parameters in the runtime
: parameter form which depend on each other: with the first one
you
: can select a special ressort and depending on the selection you
: made here you can select some keyword groups with the second
one;
: but I don't know how the select statement for the second user
: parameter should look like, because it is not allowed to use
: 'Bindevariablen' (sorry, don't know what they are called in
: english; this are the ones with the : in front of them):
: here is what I tried to do:
: parameter: P_1
: select rs_id, rs_name from tb_ressort union select 99999, 'alle
: Ressorts' from dual order by 1
: parameter: P_2
: select kwg_id, kwg_group from tb_keyword_group union select
: 99999, 'ALL' from dual
: and here I wanted to add a where clause: where rs_id = :P_1
: but this doesn't work
: Any other ideas?
: thx in advance
Hi Michaela,
I think this will generally not work in reports parameter form;
the parameter values are available first when the report is
started, and the first point to reference them is in the
after-parameter-form trigger. I think you get the message
from the report builder 'REP-0781: Bind variables not allowed in
the Select statement'.
The only idea I have is to write a parameter form with Forms,
with two LOV's attached to two items wich CAN reference each
other. Then use add_parameter and run_product to start your
report. This seems to be more complicated then using only
Reports, but it isn't and it works.
peter
null

Similar Messages

  • Reports-Runtime Parameter Form

    hi!
    I made a report which contains quite a lot of data; so I
    also created a user parameter for the runtime parameter form, so
    the user can select one value so that the amount of data is
    minimized; the user parameter is based on a select statement;
    now my question: the way it is now the user can only make one
    selection, how can he see all records and is not forced to select
    a single value?
    thx, michaela
    null

    Michaela (guest) wrote:
    : hi!
    : I made a report which contains quite a lot of data; so I
    : also created a user parameter for the runtime parameter form,
    so
    : the user can select one value so that the amount of data is
    : minimized; the user parameter is based on a select statement;
    : now my question: the way it is now the user can only make one
    : selection, how can he see all records and is not forced to
    select
    : a single value?
    : thx, michaela
    Hi Michaela,
    I Understood that you have created user parameter based on
    select statement which will display list of values in List item
    in the Runtime Parameter form. User can select any one value
    from the list & display the records for selected value in the
    parameter form. But your question looks like user should have
    facility to select all the value in the list from the runtime
    parameter form.
    Example : Display list of deptno in the Runtime parameter form.
    If user selects any one deptno, display employee
    details for the selected deptno. Also user should
    have option of selecting records for all the dept.
    1. Create user parameter P_DEPTNO based on following select
    statement.
    Select deptno from dept
    Union
    Select 'ALL' from Dual
    2. Create the Query for the report as
    Select *
    from Emp
    Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
    So user will have option of specifying condition to
    select all the records for all the deptno as well as user
    can specify particular deptno.
    I hope this may help you to solve your problem. Pls let me
    know whether this helps you or not.
    Mani/-
    null

  • Invoking runtime parameter form from Oracle forms 10g.

    Hi all,
    I am using Oracle 10g DS.
    I have cretaed a form containing a button. when i pressed that button
    the rdf has to be called and runtime parameter form has to be invoked. In that i will give parameters. In that button the path is already is there.
    so the problem is I am unable to invoke the runtime parameter form of Reports builder when i pressed the button.
    can anybody helpout....
    thanks in adv.
    Venkat.

    copy the question to the report forum as well :
    Reports

  • How to hide the window of Runtime Parameter Form?

    I have a form and I call a report from this form.I have passed some parameters to this report.Before the browser of reports appear the window of Runtime Parameter Form.I want to hide this window of Runtime Parameter Form but I don't know how.
    Please help me!

    When calling the report, set the property PARAMFORM to NO. IF you using parameter list to pass values to report you can do as follows:
    ADD_PARAMETER(pl_id,'PARAMFORM',TEXT_PARAMETER,'NO');

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

  • Customizing Runtime Parameter Form

    Hi
    I'm using Portal Release2. Here is my problem I want the customize the Runtime Parameter Form but I can't seem to do it. A simple test case is needed:
    1) I've created a report definition file access through portal and successfully run the report.
    2) I've copied the run link which is something like -
    PORTAL_DEMO.TEST_REPORT.show_tabpage
    3) I've created a dynamic link such as -
    http://abc.def.com:7778/pls/portal/PORTAL_DEMO.TEST_REPORT.show_tabpage
    4) when a user clicks that link the page shown is a default Oracle Report Portlet parameter form even though I've changed the parameter form template.
    could someone provide a solution to this issue. By the way I've been reading an old version of portal and you can do it in release1 but no reference is available in release2.
    see section 5.14.1 Deploying a Report to an Oracle Portal Content Area
    http://otn.oracle.com/docs/products/ias/doc_library/1021doc_otn/busint.102/a86784/pbr_sec.htm#1033196

    Hi George
    After you register a RDF component, at the end of registration wizard, you need to go to Customize link and check out the fields you wish to display in Parameter form. After this, you need to click on Save Paramater button, which would save your changes.
    Now you can put this RDf component to the content area /page and publish the link to this content area / page to users and they would be able to see your customize param form.
    Thanks
    the Oracle Reports team

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

  • 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

  • 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

  • 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

  • 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

  • Report 10g: Runtime Parameter Form

    Is there any way in Reports 10g to trigger Parameter Validation just after
    user enters a Parameter?
    I would like to have dynamic LOV in Reports Parameter Form....
    So contents of LOV list items in Report Parameter #3 would depend on the user selection from LOV in Report Parameter #1

    It is not as simple as just adding this parameter to the URL. You have to do some coding too.
    The basic problem is that the paramform code contains a HTML FORM without any action. So, you have to create an action yourself.
    See Metalink note 139546.1 on how to modify your reports (there should be a white paper on OTN too, but I can't find the link anymore).
    Bottom line is: yes, it is much simpler to use Forms as your parameter form.

  • Report 10g parameter form Error

    Hi,
    While calling a report I am getting the following error.
    REP-546: Warning: The value of restricted LOV parameter TOPROFIT is not among the selectable values.
    When I call the same report through another PC it displays parameter form.
    I am using Report Builder 10g.
    Kindly help in resolving the issue.
    Edited by: babarbaig82 on Sep 26, 2012 4:34 AM

    Hi,
    I need more details.
    1- Are you running that report from 2 different machines using Reports Builder? or Reports Server?
    2- If running with Reports Builder, is it the same report? or a different version of the report?
    Any other details that you think can clarify issue further.
    Thanks, Roberto

  • 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 Validation - Parameter form

    How do I stop report from running (stay at parameter form), when invalid parameter is entered?
    Also how do I go back to the parameter form after running the report (so that I could run it again)?
    Thank you.

    Thanks, I got validation to work by setting return to false for certain conditions.
    However, i still can't get to return to the parameter screen, after the report has executed. I suppose the destype is screen. When I open the property palete for the destype system parameter, it says "screen." I should note that the report runs in the terminal/character environment.
    Clicking OK or exit (in my case, it's pressing certain keys on the keyboard) returns me to the command prompt, so that I have to run report again to get to the parameter screen.
    I am not sure how to approach it, but I think I saw this functionality at my previous job. Is there a way to "call" the Parameter screen programmatically? That way I could assign a call to a key.
    Thank you.

Maybe you are looking for

  • Why did Mail randomly start sending emails to junk folder?

    My mail app suddenly started sending important emails to my junk folder. I have been using mail on all of my devices for some time and have never changed any settings since I started. With the exception of some emails here and there, I have never had

  • How to publish iphoto slideshows to iweb?I

    I want to publish slidshows that I made in iphoto on my website. Each time I try to load the pages, they appear to load, then I get a message saying that "work will continue for several minutes behind the scenes . . . leave this application open." Af

  • ECC6 upgrade phase XPRAS_UPG running for long time

    Hi, I am performing a Downtime minimized upgrade (MODPROF_TRANS) from R34.7ext2 to ECC6.0 / Windows2003/MSSQL2005 Currently i am in the phase XPRAS_UPG .It is running for really long time.I tried to reset the phase but still went on for more than 10

  • Ipad2 can not recognize Canon digital camera EOS?

    Dear Sir I connect my digital camera, Canon EOS to Ipad 2 through camera USB kits, and message shows " Cannot USE Device The connected USB device is not supported" on iPad 2 screen. Is it a known issue? I thought the camera kits should be good for al

  • How to publish iPhone Apps with Flash CS5 for beginners

    After many trial/errors and with lots of support from this site, I've decided to start building some tutorials to help people get into the packager. This is the first one and, now I'll work on a usual erros handle tutorial. Any comments and/or critic