Selection values in query should have help values based on another field

Hi all,
I have the following requirement:
I have a query in which there are the following two filters in the
selection criteria:
1. COuntry
2. State
Based on the Country selected, the values for the State should come up
in the Help values in the slection criteria. The user then shall select from these values.
I plan to use a variable for Country with Replacemetn path as the second query whcih shall have Coutnry and States.
Is this right or can I do this in a better way? Please suggest.
Thanks and Regards,
Srilakshmi B

Hi,
See you can achieve this through exit variable.
Try to create one custom table or try to refer to master data tables may be?
Custom table need to maintain your master data and need to be referred in below code.
INCLUDE ZXRSRU01 *
Enhancement: MultiProvider using InfoProvider Variable
include YBW_INFOPROVIDER_VARIABLE.
*& Include YBW_INFOPROVIDER_VARIABLE *
DATA:
ls_var TYPE rrs0_s_var_range,
ls_range TYPE rsr_s_rangesid,
l_contained TYPE c,
ls_mapping TYPE ybw_mapping,
lt_mapping TYPE TABLE OF ybw_mapping.
Called after variable popup
IF i_step = 2 AND i_vnam = 'INFOPROV'.
- 13 -
Read mapping table
REFRESH lt_mapping.
SELECT * FROM ybw_mapping INTO TABLE lt_mapping.
Process all selection for country variable
REFRESH e_t_range.
LOOP AT i_t_var_range INTO ls_var WHERE vnam = 'S_COUNT'.
Process all mapping rules
LOOP AT lt_mapping INTO ls_mapping.
Always fill LOW and HIGH, Otherwise logic below will not work
IF ls_mapping-high IS INITIAL.
ls_mapping-high = ls_mapping-low.
ENDIF.
Check if selection is contained in the defined InfoProvider
CLEAR l_contained.
CASE ls_var-opt.
WHEN 'EQ'.
IF ls_var-low BETWEEN ls_mapping-low AND ls_mapping-high.
l_contained = 'X'.
ENDIF.
WHEN 'BT'.
IF ls_var-low <= ls_mapping-high AND
ls_var-high => ls_mapping-low.
l_contained = 'X'.
ENDIF.
ENDCASE.
Add InfoProvider to return table
Note: Use COLLECT to avoid duplicates
IF l_contained = 'X'.
CLEAR ls_range.
ls_range-sign = 'I'.
ls_range-opt = 'EQ'.
ls_range-low = ls_mapping-infoprov.
COLLECT ls_range INTO e_t_range.
ENDIF.
ENDLOOP. " lt_mapping
ENDLOOP. " i_t_var_range
EXIT.
ENDIF.
Thanks and regards

