Urgent! Using Reports parameter forms with RUN_REPORT_OBJECT on 9iAS

Hi all, I am migrating client-server to 3-tier with 9iAS Rel2 on AIX 5.1. The forms and reports are upgraded from Forms4.5 to forms9i and Reprots 2.5. We used to have user defined parameter in parameter form(e.g. articale no.) to select records appearing in the report.
However, the Report parameter form doesn't work on web.
I have read Note : 139546.1 but I want the parameter entered in Report parameter form, not in the Form that call the report.
Does anyone has samples of Forms and Reports doing to achieve that? Thank you very much in advance.
best regards,
Kathy

Kathy,
please have a look at the Forms and reports integration Whitepaper that is available from otn.oracle.com/products/forms. This shows you a coding example of what needs to be done to make parameter forms work on teh Web. This papaer is available for Forms9i/Reports9i and Forms6i/Reports6i
Frank

Similar Messages

  • How to use parameter forms with run_report_object from Forms?

    Hi,
    I would like to run a rep report from Forms 9i. I have 9iAS R2 with a rep_<maschine_name> report server.
    Untill now I run reports with run_report_object and then used web_show_doc to display the PDF output. Now I have to display a parameter form first and only then can I run the report. Currently I am a bit lost and do not know how to do this? Could some one please point me to some examples or docs?
    Thanks in advance.

    [   Forms Reports Integration whitepaper  9i/10g ]
    see links below
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i/10g ]
    9i - http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    10g - http://www.oracle.com/technology/products/forms/pdf/10g/frm10gsrw10g.pdf
    http://www.oracle.com/technology/products/forms/techlisting10g.html
    ---------------------------------------------------------------------------------

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

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

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

  • REP-50134 occurs when using the submit button on the Reports Parameter Form

    Good Morning,
    I get the "REP-50134: Cache subitem reports does not exist" error after clicking on the Submit Button from a Reports parameter form.
    I am using Forms/Reprots 9i.
    Using the source code given in the Whitepaper 'Oracle Forms Services - Using Run_Report_Object() to call Reports with a parameter form', all works well when paramform=no, but when I have a Form print a report with paramform=yes, the parameter form appears correctly, but generates the error after clicking the Submit Button.
    Any inputs as to causation or possible places to look to solving this problem would be greatly appreciated.
    Thank you

    Hello and thanks.
    The value in the tag is <form method=post action="reports?">
    Looking at this I suspect my problem is related to this setting. I am trying to follow all the instructions in the White Papers but they are a little confusing as they are not all exactly the same. Each attempts to explain a specific functionality without regards to the whole.
    For instance I believe I need to have the variables P_ACTION, P_USER_CONNECT and P_SERVER_NAME in the report being called and then add a Before Parameter Form trigger to reset the values. But this seems to duplicate and override what has already been sent via the REPORT_OTHERS property. It is a tad bit confusing.
    Can you confirm?
    Thanks for any clarification you can provide.

  • URGENT: Report parameter form set to yes in calling report from menu

    I have write this code for calling report from menu module. But where i put the code
    PARAMFORM='YES' to display the report parameter form in order to enter the parameter by user.
    DECLARE
    pl_id ParamList;
    repid REPORT_OBJECT;
    v_rep varchar2(100);
    v_server VARCHAR2(100);
    rep_status varchar2(100);
    v_host VARCHAR2(100);
    BEGIN
         select rep_server into v_server from reports_data;
         select machine into v_host from reports_data;
         pl_id := Get_Parameter_List('tmpdata');
         IF NOT Id_Null(pl_id) THEN
         Destroy_Parameter_List( pl_id );
         END IF;
         pl_id := Create_Parameter_List('tmpdata');           
    Add_Parameter(pl_id,'P_C_NAME',TEXT_PARAMETER,:GLOBAL.COMPANY);
    Add_Parameter(pl_id,'P_B_NAME',TEXT_PARAMETER,:GLOBAL.BRANCH);
    Add_Parameter(pl_id,'P_user',TEXT_PARAMETER,:GLOBAL.user);
         repid := find_report_object('REPORTOBJ');
         SET_REPORT_OBJECT_PROPERTY(repid,REPORT_FILENAME,getpath||'E_open_balance.RDF');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'htmlcss');
              SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_server);
              v_rep := RUN_REPORT_OBJECT(repid, pl_id);
              rep_status := REPORT_OBJECT_STATUS(v_rep);
              WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
                   LOOP
                        rep_status := report_object_status(v_rep);
                             message('Running');
                   END LOOP;
              IF rep_status = 'FINISHED' or rep_status is NULL THEN
              WEB.SHOW_DOCUMENT('http://'||v_host||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server='||v_server,'_blank');
              ELSE
                   null;
         END IF;
    END;

    Jeneesh,
    SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_OTHER,
    'paramform=YES
    what about this variable ?
    P_VAR1 = ........');

  • Calling a report from forms with a paramter form

    Hello,
    How do you call a report from forms and get it to display the parameter form. Where you can then call the report using this parameter form. I have been using paramform=yes. but it simply runs the form.
    I saw on a a thread ages ago that this was a sample of this available for download. Is this true?
    thanks

    Here is my code sorry about posting twice. Please note that the parameter list has been created as described.
    report_id := find_report_object('MENU_REPORT_NODE');
    Tool_Env.Getvar('ReportsServer', reports_server);
    Tool_Env.Getvar('ReportsFolder', reports_folder);
    dest_file := reports_folder || :global.username || '\' || rep_name || '.pdf';
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_FILENAME, rep_name);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_SERVER, reports_server);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_COMM_MODE, SYNCHRONOUS); -- wait for the report to finish
    -- SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESNAME, dest_file);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESTYPE, cache);
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_DESFORMAT, 'PDF');
    SET_REPORT_OBJECT_PROPERTY(report_id, REPORT_OTHER, 'paramform=yes' || ' ' || 'mode=bitmap');
    report_job := run_report_object(report_id);

  • How to display  Reports parameter form in Oracle Forms 10g.

    hello,
    am migrating from Forms 6i applications to Forms 10g.
    one of my application contain report, that report display parameter form
    I wrote below code for WHEN-BUTTON-PRESSED Trigger
    DECLARE
    pl_id      ParamList;
    v_report_id report_object;
    v_report varchar2(100);
    vjob_id varchar2(100);
    vc_rep_status varchar2(100);
    BEGIN
    pl_id := create_parameter_list('my_list');
    add_parameter (pl_id,'P_HOSPITAL_ID',text_PARAMETER,
    :bm_hospitals.hospital_id);
    add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
    v_report_id := FIND_REPORT_OBJECT('bm_r001');
    v_report := RUN_REPORT_OBJECT ( v_report_id,pl_id );
    vjob_id := substr ( v_report, length(<reportservername>)+2,
    length( v_report) );
    vc_rep_status := REPORT_OBJECT_STATUS (v_report);
    IF vc_rep_status = 'FINISHED' THEN
         WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
    '?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
    bedman/bedman@bedman'||'&paramform=yes','_blank');
    ELSE
         message ('Report failed with error message '||vc_rep_status);
    END IF;
    Destroy_Parameter_List(pl_id);
    END;
    The Above code is running report and displaying Output perfect but cannot
    display the Parameter Form at runtime.
    any help in this very thankful.
    Regards
    Gagan.

    In Your code there is a line:
    add_parameter(pl_id,'PARAMFORM',text_PARAMETER,'NO');
    which actually disables the report parameter form.
    The line:
    WEB.SHOW_DOCUMENT ('/reports/rwservlet/getjobid'|| vjob_id||
    '?server=rep_mohahubkpcomp_ORaHOme_IAS'||'&userid=
    bedman/bedman@bedman'||'&paramform=yes','_blank');
    displays the report to which vjob_id refers. At this point the report is competed so the parameters userid and paramform are useless.
    Hope this helps.
    Regards
    Bekcic Aleksandar

  • Not getting Reports Parameter Form in web-forms environ

    I am not able to get a report parameter form to appear for a
    report called from forms via a 'run_product' command. It works
    fine in client/server mode. In web-forms the report just goes
    ahead and runs without the needed parameters. I have tried
    explicitly passing a parameter list with the 'paramform' set to
    'yes' and this did nothing. I have this on a NT box with latest
    Dev2 patches applied.
    1. Is the reports parameter form supposed to work in web-forms
    mode?
    2. How do you set it up to work, if it is supposed to work?
    Thanks for any replies.
    null

    I guess you have to use web.show_document - I found this article
    on DevConnect:
    Article-ID: <Note:68647.1>
    Circulation: PUBLISHED (EXTERNAL)
    Platform: GENERIC Generic issue
    Subject: How to show Reports HTML PARAMFORM when
    calling Reports
    from Forms
    Modified-Date: 09-AUG-1999 18:02:04
    Document-Type: BULLETIN
    Content-Type: TEXT/PLAIN
    Impact: MEDIUM
    Component: SQLREP
    PURPOSE:
    This bulletin explains how to overcome the current restriction
    of calling an Oracle Report from Oracle Forms and showing a
    PARAMETER FORM. This is currently not possible when using the
    RUN_PRODUCT built-in with
    WEB DEPLOYED APPLICATIONS.
    DESCRIPTION:
    When you call an Oracle Report from Oracle Forms using
    RUN_PRODUCT in Client-server, you can specify an optional
    parameter called PARAMFORM to display the parameter form defined
    in the Oracle Report.
    For web-deployed applications, the PARAMFORM parameter can be
    set to HTML to produce a HTML version of the parameter form.
    When calling Oracle Reports from an Oracle Form using
    RUN_PRODUCT and specifying PARAMFORM=HTML in the parameter list,
    the Oracle Reports parameter form doesn't show the in the client
    browser. If the Oracle Reports Cartridge/CGI is used and
    PARAMFORM=HTML is specified, then the Oracle Reports parameter
    form does appear in the client browser.
    Oracle Forms does not use either the Cartridge or the CGI with
    RUN_PRODUCT, and it's these thin clients that produce the HTML
    Oracle Reports parameter form.
    As a workaround to this problem, you can use either the
    Cartridge or the CGI with the WEB.SHOW_DOCUMENT Oracle Forms
    builtin. This does require either the Oracle Reports Cartrige
    or the CGI to be installed. Neither of these are necessary if
    the parameter form isn't required.
    INSTRUCTIONS:
    The following items need to be installed:
    1. Oracle Reports Multi-tier Server.
    2. Oracle Reports Web Cartridge
    or
    Oracle Reports Web CGI.
    Here is a typical URL that can be specified in a browser
    to run a report using Oracle Reports Cartridge implementation:
    http://your_webserver/r30ows?
    server=repserver21+report=emp_30.rep+
    destype=cache+desformat=html+userid=scott/tiger@mydb+paramform=ht
    ml
    For CGI implementation:
    http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
    server=repserver21+report=emp_30.rep+destype=cache+desformat=html
    userid=scott/tiger@mydbparamform=html
    The Oracle Reports parameter form now is shown. This can be
    used with WEB.SHOW_DOCUMENT issuing the request to execute the
    report to the Oracle Reports Multi-Tier Server instead of using
    RUN_PRODUCT.
    The following code may be added to a program unit, which then
    issues the request to run the report:
    IF get_application_property(user_interface) = 'WEB' then
    /* Use Cartridge configuration with WEB.SHOW_DOCUMENT. */
    WEB.SHOW_DOCUMENT('http://your_webserver/r30ows?
    server=repserver21+report=emp_30.rep+destype=cache+desformat=html
    userid=scott/tiger@mydbparamform=html', '_self');
    /* OR for CGI configuration. */
    WEB.SHOW_DOCUMENT
    ('http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
    server=repserver21+report=emp_30.rep+destype=cache+desformat=html
    userid=scott/tiger@mydbparamform=html', '_self');
    ELSE
    /* use RUN_PRODUCT for client-server with PARAMFORM=Yes. */
    Add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'YES');
    RUN_PRODUCT
    (REPORTS,'emp_30.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid);
    END;
    RELATED DOCUMENTS:
    Developer/2000: Guidelines for Building Applications, Deploying
    Applications on the Web (for detailed instructions on setting up
    the Oracle Reports Cartridge and CGI)
    Laura (guest) wrote:
    : I am having the same problem with Dev 6 on NT. The parameter
    : screen for reports works in client/server but not web using
    run-
    : product. I am getting error REP-0788: Warning the value of
    the
    : restricted LOV parameter is not among the selectable values.
    : Any reports without a parameter screen work fine with run-
    : product.
    : Any help would be appreciated.
    null

  • Create an Oracle Reports Parameter form application in HTMLDB

    I am investigating whether I can satisfy following requirement using HTMLDB and if yes, then what are the steps to be followed.
    The idea is simple. Store Oracle Reports name, parameter names, default values etc. in a table and write an application which will display a list of reports on your left, on clicking a report, use the param names stored in the table to display a form to accept values for each parameter and the submit button calls a URL pointing to the Oracle Reports Server.
    This can be done easily using Oracle Forms but I am investigating if this can be done using HTMLDB since it's 100% thin client.
    Any comments, hints etc. appreciated.
    Thanks,
    Manish

    Thanks.
    I had already seen the how-to article but my requirement was a little different since each Param Name, Value will be stored in seperate record. If a report has 4 parameters, then the table will have 4 records, one for each parameter. Here's a sample table structure that I am using.
    rep_name varchar2(100)
    ,param_name varchar2(100)
    ,sort_order integer
    ,param_len varchar2(100)
    ,param_data_type varchar2(100)
    ,param_required varchar2(1) default 'N'
    ,param_description varchar2(100)
    ,default_value varchar2(1000)
    ,lov_sql varchar2(1000)
    I was in fact able to achieve what I want by using a Tabular Form with the parameter description display only and default value updateable and it's submit button can be redirected to the reports URL with form fields substitution. I will use cgicmd.dat to map username/password so that it's not visible in the url.
    My additional questions:
    1. As per the table structure above, I have a lov_sql text field. Is it possible to create an LOV on the tabular form using this lov_sql?
    2. Above the tabular form, I want to display a drop-down-list with a list of reports. When a user selects a list-item, I want to refresh the page with it's tabular form showing parameters for that report. Kind of parameterizing the Form display. Is this possible? If not what are the alternatives?
    Thanks,
    Manish

  • Oracle Reports Parameter Form trouble on SuSE Linux

    I have the report compiled on AIX 5.2, everything's fine, the same source file I compiled on SuSE Linux 8.0, the format of parameter form is totally screwed up. I compared the HTML source of those 2 parameter forms, and found the code generated by Oracle Reports.
    on AIX 5.2:
    <!-- Created by Oracle Reports 08:27 Tue Jul 12 08:27:03 AM, 2005 -->
    <table border=0 cellspacing=0 cellpadding=0 width=379>
    <tr><td width=8><td width=9><td width=59><td width=9><td width=33><td width=22><td width=17><td width=119><td width=33><td width=45><td width=21><td width=1><td width=3>
    <tr><td colspan=13 height=19>....
    on Linux:
    <!-- Created by Oracle Reports 08:23 Tue Jul 12 08:23:50 AM, 2005 -->
    <table border=0 cellspacing=0 cellpadding=0 width=4>
    <tr><td width=1><td width=1><td width=1><td width=1>
    <tr><td colspan=4 height=0>...
    As you can see the setting width=4 in the table tag on Linux squeeze up the table a lot.
    Where do I configure to prevent this happened?
    thanks,
    Jess

    Thanks.
    I had already seen the how-to article but my requirement was a little different since each Param Name, Value will be stored in seperate record. If a report has 4 parameters, then the table will have 4 records, one for each parameter. Here's a sample table structure that I am using.
    rep_name varchar2(100)
    ,param_name varchar2(100)
    ,sort_order integer
    ,param_len varchar2(100)
    ,param_data_type varchar2(100)
    ,param_required varchar2(1) default 'N'
    ,param_description varchar2(100)
    ,default_value varchar2(1000)
    ,lov_sql varchar2(1000)
    I was in fact able to achieve what I want by using a Tabular Form with the parameter description display only and default value updateable and it's submit button can be redirected to the reports URL with form fields substitution. I will use cgicmd.dat to map username/password so that it's not visible in the url.
    My additional questions:
    1. As per the table structure above, I have a lov_sql text field. Is it possible to create an LOV on the tabular form using this lov_sql?
    2. Above the tabular form, I want to display a drop-down-list with a list of reports. When a user selects a list-item, I want to refresh the page with it's tabular form showing parameters for that report. Kind of parameterizing the Form display. Is this possible? If not what are the alternatives?
    Thanks,
    Manish

  • Report Parameter Form not displayed

    When I ran a report using the following procedure code in web-enabled Oracle forms ,
    PROCEDURE RUN_REPORT IS
    pl_id ParamList;
    BEGIN
    pl_id := get_parameter_list('tmpdata');
    if not id_null(pl_id) then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list('tmpdata');
    add_parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'YES');
    run_product(REPORTS, 'D:\ORACLE\DIVISION', SYNCHRONOUS, runtime, FILESYSTEM, pl_id, NULL);
    END;
    No parameter form was displayed. What do you suspect? Or report parameter form cannot be used in web-enabled Oracle forms.
    Hope some experts here broaden my mind!
    Many thanks,
    Richard

    Richard,
    passing paramform=yes will do it. However, beside of that I wouldn't recommedn using run_product for reports on the Web, indeed paraneter forms are a bit tricky and don't work out of the box. There is a work around that i documented in a Forms/Reports integration Whitepaper available in teh Forms6i collateral section on otn.oracle.com/products/forms. This description uses run_report_object, addressing the Reports Server.
    Frank

  • Report parameter form in ADF/JHS

    I am looking for the best way to develop a ADF page (with or without JHS) similiar to the Headstart report parameter form in Oracle Forms. I found a dynamic parameter form example on Steve Meunch's "Not Yet documented ADF Sample Applications", #93 that seems ideal. Has anyone implemented this approach using the existing Headstart tables? How were the LOV queries handled?
    Any feedback would be appreciated.

    Hi Carl,
    Include PARAMFORM=YES in the URL to display the parameter form in RDF to be displayed in the web.But it is showing a submit and reset button at the top.I am not sure how to get rid of it.Hope this will help
    Gracelin

  • Report Parameter form not showing list of values in Report svr

    I was using reports 6i where I used to have list box in report parameter form. I now converted recompiled my reports in 10g and when I run I am not geting the list of values. I get the values as a list below the field
    ex.
    ITEM :___________
    box,book,pencil,rubber,
    dvd,floppy...
    previously it was coming as a list in the item field
    thanks
    MG

    Hello,
    http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/params/pmp_creating_list_of_values.htm?tp=true
    If you run the report from a Web browser and the list of values is unrestricted, the HTML Parameter Form will display a text field instead of a combo box, and a list of static values that you can copy and paste into the text field.
    Regards

  • How to make a jsf parameter form with a selectOneChoice and data control

    I want to make a parameter form with a selectOneChoice and store this value in a backing bean, so I can use as a bind variable in query. I already made it happen without data control
    Can someone show how to do it in adf data control. With the wizard it tries put the value
    in a viewobject but I don't have base or destination viewobject. I can change the pagedef
    so it works to fill the selectOneChoice but then I want to store the selected value in a session beab
    here is solution with the application module and request / session bean, I don't
    think it is the right solution
    thanks edwin
    jsf page
    <af:selectOneChoice label="Desk" value="#{selectDesk.desk}"
    id="DeskID"
    binding="#{selectDesk.deskBinding}"
    autoSubmit="true"
    valueChangeListener="#{selectDesk.deskChangeListener}">
    <f:selectItems value="#{selectDesk.deskSelectItems}"/>
    </af:selectOneChoice>
    Selektdesk backing bean
    public SelectDesk(){
    FacesContext facesContext = FacesContext.getCurrentInstance();
    ValueBinding valueBinding = facesContext.getApplication().createValueBinding("#{userInfo}");
    userInfo = (UserInfo) valueBinding.getValue(facesContext);
    public List<SelectItem> getDeskSelectItems() {
    if ( userInfo.getSelectItems() != null ) {
    selectItems = userInfo.getSelectItems();
    return selectItems;
    if ( getBindings() != null ) {
    userInfo.setBindings( getBindings());
    else {
    setBindings(userInfo.getBindings()) ;
    if ( selectItems == null ) {
    selectItems = new ArrayList<SelectItem>();
    DCBindingContainer bc = getBindings();
    SicmaService sicma = (SicmaService)bc.findDataControl("SicmaServiceDataControl").getDataProvider();
    ViewObject desk = sicma.findViewObject("DeskSelectView1");
    desk.executeQuery();
    RowSet rows = desk.getRowSet();
    while (rows.hasNext()) {
    Row a = rows.next();
    String DskId = a.getAttribute(0).toString();
    String DskOms = a.getAttribute(1).toString();
    selectItems.add( new SelectItem(DskId ,DskOms ));
    rows.closeRowSet();
    userInfo.setSelectItems(selectItems);
    return selectItems;
    faces-config.xml
    <managed-bean>
    <managed-bean-name>selectDesk</managed-bean-name>
    <managed-bean-class>org.tennet.sicma.view.backing.SelectDesk</managed-bean-class>
    <managed-bean-scope>request</managed-bean-scope>
    <managed-property>
    <property-name>bindings</property-name>
    <property-class>oracle.adf.model.binding.DCBindingContainer</property-class>
    <value>#{bindings}</value>
    </managed-property>
    </managed-bean>

    The SRDemo has an example of a selectOneRadio bound to a parameter being used to pass to an ExecuteWithParams action (to automatically feed a view object's named bind variable. This is in the SRStaffSearch.jspx page.
    Also, if you check out example # 72 from my blog:
    http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html#72
    There is another example of using a selectOneListbox to do the same type of thing.
    The steps involved in creating something like this are to:
    (1) Define your named bind variables on your view object
    (2) Drop the "ExecuteWithParams" action in the operations folder of that view object from the Data Control Palette to your page as a "Parameter Form"
    (3) Drop the specific attribute (nested child of the "ExecuteWithParams" action from step (2) as whatever kind of selectOneXXXX control you want
    (4) Delete the extra field on the form you don't want.

  • Apply a filter condition in Dev. Report Reports Parameter Form...!

    In parameter input form, I want to apply a filter condition on second list box field, depending upon first list box field.
    For example, I have two user input parameter fields
         1.     Deptno
         2.     Empno
    Now while selecting a department number say 20 from first list box field, then in the second list box filed, there should only be shown /appeared those employees, whom department numbers are 20 (Employees belongs to department number 20).
    How can I apply this sort of filter condition on second field of Parameter Form, which I had just got from the first list box field?
    Farhan Mazhar

    hello,
    the reports parameterform provides only limited form building capabilities. if you are running oracle forms, you could build the parameter-form with forms. if you are running your reports on the web, you could build a parameter-form in HTML and JavaScript.
    in fact we are working on an example on how to build such a parameterform in reports and we will make it downloadable from OTN soon.
    regards,
    the oracle reports team --pw                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for