Getting selected LOV's values

Many posts are related to LOVs.
Following steps I used :
1.     Using the responsibility AK Developer, I created the region XXCU_MOUVEMENT_TOP, and in Jdev its CO MouvementCreerCO
2.     Using the responsibility AK Developer, I created the LOV region XXCU_NUMERO_FACTURE_AR_LOV
3.     the XXCU_NUMERO_FACTURE_AR_LOV is inserted into XXCU_MOUVEMENT_TOP
4.     In Jdev created a ViewObject XxCuFactureARVO, with 6 attributes and its CO FactureARLovCO
The XXCU_NUMERO_FACTURE_AR_LOV works fine, it popup a window search and I can do search and displays all attributes (6 values).
I want to get all them to dispay them in attributes of XXCU_MOUVEMENT_TOP. The problem is that I can't get them
In processRequest and processRequestof FactureARLovCO
(String)pageContext.getParameter("Solde")
(String)pageContext.getParameter("CodeBvrb")
(String)pageContext.getParameter("XxNomuo")
Are null.
How can I get the selected values of XXCU_NUMERO_FACTURE_AR_LOV from XXCU_MOUVEMENT_TOP, I'll appreciate your help

Under the Lov, create lovmappings for each of the attributes that you want to grab back from the lov page.
- Right click on the lov -> Select New -> lovmap.
- In the lov map, specify the LOV Region Item (The LOV Region Item who's value you want in the base page) and the Return Item (The base page region item, where you'll like to have the value back into).
HTH.

