Oracle Reports doesn't show parameter form running on middle tier

I have a report that uses the parameter form. When I run it on the middle tier the report runs but without first displaying the parameter form. I am wondering if anyone can help me figure out how to get the parameter form to show when running on the middle tier. It is using OAS 9i as the application server.

Wesley,
You have to give PARAMFORM = YES if you are running through servlet
Thanks
Rajesh

Similar Messages

  • How 2 call a report 10g from a parameter form 10G

    Hello,
    pls. i need steps ,or docs how 2 run a report 10g from a parameter form ;
    Is it requireD for the Parameter form to call a report an Application Server no* ???*
    i had a previous  experience with the code due to run the report as follows:_
    DECLARE
       PARAM_ID                                 PARAMLIST ;
       PARAM_NAME                           VARCHAR2(30) := 'REPORT_PARAMETER';
       ALRT                                         NUMBER;
       ERR_TXT                                   VARCHAR2(1000);
       repid                                         REPORT_OBJECT;
       v_rep                                        VARCHAR2(100);
       v_REP_SERVER_NAME       VARCHAR2(200);
       v_ip                                          VARCHAR2(100);
    BEGIN
           PARAM_ID := GET_PARAMETER_LIST(PARAM_NAME);
           IF NOT ID_NULL(PARAM_ID) THEN
              DESTROY_PARAMETER_LIST('REPORT_PARAMETER');
           END IF;
           v_REP_SERVER_NAME := REP_SERVER_NAME;
    BEGIN
            SELECT  PARAMETER_VALUE
            INTO   v_ip
            FROM GENERAL_FIXED_PARAMETERS
           WHERE PARAMETER_ID = 'REPORT_SERVER_IP';
           EXCEPTION
           WHEN OTHERS THEN   
           Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
           Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);     
    END;
           PARAM_ID := CREATE_PARAMETER_LIST(PARAM_NAME);
           ADD_PARAMETER(PARAM_ID,'PARAMFORM',TEXT_PARAMETER,'NO');   
           ADD_PARAMETER(PARAM_ID,'COPIES',TEXT_PARAMETER,:COPIES);
           ADD_PARAMETER(PARAM_ID,'P_DISPLAY',TEXT_PARAMETER,:DESTYPE);
           ADD_PARAMETER(PARAM_ID,'DESFORMAT',TEXT_PARAMETER,'pdf');
           ADD_PARAMETER(PARAM_ID,'group_id',TEXT_PARAMETER, :group_id);
             repid := find_report_object('WH_R01_GRP_ITEM');
             SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_rep_server_name);     
             v_rep := RUN_REPORT_OBJECT(repid,PARAM_ID);
      WEB.SHOW_DOCUMENT('http://'||V_IP||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?server='||v_REP_SERVER_NAME,'_blank');
    --  http://server_name:8889/reports/rwservlet?report=rep_name.rdf&paramform=yes&destype=CACHE&desformat=htmlcss&userid=id/pass@conn
    END;notice here the value of V_IP it is retrieved from the following table desc...
    The table desc   GENERAL_FIXED_PARAMETERS that i select from the values are as follows:_
    SQL>   DESC GENERAL_FIXED_PARAMETERS;
    Name                                      Null?    Type
    PARAMETER_ID                                       VARCHAR2(200)
    PARAMETER_VALUE                                    VARCHAR2(200)
    PARAMETER_DESC                                     VARCHAR2(200)
    MODULE                                             VARCHAR2(200)it's stored value is as follows:
    SQL>  select * from GENERAL_FIXED_PARAMETERS;
    PARAMETER_ID   PARAMETER_VALUE  PARAMETER_DESC   MODULE
    REPORT_SERVER_IP     rep_oraas_OracleAs_10gNotice here the value of the PARAMETER_VALUE is a string ; as if it's a generic value to be applied on any REPORT_SERVER_IP this value ...
    Where Should i retrieved or Get ???
    That was long time i can't remember pls help me 2 run my report what should id
    i searched the google but there is a missing link can u help and guide me it's urgent pls.
    if needed 2 start oc4j for reports , setting pathes ,fonts, enviroment file etc.
    The report object's property in the object navigator is as follow:_
    + Oracle Developer Integration node :
    File name : My_Report_name
    Execution Mode: Runtime
    Communication Mode : Synchronous
    Data Source data block :NULL
    + Reports node:
    Report Destination Type : FileThanks in advance,
    Regards,
    Abdetu...

    Thanks InoL for reply,
    REPORT_SERVER_IP is not correcti had doubted but wasn't sure of it...!
    My First Question was :
    Is it requireD for the Parameter form to call a report an Application Server no ???*the answer i found is Yessss
    Regards,
    Abdetu...

  • Show parameter form and then print directly to client printer

    I have few reports that show parameter form for user entry. After the user enters the parameter and hits Submit query, the report should automatically get printed on the client's default printer. I tried to use ORARRP but I could get that to work only for reports do not open parameter form before going directly to the printer. Can someone please guide me how to achieve this?
    Thanks!

    I would like it to go to the client PCs default printer. Can you please tell me how do I do that?

  • System Tray Program doesn't show a form from the menu

    public SysTrayApp()
    ContextMenu TrayMenu = new ContextMenu();
    TrayMenu.MenuItems.Add("Exit", OnExit);
    TrayMenu.MenuItems.Add("Send Mail", SendMail);
    TrayMenu.MenuItems.Add("Add Exception", AddException);
    TrayIcon.Icon = new Icon(SystemIcons.Application, 40, 40);
    TrayIcon.Text = "RJC Server Services";
    TrayIcon.ContextMenu = TrayMenu;
    TrayIcon.Visible = true;
    NewTimer = new System.Timers.Timer(5 * 60 * 1000);
    NewTimer.Elapsed += NewTimer_Elapsed;
    NewTimer.Start();
    void AddException(Object sender, EventArgs e)
    ExceptionList ExceptionForm = new ExceptionList();
    ExceptionForm.ShowDialog();
    This is the code I am trying to use to show a instance of the Exception form. My application is a system tray application, when right clicked it shows menu items, however clicking the add exception menu item doesn't show the form? I have also tried ExceptionForm.Show()
    to no avail. Any ideas?

    figured it out: ExceptionForm.Visible = true;
    Also I had a long running process on form load that took a while to execute before the form was shown.

  • How to call a Report 10g from a parameter form..?

    Hello,
    pls i wanna know the procedure of :
    How to call a Report 10g from a parameter form..?
    regards,
    Abdetu..

    hopes it work for you.
    procedure get_report is
    pl_id paramlist;
    p_year varchar2(4);
    param_name varchar2(10) :'param';
    begin
    pl_id := get_parameter_list(param_name);
    if not id_null(pl_id_)then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list(param_name);
    p_year := year -- assign the value.
    add_parameter(pl_id,'p_year',text_parameter,p_year);
    execute_report('report_name',pl_id);
    end;

  • Abandoned Cart report doesn't show results any more

    Does anyone know why the Abandoned Cart report doesn't show results any more? We know we have has some occur in the past.

    Hi MandaWeb2,
    This was reported as a bug to the dev team. I don't have an ETA for you on when it will be fixed, but it's certainly with them.
    Cheers,
    -mario

  • Reports doesn't shows horizontal scroll bar after EHP5

    Hi All,
    After EHP5 SP level, under menu MSS -> My Staff -> Reporting, any reports doesn't shows horizontal scroll bar, to view last colums. I tried with Authroziation SAP ALL but still issue persists.
    Thanks,
    Cheers!!!
    Sara

    can you chekc note 1531182
    1. Open SAP Note 19466 - "Downloading SAP kernel patches"
    2. Follow the instructions on the a above note and implement the Kernel
    patches contained on SAP Note 1531182 -  "Number of fixed columns is
    incorrect"

  • How the show parameter form for the report over the web by using an url ?

    hello,
    my url to call my report is :
    http://server/reports/rwservlet?report=rtm0350.rep&desformat=html&userid=un/pw@hostring&server=rep_server&paramform=yes
    but it doesn't show me the parameter form to introduce the parameters and I get :
    'FINISH SUCCESSFULLY'
    has anybnody any idea ?
    thank's

    If this is a 'paper' report then =yes has always worked for me as long you have parameters declared in the report.
    Description Use PARAMFORM to specify whether to display the Runtime Parameter
    Form when you execute a report through CGI or a servlet. PARAMFORM is used only to
    supply parameters to paper layout reports, not JSP-based Web reports.
    Syntax PARAMFORM=YES|NO|HTML
    Values
    ■ YES Display the Parameter Form.
    ■ NO Do not display the Parameter Form.
    ■ HTML Display the Parameter Form in HTML format.
    Message was edited by:
    Bob C

  • Showing Parameter form in web browser

    I have created a parameter form which contains some restricted List of values need to be choosed by the user before printing the report.
    I done this by putting the keyword ParamForm=Yes in the URL. The parameter form shows with all the parameter fields and the list of values in HTML format together with two buttons : SUBMIT QUERY and RESET which is generated by the report. After all the values has been entered, the SUBMIT QUERY button was press the the report server return an error:
    Oracle Reports Server CGI - Key "" is unrecognized. Possible causes: bad URL syntax; key in URL was not found in the key map file
    Why this will happen?

    Hi,
    No, I don't think is the problem with the cgicmd file. This problem will only occured when I calling the report paramater form by putting the key PARAMFORM=YES IN in the URL.
    But if I by-pass the parameter form by puttinh the key PARAFORM=NO and include all the parameters needed in the URL, the report server can map the key and run the report successfully!
    I think the problem is the submit Query button which was generated automatically by the report. How does the submit Query button works?
    For eg. I type the report URL with the key that I have created in the cgicmd file :
    http://webHost:webPort/cgi-bin/RWcgi60?Key1
    and inside the cgicmd.dat file is like this:
    Key1: report=Report.rdf userid=eb/eb@eagledb server=Rep60_EAGLEW2K PARAMFORM=YES destype=cache desformat=htmlcss
    then, the report server will automactically generate a parameter form in HTML format together with the SUBMIT QUERY button and RESET button to allow user to enter the parameters. Once the parameters has been entered, and the button SUBMIT QUERY button being pressed, the report will return this error.
    Any idea?
    Thanks.

  • Without Showing Parameter Form !!!!!!!

    To who may concern,,,,
    I have designed an oracle form and a button to print the oracle report. Is there possible to avoid showing the parameter form and the button directly print the report.
    A piece of source code is appreciated.
    Thank's in advance
    Best regards

    pass a parameter to report
    PARAMFORM=NO
    this will stop the parameter form from showing.
    To have the report directly printed use
    DESFORMAT=PRINTER.
    Check the online help for information about how to pass parameters from forms to reports.

  • Profit Center Report doesn't show data

    Dear Experts,
    I've posted some data thru FB50 in FI, with different cost center assignment 1201 and 1202.  Both cost centers are assigned to profit centers, YB110 and YB120 respectively in master data.
    Then, I tried to run a profit center report, S_ALR_87013326 from Profit Center Accounting (PCA) module but doesn't show any data.
    Do I need to do any period-end processing in order to get the data out from PCA report?
    By the way, the selection required for plan version, I just keyed in '0'.  Not sure of the number, where to find the plan version as I didn't create any plan before this.
    regards,
    Abraham

    Hi
    If you see the screen shot I attached, it has the text "(new)" against the Folder name...
    All new gl reports are under such a folder to differentiate... You cant deactivate any reports from the Standard Menu... You can just control it by authrization....
    You can also ask your BASIS guy to display only the authorized trans on the user screen so that they are not able to see the std set of transactions
    Br, Ajay M

  • Reports 10g problem: Before parameter form trigger(BPFT) problem

    In report bilder there is no problem - I get parameter form wit all the parameters, I initialized in BPFT
    function BeforePForm return boolean is
    s_date date;
    begin
    s_date := Trunc(SYSDATE);
    if :PAR_TEM_OD is null then
         :PAR_TEM_OD := '1';
    end if;     
    if :PAR_TEM_DO is null then
         :PAR_TEM_DO := '9';
    end if;     
    if :PAR_DAT_OD is null then
         :PAR_DAT_OD := s_date ;
    end if;     
    if :PAR_DAT_Do is null then
         :PAR_DAT_Do := s_date ;
    end if;     
    return (TRUE);
    end;
    PAR_DAT_... is data type DATE wit input mask DD.MM.YYYY.
    REPORT crashes when I run it from forms - no parameter form is displayed. When I initialize only CHAR PARAMETERS IN BPFT then I get result - parameter form is displayed. . The problem is when I want to initailize DATE parameters.
    Any idea?
    Gordan

    Why are you using srw.do_sql here? You are just performing some sql and pl/sql statements here. This is an explanation of do_sql in the Report Builder Help:
    "Since you cannot perform *DDL statements* in PL/SQL, the SRW.DO_SQL packaged procedure is especially useful for performing them within Report Builder, instead of via a user exit."
    So, your code would simply be:
    function BeforePForm return boolean is
      segment2 varchar2(10);
    begin
      select segment1
      into segment2
      from xxmssl_po_headers_all
      where rownum<2;
    ... etc. ...
    end;

  • 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

  • Outlook 2007 doesn't show icloud service running.  Does anyone know what the dll for this service is so it can be manually added to outlook?

    Outlook 2007 doesn't show the icloud service running in Windows 7 within outlook.  Does anyone know what the dll for this service is so it can be manually added to outlook?   I've installed the icloud control panel app and set it up to synch everything, but after initially downloading my icloud calendar, it won't process any calendar updates (new entries made on either iphone 4 on ios 5 or outlook). 
    So since the control panel installed, but the service doesn't show running in outlooks "trust center" add-ins list, anyone know the actual dll file it would point to so I can see if I can add it the hard way?

    I had the same issue and figured it out.  First you have to start Outook as administrator.  To do this, shift and right-click on outlook and click run as administrator.  Next you need to enable Hard-disabled add-ins:
    Hard-Disabled Add-Ins
    Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your add-in is executing.
    To re-enable an add-in
    In the application, click the File tab. 
    Click the ApplicationName Options button.
    In the categories pane, click Add-ins.
    In the details pane, verify that the add-in appears in the Disabled Application Add-ins list.  The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.
    In the Manage box, click Disabled Items, and then click Go.
    Select the add-in and click Enable.
    Click Close.
    Then you need to activate it. 
    To re-enable an add-in
    In the application, click the File tab.
    Click the ApplicationName Options button.
    In the categories pane, click Add-ins.
    In the details pane, verify that the add-in appears in the Inactive Application Add-ins list.  The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.
    In the Manage box, click COM Add-ins, and then click Go.
    In the COM Add-Ins dialog box, select the check box next to the disabled add-in.
    Click OK.

  • Installed Oracle reports 6i and 9.04 form home

    I had Oracle Forms 4.5. & Report 3.1. in my old system (windows NT).
    My goal is to upgrade Oracle Forms & Reports onto 10g DS.
    I used windows XP for this purpose.
    I have successfully ungraded Oracle Forms to 10g.
    First I installed Forms 6i. (applied latest patches)
    I opened all forms from the 4.5 into 6i and make its work.
    I have installed Oracle Forms 10g in another/Separate Oracle Home & applied
    latest patches.They have upgraded.
    Now I need to do same process for Oracle Report.
    So I start install Oracle Reports 6i.
    My goal is to install Oracle Reports in separate Oracle Home.
    But It does not ask any directory.
    And its starts installing under Oracle Forms (9.0.4) Oracle Home.
    I was so late to stop installation.
    Now I am not able to use Oracle Forms 10g.

    hello,
    i am afraid you destroyed your installation, or at least messed it up.
    i would suggest you install 6i first, and then install 10g (9.0.4) that way you can install 10g in a separate home. not sure if the 6i installer was multi-home capable.
    thanks,
    ph.

Maybe you are looking for

  • I had to replace my hard drive due to a crash how do I transfer my music and playlists back to my itunes library?

    I had to replace the hard drive on my laptop due to a total hard drive failure. Is there a way to transfer all my music (non purchased) and play lists back to the new drive?

  • Another iTunes 7 bug

    I love iTunes 7 except it has few bugs in it, for example if a music folder contains wmp album art itunes 7 will crash if playing music from that folder and you click iTunes's browse button. iTunes 7 likes a lot memory, windows mediaplayer uses 18 Me

  • MAPI LOGON FAILED (MAPI_E_LOGON_FAILED) 0X80040111

    Hello, I'm running a test environment with Windows Server 2012 R2 / Exchange 2013 SP1 / Client Outlook 2013 - This is all running on one server - Exchange is running in a VM  (HyperV) I have installed Outlook on this machine (thus replacing Exchange

  • Anchoring text in photoshop

    Is it possible to 'anchor' text to a specific location within an image (i.e. locking it at 10pixels from the left / 10pixels up from the bottom) so that it stays in that location if the image is resized? Thanks Phil

  • Show/Hide Group in SSRS 2012 Chart

    Hi, How can i hide/show chart category group in SSRS 2012? Thanks in advance Paramesh G