Oracle Report Parameter LOV

Hi hussein,
I have a customized Oracle Report for EBS 11i.
My report sa "static" LOV and have static list of value
1
2
3
4
5
How do I register this LOV in the EBS 11i?
I also have "select table" LOV. I know how to register this parameter in EBS using System Administrator > Application> Validation > Set
I don not know the static one :(
Please help....
Thanks

hi hussein,helios,
I found this note in metalink:
Subject: Re : LOV
you can say .. two types: static and dynamic
static or independent means, you have to hard code what all values will be there in lov. this hardcoding is done from app dev responsibility
dynamic or dependent means, it will pick values at run time using some query from some table(s). so, if anything changes in table, it will reflect immediately in LOV. whereas in static lov, you have to make changes in value sets values explicitly. I am interest in "this hardcoding is done from app dev responsibility" , I do not know how to encode those static value. :(
thanks

Similar Messages

  • I am unable to get order by column name in oracle report parameter form

    i created query like following in query builder
    SELECT CASE_NO, COURT_ID, CASE_TYPE,
    INITCAP(PLAINTIFF) PLAINTIFF,INITCAP( DEFENDENT) DEFENDENT,
    INITCAP(COUNSEL) COUNSEL, START_DATE, PREVIOUS_HEARING_DATE,
    NEXT_HEARING_DATE,INITCAP( DESCRIPTION) DESCRIPTION,
    INITCAP(RELIEF) RELIEF,INITCAP(EXTENT) EXTENT,
    DECREE_DATE,INITCAP(STATUS) STATUS,INITCAP( LOCATION) LOCATION,
    LEGAL_FILE_NO, MSNO
    FROM L_CASE_MASTER_MAIN
    WHERE to_char(NEXT_HEARING_DATE,'DD-MON-YYYY')=:P_NHD ORDER BY :P_COL
    and i created parameter form for these two bind variables :P_NHD,:P_COL
    in,:P_COL i wrote lov as Select trim(COLUMN_NAME) from user_tab_columns where table_name='L_CASE_MASTER_MAIN'  to get all the columns.
    in parameter form i am able to get all the columns but when i am generating report it is not giving results as per my ordered column.
    kindly let me know the solution
    Report Version :Oracle Reports 11g
    Db Version:Oracle  11g

    Hi,
    Ordering the column first takes place from the Data Model Itself.
    Please Check your column ordering in the report data model. If it is not ordered in a right way then Rearrange it.
    Remove your order by in query...
    If any issues... let me know
    Regards,
    Soofi

  • 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

  • Oracle Reports Parameter List form called through URL bring blank page

    We are using 10g Release 2
    We are able to load balance all other reports out there.
    1. Using run_report_objects in oracle forms
    2. Using a URL to call a report directly with parameters.
    However we are unable to use the URL function if there there is a hard ware load balancer in front. For the following scenario
    1. Using a URL to call an oracle report using its own internal parameters form. This is with the parameter "paraform=yes"
    Message was edited by:
    naveeny1974

    I just found out that IE 6 and IE 7 do not work. However, Firefox does work.

  • 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

  • Parameter Form in Oracle Report!!

    Dear Oracle Users' Group:
    I have problem with "Parameter Form" in Oracle Report.
    The Report that I created has the SQL:
    "SELECT A.FIELD1, A.FIELD2
    FROM MYDATABASE.MYTABLE A
    WHERE
    A.FIELD1 = :P_1";
    When the report is run, it asks for the parameter
    and generates the report based on the runtime
    parameter. Works perfect on Oracle8i database's
    Report front end.
    The PROPERTY PALETTE for the FIELD (Field that
    takes the runtime parameter) is:
    ====================
    General Information
    Name: PF_P_1
    Comments:
    Parameter Form Field
    Source: P_1
    Parameter
    Datatype: Character
    Width: 40
    Initial Value:
    Validation Trigger:
    List of Values:
    (For the list of values, I have put the SQL:
    "SELECT DISTINCT A.FIELD1 from
    MYDATABASE.MYTABLE A", Also I had
    tried with list of fixed values like A, B, C)
    Web Setting
    Additional Attributes (HTML):
    ================
    But the report does NOT work when called from the Web.
    (This is only because of the problem with this Parameter
    Form in my report. If I get rid of the parameter form by
    changing the last line of my SQL to: "A.FIELD1 = 'Chicago'",
    it works fine from the Web).
    When accessed the report from the Web, the error I get
    is:
    Oracle Reports Server CGI - Report Job has terminated with this error.
    Reports Server Replies:
    REP-0788: Warning: The value of restricted LOV parameter P_1 is not among the selectable values.
    I do not know what is the error with this simplest Parameter Form based Report!!
    In the Property Palette (above) of the Field, there was a field named "Additional Attributes (HTML)"
    under "Web Setting" heading.
    Do I need to write something there!!
    Please help!!
    thanks.
    kimmy

    Hi, Kimmy
    Try: &paramform=yes]http://webserver.com:80/dev60cgi/rwcgi60.exe?server=repserver&report=rep1&userid=scott/tiger@orcl&destype=cache&desformat=htmlcss&paramform=yes
    I've also sent you an email about key maps.
    Enjoy! Web Reporting is a great feature.
    Pedro.

  • Parameter Form look & Fee changed after upgrading to the Oracle Reports 11g

    Hi All,
    We are using Oracle Database 11g, with Oracle Forms and Reports 11g.
    We are in the process of migration our customized application from Oracle Forms 6i to Oracle Forms 11g, during migration we have faced a problem regarding the look and feel of reports parameter form,
    We have almost 700 reports and 300 out of them are calling with report parameter form = yes,
    When we call any report that is using Report Parameter Form, we have found that the look and feel completely changed, although it is acceptable for us as we have standardized the parameter form, with default layout, but the only problem is that, we are unable to fixed the length of any field having LOV, i.e. we have a field, that is showing Department Name, having Select DeptId, DeptName from Departments order by 1 and we have set the Hide First Column, when we call the report the length of this field systematically increased according to the biggest Department Name (Department Name having the highest number for characters), we want to fix the length of every parameter to a certain size,
    Would gurus please advice?
    Thanks,
    Hassan

    Hi,
    I have seen this problem.
    I assume that Apex 4 do not give fxx name to items anymore in order where columns are in query.
    This is one of reasons why we have not been yet able to upgrade.
    And it seems this same problem exists in Apex 4.1 on apex.oracle.com
    Regards,
    Jari

  • Oracle Reports In Oracle Forms 11g Parameter problem.

    Hello techies,  
                I am using Weblogic server 10.3.5 with oracle forms 11g at windows 7.I have a report that is Bar_code.rdf.It has two parameters as:
    P_1---->character type---->accepts the options(barcode generated or barcode not generated)
    P_2---->Number type------->accepts the subgroupitemId.
    This report is well working with oracle report builder. Now I tried to run it from my oracle forms.It runs but it does not accept Parameter P_2. I have used
    sParms := 'P_1='||:L_BAR||' P_2='||TO_NUMBER(:TXT_ITM_GRP);
    set_report_object_property(roRepid,report_other,sParms||' paramform=yes');
    set_report_object_property(roRepid,REPORT_SERVER,sReportServer);
      v_rep := RUN_REPORT_OBJECT(roRepid); 
    sJob := SUBSTR(v_rep,LENGTH(sReportServer)+2);   --
    But there is a parameter form is shown but when i click submmit query the,,,,there is
    Error 500--Internal Server Error
    From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1:
    10.5.1 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.
    please give me the solution
    thank you
    regards
    aaditya

    Hi
    are there character symbol appeared in your parameter ?
    i've suffering for some unexpected error for parameter value end up with slash , like D:\temp\   ....
    and oracle sr (support) says that with workaround mechanism (add additional slash like D:\temp\\ ) they have not plan to fix this issue .
    hope this helpful for you.

  • How to use LIKE function with a parameter in Oracle REPORT builder??

    how could i use parameter inside a LIKE function in Oracle reports builder?
    it works in SQL plus, but not in report builder!!
    Example:
    select code,desc from item_master where desc
    like '%&give_desc%'; ---works in SQL
    like '%:give_desc%' ---doesn't work in report builder!!

    Hi Renil,
    You will need to use the wildcard character (%) and the concatenation character (||) to join to your user parameter.
    i.e. like '%'||:give_desc||'%'
    Regards,
    John

  • How to pass Parameter to Oracle Report from portal

    Dear All
    I create a report use Oracle Report, and the file name is "Account.rdf"
    This report have a start date parameter and a end date parameter. I put this
    report to the report server, and then add a new entry to the cgicmd.dat file,
    so i enter the URL into IE and pass the start date and end date parameters to
    the report.
    And now, i want to put this report into portal, but how can i config the
    start date parameter and the end date parameter?? i want provide a interface
    to the end-user, so user can select which date he want to display. It is
    possible?? How can i config?? Would you give me some idea.
    Thanks for your help.
    Tony

    You will have to Register your .rdf in Oracle Portal. The following document gives details.
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=170178.1

  • Pass a ViewObject as a data parameter into Oracle Reports

    Can I pass a ViewObject as a data parameter in an Oracle Reports jsp Report?

    you can use impliment this script to your query get data from file
    function AfterPForm return boolean is
    infile text_io.file_type;
    linebuf varchar2(3000) := '';
    filename varchar2(100);
    v_employee_id varchar2(2000);
    begin
    filename := :P_file_name; /* you can pass the file name like this c:\temp\test.txt */
    infile := text_io.fopen(filename,'r');
    loop
    text_io.get_line(infile,linebuf);
    v_employee_id := v_employee_id&#0124; &#0124;linebuf&#0124; &#0124;' ';
    end loop;
    if text_io.is_open(infile) then
    text_io.fclose(infile);
    end if;
    exception when no_data_found then
    text_io.fclose(infile);
    v_employee_id := replace(rtrim(v_employee_id),' ',',');
    :p_employee_param := 'and employee_id in ('&#0124; &#0124;v_employee_id&#0124; &#0124;')';
    /* you can use either 'where employee_id in ('&#0124; &#0124;v_employee_id&#0124; &#0124;')' or
    'and employee_id in ('&#0124; &#0124;v_employee_id&#0124; &#0124;')' */
    return (TRUE);
    end;
    I think it will help you to solve your problem. Do not forget to put &v_employee_param
    Good Luck
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by gvardhan:
    The file will have one EmployeeID per line as follows
    100
    200
    ...<HR></BLOCKQUOTE>
    null

  • Lexical Parameter in Oracle Reports . . .

    Hi all,
    I am trying to pass a value to a query in oracle reports . . .
    the use of the parameter is to add 2 additional columns to an existing query, if a bind parameter is set to 'Yes' else the parameter carries a value NULL;
    Here is the code I have written in After Parameter Form:
    if :P_ROLL_DETAIL_PRN='Yes' then
    :P_CUSTOM_CODE:=NULL;
    :P_CUSTOM_CODE:=:P_CUSTOM_CODE||'wdd.LOT_NUMBER' ||','||'wdd.SUBLOT_NUMBER';
    else
    :P_CUSTOM_CODE:='';
    end if;
    P_Roll_detail is the bind parameter . . and P_CUSTOM_CODE is the Lexical Parameter . ..
    It works for value 'No' of P_ROLL_DETAIL .. . but for Value 'Yes' I get an error . . .
    REP-0499: Column '' selected by the query is incompatible with report defination
    Kindly help...
    Regards
    Jagan

    Lexical parameters can not be used to change the number of selected columns. Consider selecting max number of columns always, but populating last two columns with either NULL values or table columns based on the parameter. Also, manipulations can be done in the layout model using format triggers.

  • How to pass bind variable into oracle reports 6i - Parameter form

    Hello All,
    I want to pass bind variable into Oracle Reports 6I - Parameters.
    I have tried out that but got the below error :-
    rep-0781 : Bind variables are not allowed in the select statement
    Kindly help me is there any option which allow me to pass bind variables into Oracle reports 6I.
    Thanks
    HARSH SHAH

    Hi,
    may be its not possible to use :P_PARAM1 in user parameter of oracle 6i reports
    but u can full fill user requirement using oracle forms
    create a form as like as report parameter window
    then create parameter list and run report
    PROCEDURE Run_Emp_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, 'NO');
      Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END;
    thanks
    mostafiz mitul
    Dhaka Bangladesh

  • Pass parameter value from oracle reports to HTML

    Hi,
    Can anybody tell me if i can pass oracle reports6i parameter value to HTML.
    Any ideas/suggestions would be helpful
    Thanks
    KAvitha

    Kavitha,
    I didnt quite understand your question. Do you mean you want to use the report parameter form and pass the values entered there to an html form where you will display the output based on the parameters entered by the user ?
    If so, No. Not to the best of my knowledge. You can pass parameters from an html form to reports though, if this is what you are looking for.
    Regards,
    Al

Maybe you are looking for

  • Applet not running in browser?

    Hi What is the reason why an applet will be running in appletviewer but not in a browser???

  • Ical the server responded with an error?

    I keep receiving this error message: The URL encountered HTTP error 404. Make sure the URL is correct. What should I do? <Edited By Host>

  • Order Unit Price changeable in ME12

    Hi everybody, It is possible to change the field "Order Unit Price" in  ME12  transaction? I tried by SPRO without any solution, i read some posts about this topic but I couldnt find any solution ( I tried changing the Variable Purchase Order Unit Ac

  • Grid computing

    Very Good morning  experts ; I need some  information about  grid  computing. Oracle 10g is  first grid based database. Grid technology , how it acts really ? Getting bit  confused from following term. Grid computing enables the creation  of  a  sing

  • Explaination of error in vi analyzer

    If a control is placed in an event structure to execute the event, I dont see why I should be asked to put it outside the event structure or perhaps I haven't really understood what "placing on top level diagram means". Can anybody explain following