Similar Messages

  • How to get selected Row/Cell value in i5Grid

    Hi Friends,
    Can anyone help to how to find the selected Row/Cell value of a i5Grid object. I am able to register the event handlers which are getting invoked on row/cell selection. But I want to know how can I get the value of selected Cell/Row. I would like to add selected Items from one i5Grid to another one.
    So want to know how can I get and set the value of i5Grid object.
    MII version 14.0 SP4 Patch
    Thank in advance
    Shaji Chandran

    Hi Shaji,
    Here is my code.
    <!DOCTYPE HTML>
    <HTML>
    <HEAD>
        <TITLE>Your Title Here</TITLE>
        <META http-equiv="X-UA-Compatible" content="IE=edge">
        <META http-equiv='cache-control' content='no-cache'>
        <META http-equiv='expires' content='0'>
        <META http-equiv='pragma' content='no-cache'>
        <SCRIPT type="text/javascript" src="/XMII/JavaScript/bootstrap.js" data-libs="i5Chart,i5Grid,i5SPCChart"></SCRIPT>
        <SCRIPT>
            var Grid = new com.sap.xmii.grid.init.i5Grid("STC/C5167365/i5Grid_TagQuery", "STC/C5167365/TagQuery");
            Grid.setGridWidth("640px");
            Grid.setGridHeight("400px");
            Grid.draw("div1");
        function setCellValue()
        Grid.getGridObject().setCellValue(1,1,"Set");
        function setCellValueAgain()
        Grid.getGridObject().setCellValue(1,1,"Changed Again");
        </SCRIPT>
    </HEAD>
    <BODY>
        <DIV id="div1"></DIV>
        <INPUT type="Button" value="setCellValue" onClick="setCellValue()"/>
        <INPUT type="Button" value="setCellValueAgain" onClick="setCellValueAgain()"/>
    </BODY>
    </HTML>
    Regards,
    Sriram

  • JTree get selected node/object values

    I wan to get all the selected nodes/objects values that I added to the JTree. How can I do this?
    Thanks.

    TreePath[] paths = tree.getSelectedPath();
    for(int i = 0; i < paths.length; i++){
    TreeNode node = (TreeNode)paths.getLastPathComponent();
    Object mySelectedObject = node.getUserObject();
    }Some minor Errors
    We have to use array paths[i] instead of paths
    The correct code as used by me is
            javax.swing.tree.TreePath[] paths = jTree1.getSelectionModel().getSelectionPaths();
            for(int i = 0; i < paths.length; i++){
                javax.swing.tree.TreeNode node = (javax.swing.tree.TreeNode)paths.getLastPathComponent();
    System.out.println(((javax.swing.tree.DefaultMutableTreeNode)node).getUserObject());
    CSJakharia

  • Dvt:pivotFilterBar - how to get selected values from filter

    Hi all,
    I have a question: how to programmatically get selected values from pivot table's filter bar?
    I have tried to use
    pivotTable.getDataModel().getDataAccess().getValueQDR(startRow, startCol, DataAccess.QDR_WITH_PAGE);but for page edge dimensions it returns BAD DATA, it seems that it returns some cached values.
    Environment: JDev 11.1.1.3.0 without any patches.
    thanks,
    Miroslaw

    Hi,
    You can retrieve the selected value in the PivotFilterBar through the model of PivotFilterBar, instead of dataaccess:
    // get the model from the pivot filter bar instance
    QueryDescriptior queryDescriptor = (QueryDescriptor)pivotFilterBar.getValue();
    // retrieve a list of criterion, each one is used to populate each lov within the pivot filter bar
    ConjunctionCriterion conjunctionCriterion = queryDescriptor.getConjunctionCriterion();
    List<Criterion> criterionList = conjunctionCriterion.getCriterionList();
    for (int i=0; i<_criterionList.size(); i++) {
    AttributeCriterion criterion = (AttributeCriterion)criterionList.get(i);
    // _selected is the currently selected value
    Object selected = criterion.getValues().get(0);
    System.out.println(_selected);
    Hope that helps,
    Chadwick

  • Selected Lov Value as Parameter to Concurrent Program in oaf

    Hi,
    iam new to OAF ,Can any one please help me how to pass selected lov value as a parameter to the Concurrent program in oaf.
    i created one lov in oaf page after selecting value in lov i want that value to be passed as parameter to concurrent program.
    Please help me how to implemet code so that Lov will pass as parameter to the concurent program in Controller.

    Check these links. You need to get the value from the LOV to a variable, add it to the vector and pass to the conc program. Below link provides the details on concurrent program submission.
    http://prasanna-adf.blogspot.com/2008/11/call-concurrent-program-from-oa.html
    For fetching LOV values, check the Dev Guide
    Thanks
    Shree

  • LOV validation issue: "Select a valid value"

    Hi,
    I have a lov problem in oaf: "Select a valid value".
    It is a common problem, but somehow I cannot figure it out.
    LOV
    - LovApplicationId (of type "formValue")
    - LovApplicationShortName (of type "messageStyledText")
    - LovApplicationName (of type "messageStyledText")
    (based on combination of fnd_application and fnd_application_tl)
    BASE PAGE
    Two relevant items.
    First one is "ApplicationId" of type "formValue" connected to view attribute "ApplicationId". (connected to EO attribute in VO)
    Second one is "ApplicationName" of type "MessageLovInput" connected to view attribute "ApplicationName" (calculated in VO)
    Two lovMappings.
    First mapping:
    LOV Region Item = LovApplicationName
    Return Item = ApplicationName
    Criteria Item = ApplicationName
    Use for validation = no
    Second mapping:
    LOV Region Item = LovApplicationId
    Return Item = ApplicationId
    Criteria Item = <null>
    Use for validation = yes
    For example.
    If I select "Inventory" in the LOV and click on the apply button in the base page, I am getting the error "Select a valid value".
    If I select "Inventory Optimization" in the LOV and click on the apply button in base page, no error. And when I look in database the record is saved in my custom table with the correct application_id.
    I have read many forum threads on this issue, but I cannot figure it out, what is wrong.
    Please help me out.
    Kind regards,
    Cor

    Hi Haroon,
    This doesn't solve the problem.
    It is true the exception I am getting doesn't show up anymore.
    But the application_id isn't saved to the database.
    First thing I would expect in this case, that the mappings are not set properly.
    But if I choose for the value "Inventory Optimization", the application_id is saved to the database.
    If I choose for the value "Inventory" the application_id is not saved to the database.
    So it is possible the get rid of the error in the screen, but the underlying problem is still there...
    I have checked some core pages, similar to the one I have.
    So an UPDATE page (rectification: instead of CREATE).
    I have set all attributes the same, but the problem still occurs in my case.
    Very strange.
    I would make no difference running the page from jdeveloper or put the files on the application server and run it from Oracle, would it?
    It makes no sense. But...
    Kind regards,
    Cor

  • Select a valid value Error on LOV

    Hi,
    I am getting a Select a valid value error on LOV field on clicking Save button on Page, even when the selected value exists in the LOV list. Disable Valiodation property of LOV Field is set to false. I want the value to be validated.
    This problem is occuring only when i try to select value for a blank LOV field. If I try to update an exiting value on the same field, no error turns up.
    I am unable to find the cause of this unexpected behaviour of LOV.
    I see the following error message in Diagnostics Log:
    [62]:EVENT:[fnd.framework.webui.OAPageErrorHandler]:OAF LOG: Event : Check Errors, in: oracle.apps.fnd.framework.webui.OAPageErrorHandler: Exception: Select a valid value. ,In VO: null
    Please help.
    Thanks in advance.
    -Shilpi Karan Anand
    Edited by: 924887 on Dec 19, 2012 10:24 PM
    Edited by: 924887 on Dec 19, 2012 10:25 PM

    My issue has been resolved.I made following changes:
    Set 'Use for Validation' property of Main LOV Map to No .
    set 'Use for Validation' property of formValue LovMap to default.
    Threads related to this issue:
    https://forums.oracle.com/forums/profile.jspa?editMode=true&userID=924887
    Error: Select a Valid Value
    -SKA

  • Select-option value is not getting captured in at selection-screen on value

    In Selection screen , we have Select-option and  a parameter.
    Based on the values given in Select-option, the values of Parameter should get populate.
    To achieve this functionality,
    I  used  At selection u2013screen  on value request  for <parameter>  EVENT and 'F4IF_INT_TABLE_VALUE_REQUEST' Function Module.
    But the Select-option values are not getting captured in this event,unless u press Enter key.
    Is there any other way to achieve this functionality.
    Please Guide me.

    When you call function 'F4IF_INT_TABLE_VALUE_REQUEST'. make sure you send it the name of the screen variable - the F4IF_INT_TABLE_VALUE_REQUEST function calls DYNP_VALUES_READ itself if you tell it the name of your report, screen number, and the variable name... snippet below.
    Jonathan
      data:
        l_repid             type syrepid.
      l_repid = sy-repid.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          dynpprog         = l_repid
          dynpnr           = '1000'
          dynprofield      = 'S_FIELD-LOW'  "Select options - low value
    * etc

  • All values from multiple select LOV

    Hi.
    Ik have a customize screen for a chart where a can select days. That works. But i want the standard value to be 'all days', so the user does not have to click all seven days. When i have combobox i use in the where clause:
    "and (fieldname = :variable or :variable = '%')"
    For a mutiple select i use IN:
    "and fieldname IN :variable"
    That would make:
    "and (fieldname IN :variable or :variable = '%')"
    This does not work for a multiple select LOV.
    Anu ID how i can make it work???

    Try the following:
    (:variable = '%' or
    :variable <> '%' and fieldname in :variable)

  • How to get selected value from selectOneRadio ???

    Hi...i want to how to get selected value from selectOneRadio and use it in another page and in backing bean.
    Note i have about 10 selectOneRadio group in one page i want to know value of each one of them.
    Plzzzzzzzz i need help

    You have a datatable in which each row is a question, correct?
    Also in each row you have 5 possible answers that are in a radio, correct?
    So,
    You need to put in your datatable model, a question, and a list of answers (5 in yor case) and the selected one.
    So you will have a get to the question, an SelectItem[] list to populate the radios and another get/set to the selected question.
    ex:
    <h:selectOneRadio value="#{notas.selectedString}" id="rb">
    <f:selectItem itemValue="#{notas.valuesList}"/>
    </h:selectOneRadio>
    Search the web for examples like yours.

  • How to get selected value from OADefaultListBean.

    Hi All,
    How to get selected value from OADefaultListBean ?
    Thanks,

    Hi,
    To identify the user's selection(s) when the page is submitted, you would add the following logic to your processFormRequest() method:
    OADefaultListBean list =
    (OADefaultListBean)webBean.findChildRecursive("positionsList");
    String name = list.getName();
    String[] selectedValues = pageContext.getParameterValues(name);
    To retrieve all the values in the list box, call list.getOptionsData().
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to get selected value from one choice list

    Hi All,
    i want to get selected value in onechoice list.how to achive this
    Regards,
    Smaran

    check these
    http://groundside.com/blog/DuncanMills.php?title=adf_the_list_binding_value_problem&more=1&c=1&tb=1&pb=1
    http://blogs.oracle.com/jdevotnharvest/2010/12/reading_the_selected_value_of_an_adf_bound_select_list_in_java.html
    http://www.oracle.com/technetwork/developer-tools/jdev/listbindingvalue-088449.html

  • How to get selected value from SelectOneChoice

    Hi,
    I'm facing a problem to get selected value from SelectOneChoice. I have valueChangeListener event on a (SelectOneChoice)item. After user makes a choice I want to store selected value in a bean property to pass it to a method.
    For example List item shows dname from dept table after user makes a choice I want to get deptno and populate into bean which I use to pass into my method.
    If I use valueChangeEvent.getNewValue() I always get negative value instead I want deptno selected. Sample code pasted below.
    public void setDeptno(ValueChangeEvent valueChangeEvent) {
    BindingContainer b = getBindings();
    OperationBinding oB = b.getOperationBinding("setDeptno");
    //Checking instance of because same method is called from another text inputText item.
    if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
    CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
    if (columnName.getId().toString().equals("deptDname")){
    JSFUtils.setManagedBeanValue("dept.deptDeptno",valueChangeEvent.getNewValue());
    }

    if your selectOneChoice has value equal to #{bindings.deptno} bound to the iterator Dept1Iterator,
    then the backing code will look more like
                    public void setDeptno(ValueChangeEvent valueChangeEvent) {
                        BindingContainer b = getBindings();
                        OperationBinding oB = b.getOperationBinding("setDeptno");
                        //Checking instance of because same method is called from another text inputText item.
                        if (valueChangeEvent.getSource() instanceof CoreSelectOneChoice){
                            CoreSelectOneChoice cN = (CoreSelectOneChoice)valueChangeEvent.getSource();
                        if (columnName.getId().toString().equals("deptDname")){
                            FacesContext ctx = FacesContext.getCurrentInstance();
                            Application app = ctx.getApplication();
                            ValueBinding bind = app.createValueBinding("#{bindings.Dept1Iterator.currentRow}");
                            Row row = (Row)bind.getValue(ctx);
                            JSFUtils.setManagedBeanValue("dept.deptDeptno", row.getAttribute("deptno"));
                    } I haven't tested it, so it could perfectly not work at all

  • Problem in getting selected values from multiselect list

    Hi,
    I have two multiselect listboxes in my page. In List1 the data will be retrieved from DB and listed.I will have buttons to move the values from List1 to List2 and viceversa.
    After selecting the needed values,I can rearrange them in List2 using some buttons. I have coded this moving and reordering using javascript.
    What happens is while submitting the page I want the values from list2 which are rearranged. But im getting the order in which I moved from list1 to list2.
    I am using html:selectfor both lists
    List1
    <html:select name="CustForm" property="custName" multiple="true" size="10">
           <html optionsCollection property="CustomerNames" value="custName" label="id"/>
    </html:select>I am having a customer form which has a arraylist CustomerNames. This arraylist has customer bean which has proeprties custName and id. The custForm also has a String custName.
    List2
    <html:select name="CustForm" property="selectedCustName" multiple="true" size="10">
           <html  option value=""/>
    </html:select> The custForm also has a String[] selectedCustNames from where I get the selected values in list2
    Please let me know what am I doing wrong here.

    use a treeSelectionListener, that will give you all the selection changes you need.
    thomas

  • How to get selected value from a listbox

    Hi !
    I use following code to fill in my LISTBOX with values :
    AT SELECTION-SCREEN OUTPUT.
      val-key = 1.
      val-text = '0016'.
      APPEND val TO list_values.
      val-key = 2.
      val-text = '0028'.
      APPEND val TO list_values.
      val-key = 3.
      val-text = '0035'.
      APPEND val TO list_values.
      val-key = 4.
      val-text = '2001'.
      APPEND val TO list_values.
      val-key = 5.
      val-text = '0515'.
      APPEND val TO list_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = 'p_list'
                  values = list_values.
    My question is - how to get a selected key/text value ? i dont need it to be done dynamically - i just need it in START OF SELECTION to perform tasks.
    Thx in advance.

    Unfortunetly it does not work
    i Define parameter as follows :
    PARAMETERS:
      p_list AS LISTBOX VISIBLE LENGTH 10.
    Then i add values to it :
    AT SELECTION-SCREEN OUTPUT.
      val-key = 1.
      val-text = '0016'.
      APPEND val TO list_values.
      val-key = 2.
      val-text = '0028'.
      APPEND val TO list_values.
      val-key = 3.
      val-text = '0035'.
      APPEND val TO list_values.
      val-key = 4.
      val-text = '2001'.
      APPEND val TO list_values.
      val-key = 5.
      val-text = '0515'.
      APPEND val TO list_values.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING id     = 'p_list'
                  values = list_values.
    Then when i add a blank section :
    AT SELECTION-SCREEN ON p_list.
    I set a breakpoint in START OF SELECTION block - but the value is empty no matter what do i select.
    Actually when i select value from the list and hit enter key on selection screen the selection in a listbox goes empty :/
    Whats the cause of this ?
    Edited by: Jacek Zebrowski on Feb 26, 2009 12:38 PM

Maybe you are looking for

  • How to import a zipped file?

    Hi- I am trying to import a zipped file (UCSF hospitalist handbook) into itunes, so I can then put it on my iphone. I've used this handbook on my palm pilot for years, but would like to now use it on my iphone. I cannot seem to import it into itunes

  • Log errors in Report Builder

    hello, i wan't to start a document generation from java. runtime.exec() ... this works fine. but how can my application determine if something went wrong with document generation. this could be a log file, which could be parsed by a java application.

  • Firfox won't run adobe flash

    I have reinstalled firefox and followed the suggestions for helping adobe. Adobe flash looks ok but FF won't run it-it crashes

  • When I install

    During the installation of Adobe Pro, it encountered an error (Acrobat installer encountered an unexpected failure. Please try again. If continues to fail, contact Adobe support).

  • Why is Captivate 6's HTML5 Quiz Crashing iPad?

    I've created a SCORM module that I'm outputting as Flash and HTML5 so it can be used on an iPad. Every time I try to test the quiz questions, after three or four questions, the iPad resets itself with a spinning wheel on a black screen. Does anyone h