Req: to show values of a poplist dependent on values of another poplist

Hi,
I have a requirement to show values of a poplist(poplist2) based on the values selected from another poplist(poplist1).
Ex : when A is selected from poplist1 , poplist2 should show 1 and 2 as values. When B,C are selected from poplist1, poplist2 should show 1 as value.
i am using Jdev version JDeveloper10.1.3.1
Please help in acheiving this requirement.
Thanks,
Pavan.

Do you use ADF?
if yes, you should have a master-detail relation in the DataControl.
and then in the first combo put autosubmit=true and in the second combo put partialtrigger to the first

Similar Messages

  • Change Value in one LOV depending on value in another LOV

    hi forum.
    i have two Lov's. The first has continents and second has countries. my design is when user select continent, related countries should show up. now i can do that when i submit on the change of continent LOV very easily but, i dont want to refresh or reload the page as some other functions are disturbed by this, i want the countries values to change with out page being reloaded. please let me know how can i do it. i m a dumb ass so answers like "use dynamic action" or "user java script" are no different than ancient Greek to me. so plz reply elaborately as a matter of compassion.
    thanks in advance.

    Hi
    Can u pls try like this,
    Two Lov's Namely P1_Continent and P1_Country
    In the second Lov P1_country Please refer Cascading LOV Parent Item(s)="P1_continent" and make Optimal refresh as yes.
    and are using the select statement for second lov like this
    Select country from table_name where continent=:P1_country.
    Can pls make change in the List lov ie P1_continent Null Display Value=- select Continent-.
    Hopes this might you.
    Thanks & Regards
    Srikkanth.M

  • How could I pass parameter that depend on values in report from report to form?

    In my case, I want to pass 'gno' and 'qno' values of report
    to form. When click on the button then the form is showed.
    There are automatically values in gno field on form so that user
    don't complete this filed.
    So I create a button on the report . I enter Javascript in
    PL/SQL Code tab in '...after displaying the footer' as follow :
    htp.formOpen
    (owa_util.get_owa_service_path||'portal30.wwa_app_module.link?
    p_arg_names=_moduleid&p_arg_values=1736929105&p_arg_names=_show_h
    eader&p_arg_values=YES&p_arg_names=GNO&p_arg_values=1&p_arg_names
    =QNO&p_arg_values=2');
    htp.formSubmit(null,'New Answer');
    htp.formClose;
    The above code can pass only static value, while I want to
    pass values that depend on value in column of report to form.
    So please tell me how can I pass this value to form. I look
    forward to hearing from all of you. Please!!!!!!
    Thank You

    Thanks for the prompt reply.
    Yes. I am using a Custom Step Type.
    I have attached a trial code which contains the trial VI, sequence and the type palette ini file.
    Please have a look at it.
    Regards,
    Mirash
    Attachments:
    Injection trial.zip ‏35 KB

  • URGENT:Making a poplist value freezed based on another poplist value

    Hi,
    I have a requirement to make a poplist value freezed(should get disabled so that no further change can be done) based on another poplist value.
    for ex : poplist 1 : A,B.
    poplist2: yes,no
    if A is selected, yes,no should appear in the poplist2.
    if B is selected, only YEs should appear in the poplist2 and it should get greyed out(disabled for further changing).
    Please help.
    Thanks,
    Veena.
    Edited by: Veena. on Dec 31, 2012 4:00 AM

    Veena,
    there is nothing urgent on this forum!
    You know that you should provide your jdev version so that we can help you solve your problem.
    Next it would help if you provide the code (of the page) so that we see how you setup the 'poplist' (whatever that exactly is).
    If you mean a selectOnceChioce you can implement a valuechangeListener on poplist A and depending on the new value set the value of poplist B to yes and disable it.
    Timo

  • Cell definitions depending on value of free characteristic

    Hello,
    I have the following requirement for one BEx query:
    Depending on the value of a free characteristic (material), values in certain cells shall be shown or not. Values in these cells are usually calculated by cell definitions. When the user selects certain materials (e.g. A1, C3) during query navigation the values in those cells have to be 0, i.e. the values that are calculatd by cell definitions should not be shown.
    When other materials are chosen by the user, those cells should show the calculated values.
    I tried to create a replacement path formula variable in order to create a 0/1-switch (find out the value of the selected material and compare it with predefined materials (A1, C3)).
    However, the value of a formula variable has to be a number. So that's no solution for my requirement.
    Do you have any ideas how to solve this requirement? Note that there is no entry variable for material.
    Thanks in advance!
    Thomas

    Hi,
    Make 3 restricted key figurs on market value restricting them with rating AAA, AA and A.
    Lets say RKF1 for rating AAA
    RKF2 for rating AA and
    RKF3 for rating A.
    Now you can use these 3 key figurs in your formula key figure which can simple be
    RKF10,4 + RKF20,3 + RKF3*0,2.
    In this way you are already sure that only one of the RKF's will have a value and depending on the rating it will be multiplied with the value you have in your logic.
    Hope this helps.
    Regards,
    Jadeep

  • Strange issue in ListBox - Showing the 'id' contents and not from 'Values'.

    Hi,
    I have created a custom table control that looks exactly like in 'Partner Tab' of Sales Order. It has Partner type, Partner, Name etc columns. For 'Partner type' column, I am calling function module 'VRM_SET_VALUES' so it shows as 'Sold-to party' , Ship-to Party' instead of SP, WE etc. This works fine.
    However, before I display this table control, in PBO,  I am populating Partner Type and partner # and passing it to table control columns. It should show like 'Sold-To party' in 'Partner type' column and '0000014' in 'Partner' column. I see Partner # populated correctly, however, instead of showing 'Sold-To party' in 'Partner type' column , it is showing like SP, which is the 'id' value from function module 'VRM_SET_VALUES' . What should I do so it shows the description(content from 'Values' and
    not from 'id' ) ?
    Niranjan

    Thanks for the response.
    I had tried converting to text and pass from Internal table to Table control on screen in PBO, however, the width of the column is only 2 characters, so it will display just 2 characters text.
    I am wondering how SAP is able to code to show TEXT in 'Partner tab' in Sales Order. I have pasted the contents below from 'Partner tab' of sales order. I debugged the code in program SAPLV09C and screen 1000 and somehow they are populating the text as shown in 'PARTNER FUNCTION' below instead of codes like SH, SP. If I press F1 on field, I see SDPARTNERLIST-PARVW as the field name and the width is 2 characters.
    PARTNER FUNCTION        PARTNER #      NAME
    Sold-to party                         79269     XYZ CONSTRUCTION
    Foreman1                          2023     KURT
    Bill-to party                          79269     XYZ CONSTRUCTION
    Payer                          79269     XYZ CONSTRUCTION
    Regional Salesman            430     MARK
    Ship-to party                          219763     S.A.G. PROPERTIES
    Cont Person >Bill-To     80296     DENNIS
    Cont Person >Sold-To     80296     DENNIS
    Cont Person >Payer     80296     DENNIS
    Cont Person >Ship-To     261628     DENNIS

  • How can I show a 0% range in the data value label on a bar chart thanks?

    How can I show a 0% range in the data value label on a bar chart thanks?

    I'm not sure what the question is. 
    I know that if you have a bar chart and one of the categories (X-axis) has bar (Y value) equal to 0%, no bar is plotted for that category. Even the addition of a stroke (line) around the bars doesn't make one appear for 0%.  The only automatic way I know of to make it look like there is data in that category is to add the value labels to the bars. Inspector/Chart/Series, select one of the bars on the chart, click on "value labels". Another method that is a workaround is to fudge the number a little in your table so that instead of 0% it is a very small %.  This will get you a thin line on the chart.
    But if your question is about the value labels (the numbers that display on or in the bars) and you are not getting one for a bar that is supposed to be 0%, it probably means your table doesn't actually have a 0% in the corresponding cell. A blank cell in the table will not get a value label.

  • Assigning Values to a Field Depending on Other Field

    Hi,
    I'm creating a survey that is used to capture data on a yearly basis. We are attempting to make the survey as self-validating as possible to minimize workload. One section of the survey asks for a yearly change in the number of people in a program, asking for both the number of people entering the program and the number leaving the program. We need this section to self validate by checking that the number of people in the program at the beginning of the year, plus the number added to it, minus the number leaving it, equals the number of people in the program at the end of the year.
    The validation formula for this is easy. The difficult problem is automatically assigning a value to the beginning of year value. We will know what this value is due to collecting a response from the program the previous year. My plan is for this field to self-fill depending on an earlier response to the selection of the program name.
    Suppose there is a question earlier in the survey asking for the program name, I'll call it ProgramName. This is a drop down list that must be selected from a list. I need the export value of the drop down list to be the program name they selected. My plan is that for the field later in the survey to fill like this:
    switch(ProgramName.value)
         case "Program1":
              currentfield = "1"
         case "Program2":
              currentfield = "2"
         default:
              currentfield = "0"
    Unforunately I am very new to writing JavaScript and don't know the syntext to get this result. Any help would be appreciated!
    Thanks

    What you're proposing is a custom calucalte script for the beginning of year value field that gets set based on the dropdown selection. I'd suggest setting the field value in the validate event of the drop down instead, in which case the code would look like:
    // Set the beginning of year field value based on this field's selection
    // initialize variable
    var begin_num = 0;
    switch (event.value) {
    case "Program1":
        begin_num = "1";
        break;
    case "Program2":
        begin_num = "2";
        break;
    case "Program3":
        begin_num = "3";
        break;
    // Set be beginning number field value
    getField("begin_num").value = begin_num;
    Where "begin_num" is the name of the field that will contain the beginning number.

  • Stacked Bar showing VALUE literal instead of X axis value in hover hint

    I am converting to APEX 3.0 and noticed that the new "Show Hint" doesnt display the X axis value on a Stacked bar. Instead it shows the literal "VALUE". For example, I am displaying the number of orders for a given day. X=date, Y = count. I was expecting the Hint to display "11/15/07, 15" but instead it displays "VALUE, 15".
    This same sql displays correctly when I use it in a Line Chart.
    Any ideas? Thank You

    Bump...having same issue, still scanning message board for solution.

  • LOV depending on value of field in report

    I have a report on a query. In one of the fields I want to have a Radio Group, Based on query based LOV. The values in the LOV depends on the value in the field in the report. Is this possible, and how do I define the LOV for it?
    Would it be something like:
    select disp_val d, id r
    from my_table
    where field_x = [value_of_this_field_in_my_report]
    order by 1What do I fill in for [value_of_this_field_in_my_report]?

    Please refer to Metalink note 825603.1.

  • AW01N shows planned values in period 12 under posted values tab

    Hi,
    I need to change the useful life and depreciation key of an asset.  Before the change, the 2009 depreciation values in AW01N under the posted values tab shows 500,000 monthly depreciation from period 1 to period 12 totalling 6M for that year.
    After changing depreciation key to ZLNR which has a base value key of 24 (net book value), system added another line item for a planned value of 3.750M.  
    Why did the system add another planned value?  I do not want to change the 2009 depreciation values.  However, I must show that the depreciation values in 2010 will "catch up" i.e. decreased depreciation because of longer useful life.
    Thanks and regards,
    Tess

    Resolved.  I must close the 2009 fiscal year first before changing the useful life and the depreciation key.

  • Showing U$S / Hora in key figures values

    Hi guys,
    I have a little question: It is possible to show as unit of measure in each value of a a key figure a description?, I mean:
    Generally We use:
    KF
    100 MTS
    100 HS
    100 USD
    What I want:
    KF
    100 U$S / Hora
    100 U$S Movilización
    Thks!
    EV

    Emiliano,
    the UOM details are in table t006 - if required - you can change the descriptions for the same and see if it reflects the same....
    Add the 0unit IOBJ into the report and show the text for the same....
    Arun
    Hope it helps...
    Message was edited by:
            Arun Varadarajan

  • Restrict 2 KF with different value of Characteristics Time dependent

    Hi,
    in a query I should insert 2 columns (current year and previous year) in which the KF is restrict to same values of the characteristic that it is time-dependent, but in query I can use only a value of key-date How can I do?
    Thanks.
    Charly

    Hi Kaled,
    I have not perhaps understood. I explain you with an example.
    My MasterData have the caracteristic Car1 time dependent:
    CUSTOMER            OBJV.       DATETO    DATEFROM  CAR1
    000000000000029000 A       30.06.2007 01.01.1000
    000000000000029000 A       31.12.2008 01.07.2007 A10
    000000000000029000 A       30.06.2009 01.01.2009 A11
    000000000000029000 A       31.12.9999 01.07.2009
    In my query Sales, I have to get:
    Customer             Value 2008 (A10)       Value 2009 (A11)
    29000                          100                    500
    where the value 100 for 2008 is sales for the value A10 time dependent and the value 500 for the value A11 time dependent.
    In the query how to restrict the value S1 on KF1 e the value S6 on KF2 when it are time dependent and in the query property i have the variable keydate 0DAT ?
    You can make me an example of as to build the restrict  KFs?
    Many thanks.
    Charly

  • Sort key too long error  depends on values supplied to query

    Please have a look at this query (Just given for guessing complications).
    This query works and gives output for pro_id=1 and other few values.
    But it fails for value 2.
    SELECT *
    FROM common_list_view_test
    WHERE che_id != 14
    AND(use_id = 299 OR iss_rec = 299 OR che_id IN
      (SELECT a.m_che_id
       FROM m_chk_pt a,    m_role_chk_pt b,    m_user c
       WHERE a.m_che_id = b.m_che_id
       AND b.m_rol_id = c.m_rol_id
       AND c.m_use_id = 299))
    AND pro_id = 2
    ORDER BY iss_dat,
      issue_stringFor pro_id = 2 it gives error:
    ORA-01467: sort key too long
    What do we mean by sort key?
    Is it depends on supplied information and the records to be fetched.
    If the query is going to fetch a lot of records then do this error occur?
    How to avoid this error and make the query to work got pro_id=2.
    -Sameer

    It is also not working for:
    SELECT COUNT(*)
    FROM common_list_view_test
    WHERE pro_id = 2Please tell me what i have to do?
    I can't rewrite common_list_view_test as i do not have enough priviledged to change its code, but this view is a lot complicated.
    But then why it works for one value and not for another one?
    Please help.
    -Sameer

  • Results of new key figure depending on value of characteristic

    Hi,
    I have created a query with characteristic "Rating" and key figure "market value".
    Char "Rating" has several values, e.g. AAA, AA, A, etc.
    As next step I will create a key figure which should work out as follows:
    If value of Rating is "AAA", then multiply the overall market value with 0,4,
    if value of Rating is "AA", then multiply the overall market value with 0,3, ...
    How can I do so?
    BR,
    Thorsten

    Hi,
    Make 3 restricted key figurs on market value restricting them with rating AAA, AA and A.
    Lets say RKF1 for rating AAA
    RKF2 for rating AA and
    RKF3 for rating A.
    Now you can use these 3 key figurs in your formula key figure which can simple be
    RKF10,4 + RKF20,3 + RKF3*0,2.
    In this way you are already sure that only one of the RKF's will have a value and depending on the rating it will be multiplied with the value you have in your logic.
    Hope this helps.
    Regards,
    Jadeep

Maybe you are looking for

  • Error while converting OTF to PDF

    Hi All, I am getting an error when i am trying to convert smartform to PDF. the error is : Error analysis     An exception occurred that is explained in detail below.     The exception, which is assigned to class 'CX_SY_DYN_CALL_      not caught in  

  • HT4972 my ipad switched to German! How do I get it back to English?

    My iPad switched to German while I was synching it to my computer. How do i get it back to English?

  • Contents of my "desktop" folder have been deleted

    I woke up this morning to find that the contents of my "desktop" folder have been deleted. It no longer appears under "Places" in a new window in the finder so I assume it has been deleted and the finder created a new one. When I do a search for a fi

  • Significance of Monitor in Mitigation control

    Can any body help me understand what does Monitor does in Mitigation control and what does the statement mean below: "When creating a mitigation control, need to define the Action, Monitor ID, and Frequency. If the monitor does not execute the action

  • URL generation

    Hi Everybody , i want to generate a URL to make use of this in xcelsius . Now , iam able to generate a flat XML file using 'Call Transformation' on the local desktop . Similarly i would like to generate a 'URL'   there by i want to make use of this U