Similar Messages

  • Search help for a field in table control based on another field value

    Hi,
    I want to attach the Search help for a field in table control based on another field value.
    Please help me asap.
    Will be highly rewarded

    HI,..
      Check these links
    search help in table control
    Re: How to create Search Help for a field in Table control !!
    How to create Search Help for a field in Table control !!
    F4 Help In Table Control
    Control table F4 help
    Problem in F4 help in screen field
    check this code
    DATA: BEGIN OF it_value4 OCCURS 0,
             TEXTCODE  LIKE  ZXX-TEXTCODE,
             TEXTDESC  LIKE  ZXX-TEXTDESC,
           END OF it_value4.
      progname = sy-repid.
      dynnum   = sy-dynnr.
             SELECT TEXTCODE TEXTDESC
               FROM  xxxx
               INTO CORRESPONDING FIELDS OF TABLE<b> it_value4</b>
              WHERE  LOSS_CODE =<b> IT_VALUE1 .</b>
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'TEXTCODE'
          dynpprog    = progname
          dynpnr      = dynnum
          dynprofield = 'ITVALUE-TEXTCODE'  "-->UR  4 th filed value in screen
          value_org   = 'S'
        TABLES
          value_tab   = it_value4.
    endmodule.
    Message was edited by:
            veereshbabu ponnada

  • Change field value in a table, based on another field value in the same row (for each added row)

    Please Help, I want to change field value in a table, based on another field value in the same row (for each added row)
    I am using this code :
    <HTML>
    <HEAD>
    <SCRIPT>
    function addRow(tableID) {
    var table = document.getElementById(tableID);
    var rowCount = table.rows.length;
    var row = table.insertRow(rowCount);
    var colCount = table.rows[0].cells.length;
    for(var i=0; i<colCount; i++ ) {
    var newcell = row.insertCell(i);
    newcell.innerHTML = table.rows[1].cells[i].innerHTML;
    switch(newcell.childNodes[0].type) {
    case "text":
    newcell.childNodes[0].value = "";
    break;
    case "checkbox":
    newcell.childNodes[0].checked = false;
    break;
    case "select-one":
    newcell.childNodes[0].selectedIndex = 0;
    break;}}}
    function deleteRow(tableID) {
    try {var table = document.getElementById(tableID);
    var rowCount = table.rows.length;
    for(var i=0; i<rowCount; i++) {
    var row = table.rows[i];
    var chkbox = row.cells[0].childNodes[0];
    if(null != chkbox && true == chkbox.checked) {
    if(rowCount <= 2) {
    alert("Cannot delete all the rows.");
    break;}
    table.deleteRow(i);
    rowCount--;
    i--;}}}catch(e) {alert(e);}}
    </SCRIPT>
    </HEAD>
    <BODY>
    <INPUT type="button" value="Add Row" onClick="addRow('dataTable')" />
    <INPUT type="button" value="Delete Row" onClick="deleteRow('dataTable')" />
    <TABLE id="dataTable" width="350px" border="1">
    <TR>
    <TD width="32"></TD>
    <TD width="119" align="center"><strong>Activity</strong></TD>
    <TD width="177" align="center"><strong>Cost</strong></TD>
    </TR>
    <TR>
    <TD><INPUT type="checkbox" name="chk"/></TD>
    <TD>
    <select name="s1" id="s1">
    <option value="1">1</option>
    <option value="2">2</option>
    <option value="3">3</option>
    </select>
    </TD>
    <TD><input type="text" name="txt1" id="txt1"></TD>
    </TR>
    </TABLE>
    </BODY>
    </HTML>

    Hi,
    Let me make sure u r working with table control.
    First u have to create a event(VALIDATE) to do the validation.
    Inside the event,
    1. First get the current index where user has pointed the curson
    2. Once u get the index read the internal table with index value.
    3. Now u can compare the col1 and col2 values and populate the error message.
    1. DATA : lo_elt TYPE REF TO if_wd_context_element,
                   l_index type i.
    lo_elt = wdevent->get_context_element( name = 'CONTEXT_ELEMENT' ).
         CALL METHOD LO_ELT->GET_INDEX( RECEIVING  MY_INDEX = l_index.
    above code should be written inside the event.
    Thanks,

  • Table Control: make a field editable or not based on another field value

    HI All,
    How to make a column field input enabled or disabled based on another field value in a Table Control.
    Here's the scenario:
    I have a table control with two columns, KTOKK and LIFNR. Now for certain KTOKK, the LIFNR field should be editable and for certain KTOKK it should not be editable.
    Eg.,  KTOKK = 0001 =>  LIFNR field is not editable.
            KTOKK = ZKTO => LIFNR field is editable.
    But these fields are in a table control.
    Please advice.
    Thanks in advance,
    RK.

    Hi RK,
    Go through the below link..
    how to make special field editable or diseditable in table control?
    the code mentioned in the link.. just add ur conditions in the module....
    Best Regards,
    Brijesh

  • Select MULTIPLE default values for a multiple selection list box based on another field in Infopath 2010

    Hello there - Before I explain my issue, I would like to point out that I have reviewed some other discussions on selecting default values for multiple selection listbox. But my issue is specific and different, and not answered by any of the discussions
    I visited.
    I have a multiple selection list box (say for example all countries in the world as values), and I would like to pre-select or setup multiple default values (say five countries) based on some criteria that I query from MS SQL database table.
    I know we can go to Data | Default Values option to setup one or many default values for multiple selection list box. When I enter the default values manually this works. I also right click the field under the Multiple-Selection List Box group, then select
    Add another Value Below and set the Default Value for this field to setup multiple default values.
    However, if I reference a field (either an infopath field or a field from SQL database) I am not able to setup multiple default values. Infopath automatically selects the last field I selected for all instances and in the end I am able to see only one
    default value selected instead of many. How to fix this problem? Why would infopath allow multiple default values when we enter it manually but not when we reference some fields?
    Please let me know if you need more info. Appreciate your help.
    Thanks!

    Hi redhotc,
    According to your description, my understanding is that you want to set multiple default values for a multiple checkbox list in InfoPath form.
    I did a test with SQL database table. I set three default values for the checkbox list by adding three values field under the group field(Data->Default values), each value field is for a default value. Then publish it to my SharePoint site, everything
    was fine.Please have a try as the below link:
    http://www.bizsupportonline.net/infopath2010/pre-select-items-multiple-selection-list-box-infopath-2010.htm
    Note: if you are using SQL databse table, you may need to enable ‘Allow cross-domain data access for user form templates that use connection settings in a data connection file’ in CA. More information, please refer to:
    http://answers.flyppdevportal.com/categories/sharepoint2010/sharepoint2010customization.aspx?ID=418b9423-a96c-4e5e-91f9-6a1b010ebb69
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to set field checkbox values based on another field

    I'm trying to provide the user with the ability to check one box "Check All" which would then set the check boxes for a section to the same value as shown in the example.  Anyone know how I can accomplish this?
    Thank you.
    Example
    General Category A     [  ] Check All
         [  ]  Item 1
         [  ]  Item 2
         [  ]  Item 3
         [  ]  Item 4
    If user selects "Check All", all the Items in the list for "General Category A" are then checked automatically.

    You can create a document level function to check a series of check fiels as long as they all have the same checked value.
    // document level function that can be used for many sections
    function CheckAll(aFields, sChecked) {
    // test to see Check All box for being checked
    // and if checked set to aFields to checked value
    // otherwise clear fields
    if(this.getField(event.target.name).value == 'Off') {
    // field unchecked
    this.resetForm(aFields); // clear the fields
    // end box not checked
    } else {
    // check all box has been checked
    // loop through the fields to check
    for (i = 0; i < aFields.length; i++) {
    // all fields are assumed to have a value of 'Yes' when selected
    var f = this.getField(aFields[i]); // get field for element i
    f.value = sChecked; // set to checked value
    } // end loop to check
    // end checked
    } // end unchecked
    } // end CheckAll function
    // end document level function
    You can then add a mouse up aciton for the check all check box:
    // mouse up action for check all check box
    // define array of check box fields to process
    var aSecFields = new Array('Item 1', 'Item 2', 'Item 3', 'Item 4');
    // call CheckAll function
    // passing the array list of field names and checked value
    CheckAll(aSecFields, 'Yes');
    or you can use 1 line of executable code:
    // mouse up action for check all check box
    // call CheckAll function
    // passing the array list of field names and checked value
    CheckAll(['Item 1', 'Item 2', 'Item 3', 'Item 4'], 'Yes');

  • Acrobat XI - Populating value of a field based on another field

    pdf built in Acrobat XI
    New to this and I have tried every possible combination I can think of! For simplicty purposes, I have two text fields, Text1 and Text2. I want Text2 to populate based on the value entered into Text1. Have an Action event (Mouse Up) on Text1 as follows:
    var OneT = this.getField("Text1");
    var TwoT = this.getField("Text2");
    TwoT.value=OneT.value;

    [Moved to Acrobat JavaScript forum]
    If you name each field the same, the values will automatically be the same. But if you want to be able to change the value of Text2 after it is autopopulated, you should use a different script and a different event. The following custom Validate script for Text1 will set the value of Text2 when the value of Text1 changes:
    //Custom Validate script for Text1
    getField("Text2").value = event.value;
    If you only want to set the value of Text2 when it is blank, the code could be:
    // Custom Validate script for Text1
    // Get a reference to Text2
    var f = getField("Text2");
    // Only set it value if it is currently blank
    if (!f.valueAsString) {
        f.value = event.value;
    This allows the user to change the value of Text2 without it getting reset when Text1 is changed.

  • RRI - Target query should get input values to variables from first Query

    Hi,
    I have 2 queries in RRI, when i execute it , i am going to target query, but poping the variable screen, but i should get the input values from the first query automatically.
    ex: in my first query, If i select CUSTOMER - A, then second query directly should take the input as Customer as A ans display the Customer A values.
    Thnaks,
    Amar.

    Hi,
           In the Assignment details, I have given the Document date variable of the second query  for the 0calday of the first query.I hope this sentence is clear
    Then the 0calday value directly passes to 0doc_date variable of the second query. And this 0doc_date variable is not seen in the second query.But rest of the variables of the second query like doc num ,category etc. are still visible in the pop up screen. the requirement is Pop Up Screen should be avoided completely
    How can be this achieved.
    Regards,
    Amar

  • SCAC Field Should have Drop Down Values and ASN should have Storage locatio

    Hi ,
    We have a requirement while creating ASN in which we have to add SCAC ID  in the SCAC field ( Carrier)  this SCAC ID comes in Shipping details  - We want to have drop down values in this field and also if we dont enter value in this field An Error Message should come like " Maintain SCAC code.
    And also the PO's coming from ECC are not carrying Storage location information - Is there a specific config / enhancement to be done.
    And in ASN can we have Storage location ?
    Thanks,
    Mahesh

    Hi Mahesh
    Regarding adding fields to UI
    Refer below links
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0b0e544-7a06-2d10-539d-f8648358ba67?quicklink=index&overridelayout=true
    http://wiki.sdn.sap.com/wiki/display/SCM/SAPSupplyNetworkCollaboration%28SAP+SNC%29
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/908c1e69-0a01-2d10-e7a6-98ca00f19aa6?quicklink=index&overridelayout=true
    Not sure how to maintain it as a drop down, a developer could help you easily with that.
    Regarding Storage location from PO ECC.
    If you are using idocs, the standard SAP xml conversion will not be able to transfer this(if you download standard content)
    You can find the field in your IDOC ORDERS05, Data records-Segement-E1EDP01FIELDLGORD
    In order to transfer this, you need to rewrite the xml format in integration builder of XI/PI and then add some UI fields in Webui
    to show.
    But xml PurchaseOrderERPReplenishmentOrderCollaborationNotification as of SAP ECC EHP4 can carry this information in its payload document(SXI_MONITOR---INBOUND MESSAGE ---PAYLOADS) Under the node INVENTORY MANAGED LOCATION
    Not sure where this field is mapped to .........
    I will let you know once i find........Mean while you can ask any developer who worked on webdynpro .
    Yes we can have this field once we find where it is mapping, if you are using idocs then even the XML has to be build in PI
    accordingly.
    Best Regards
    Vinod

  • Query should fetch single value

    Hi,
    I have created a Key figure with exception aggregate as Last value with reference char as order.
    I have data like
    Ord date KY KY2
    01   ...    22   221
    01  ...     22   223
    02  ...     23   234
    I want to get in the query KY= 22 for Ord=01 but i am getting KY= 44.
    The exception aggregate is not working. IS there any other option.
    Thanks,
    Joseph M

    Hi,
    If you keep the Order no in the rows, then take Line item no as exception char.
    Regards,
    Anil Kumar

  • Oracle SQl query to find date range based on another cloumn value

    Hi Folks,
    I want to extract records for the employees who have consecutive vacation/leave from a table. If an emp has vacation of 3 days (MON-WED), the table contains 3 distinct records for him,
    e.g. My table contains records as shown below.
    EmpName Paycode ApplyDate Amt. of Hrs
    emp1 vacation 5/1/2010 8
    emp1 vacation 5/2/2010 8
    emp1 vacation 5/3/2010 8
    I am trying to get the output like this...
    Emp Name Paycode Leave Start Date Leave End Date TotalHrs
    emp1 vacation 5/1/2010 5/3/2010 24
    Note: If the smae emp has sets of vacation in another month, that should come as a separate record with start date and end date(last date of vacation for that set).
    I have a query which does not return any rows. Any help to repair this query or any better one would be of great help.
    ==================================================================
    WITH vpt AS (
    select personnum as empname, paycodename as paycode, applydate, timeinseconds/3600 as numhours from VP_TOTALS
    where applydate between to_date('05/01/2010','MM/DD/YYYY') AND to_date('12/31/2010','MM/DD/YYYY')
    AND paycodename in ('US-Vacation','US-Bereavement','US-Sick','US-Jury Duty')
    select
    empname,
    paycode,
    min(applydate) as startdate,
    max(applydate) as enddate,
    sum(numhours) as totalhours
    from (
    select
    empname,
    paycode,
    applydate,
    numhours,
    -- number the blocks sequentially
    sum(is_block_start) over (partition by empname, paycode order by applydate) as block_num
    from (
    select
    empname,
    paycode,
    applydate,
    numhours,
    -- Mark the start of each block
    case
    when applydate = prev_applydate + 1 then 0 else 1 end as is_block_start
    from (
    select
    empname,
    paycode,
    applydate,
    numhours,
    lag (applydate) over (partition by empname, paycode order by applydate) prev_applydate
    from vpt
    group by empname, paycode, block_num
    ===================================================================
    Thanks,
    Maha

    Hi Dear,
    Can I do reverse I mean I can get output as your question from your output as below:
    I have this table
    FID      STARTD ATE END DATE
    1 01-MAY-10 03-MAY-10
    1 09-MAY-10 11-MAY-10
    1 03-JUN-10 04-JUN-10
    2 03-JUN-10 04-JUN-10
    2 04-AUG-10 04-AUG-10
    2 06-AUG-10 06-AUG-10
    I want like this.
    FID FDATE
    1 01-MAY-10
    1 02-MAY-10
    1 03-MAY-10
    1 09-MAY-10
    1 10-MAY-10
    1 11-MAY-10
    1 03-JUN-10
    1 04-JUN-10
    2 03-JUN-10
    2 04-JUN-10
    2 04-AUG-10
    2 06-AUG-10
    And:
    How can i get date wise entry from Joining date to relieving date like..
    FID      START DATE END DATE
    1 01-MAY-10 03-MAY-12
    1 09-MAY-10 11-MAY-11
    2 04-AUG-10 04-AUG-11
    I want like this.
    FID FDATE
    1 01-MAY-10
    1 03-MAY-10
    1 04-MAY-10
    1 05-MAY-10
    1 16-MAY-10
    1 17-MAY-10
    1 08-May-10
    1 09-May-10
    1 03-May-12
    Can you please help me.
    Thanks,
    Edited by: 978452 on Dec 24, 2012 12:02 AM

  • Free sample sales net value in invoice should give zero value.

    Hello Experts,
    I have a question on the cess values aspect of free sample sales.Recently, I have configured a free sample sales for one of our clients. Now, in the invoice the user does not want the cess values to be passed to the customer.I changed the R100 discount type in the pricing control data, still tax is picked up, showing negative net value and not zero. Now, how to arrive at excise payable as credit entry and octoroi etc as debit entry in G/L accounts. or where I am going wrong, please suggest.
    Regards,
    Raj.

    For sample sales that is you are despatching material on free of cost, follow the steps mentioned below
    1) In V/06, you should create a condition type, say ZDIS (for 100% discount) and maintain the following:-
    Cond. class::::::A
    Calculat.type::::A
    Plus/minus:::::::X
    Item condition:::X
    Amount/percent:::X
    Delete:::::::::::X
    Value::::::::::::X
    Save the condition type
    2)  In OV34, create two new Account Keys, one for PR00 and one for 100% discount.  Say the two Account Keys are ZSM and ZSP
    3)  In V/08, against PR00 condition type, assign Account Key ZSM with a tick in "Required".  Next for condition type ZDIS, assign the another Account Key ZSP without any tick in the three boxes.  Against this discount condition type, assign the step number of net value under the tab "From", assuming that after PR00 you have multiple condition types.
    4)  In FS00, create a new G/L Account with description as Sales Promotion Expenses
    5) In VKOA maintain these two Account Keys for the sales organisation / chart of accounts with the same G/L account for both the Account Keys.  Dont assign different G/L Account here.
    6)  Now create a sale order and do billing.  See how the accounting document flows.  Post still if you have any issues.
    thanks
    G. Lakshmipathi

  • How to select record in mulitple rows based on another field's values?

    Hi,
    sorry about the bad title, really not sure how to explain this
    Have the following data:
    Cost_center       Activity_type
    1005009401     CLBR0
    1005009401     CLBR1
    1005009401     TLBR0
    1005009401     TLBR1
    1005009401     VEH00
    1005009402     CLBR3
    1005009402     CLBR4
    1005009402     TLBR5
    1005009402     TLBR6
    1005009402     VEH07
    1005009901     CE000
    1005009901     CLBR0
    1005009901     CLBR1
    1005009901     TLBR0
    1005009901     TLBR1
    1005009901     VEH01 I need to return a list of cost centers (with its associated activity types) that do not have activity types of CLBR0 and CLBR1 and TLBR0 and TLBR1 and VEH01. So in the above data, cost center 1005009401 and 1005009402 would be returned.
    Any thoughts?
    Thanks.
    Edited by: dgouin on Aug 29, 2012 11:42 AM - added more sample data.
    Edited by: dgouin on Aug 29, 2012 11:45 AM
    Edited by: dgouin on Aug 29, 2012 11:49 AM

    Sorta kludgey, but functional:
    WITH ccs AS
      SELECT '1005009401' AS CC, 'CLBR0' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009401' AS CC, 'CLBR1' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009401' AS CC, 'TLBR0' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009401' AS CC, 'TLBR1' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009401' AS CC, 'VEH00' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009901' AS CC, 'CE000' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009901' AS CC, 'CLBR0' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009901' AS CC, 'CLBR1' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009901' AS CC, 'TLBR0' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009901' AS CC, 'TLBR1' AS activity_type FROM dual
      UNION ALL
      SELECT '1005009901' AS CC, 'VEH01' AS activity_type FROM dual
    SELECT cc, activity_type
    FROM   ccs c1
    WHERE  5 != (SELECT COUNT(DISTINCT activity_type)
                 FROM   ccs c2
                 WHERE  activity_type IN ('CLBR0','CLBR1','TLBR0','TLBR1','VEH01')
                 AND    c1.cc = c2.cc
    CC         ACTIVITY_TYPE
    1005009401 CLBR0        
    1005009401 CLBR1        
    1005009401 TLBR0        
    1005009401 TLBR1        
    1005009401 VEH00 

  • Change LOV based on another field value

    I have a need to change the LOV of a page item's select list based on the selection in another page item's select list. So in other words, for a page item that is a select list, I need to use one LOV normally, and a different LOV if the value of a different page item is set to X.
    A dynamic action would be useful here (on change where Select List 1 = x), but I don't know how to take the action of changing LOVsfor Select List 2 based on that action.
    Thanks in advance!
    John

    Good question. Here is more detail. 2 page items are involved here - P23_GEAR and P23_GEAR_TYPE. Normally, my SELECT for my LOV for the page item P23_GEAR is:
    select distinct gear_code d, gear_code r
    from gear_lk
    order by 2
    IF Page Item P23_GEAR_TYPE = 'S' (selected from a select list) THEN I need to use THIS SQL query for the LOV for P23_GEAR:
    select distinct gear_code d, gear_code r
    from season_gear_office_lk
    where season_code = :P23_SEASON
    and field_office_code = :P23_FIELDOFFICE
    order by 2
    So if Page Item P23_GEAR_TYPE = 3, then I have to use a different query for the P23_GEAR page item. And this one is dependent on 2 other page items.
    Where do customers come up with these things?!!!
    Thanks,
    John

  • Values in one field based on another field in the paper parameter form.....

    Hi All,
    I have two fields in the parameter form. One named 'employee number' and the other named 'document number'. Now, there are multiple document numbers for every employee. I'd like the document numbers to be displayed automatically as an LOV or would like to give the user some help when the employee number is entered manually. Please let me know if this is possible in Oracle reports. I read somewhere that I'll have to call the values from the form. if that is the case. then please let me know how to go about it....
    Regards,
    Shri

    Hi Hari,
    Considering both Market Segment and Application fields are dropdown,
    1) define an event for the first dropdown in the get_p method ie., Market Segment field
    2) In the get_v method of the second dropdown get the value of hte 1st dropdown and filter your field accordingly
    Note: The reason for defining an event in (1) is just to do a server submit.. its actually act as a dummy event if you dont want to handle your logic here
    Hope this was helpful.
    Best Regards,
    Lakshminarayana

Maybe you are looking for