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

Similar Messages

  • Select a valid value ERROR in LOV

    When i select a value which is not present in the LOV then i am getting this error.That is fine but the issue is that when i am trying to save this wrong value,then for first time i am getting this error.but When i am pressing the save button for the 2nd time,validation does not work and wrong value gets saved in the database.
    I am using the LOV in the advanced table and and using a formvalue mapping for this functionality.
    Why i am not getting error for the 2nd time?why the validation is failing?
    Please help itsurgent and has already consumed a lot of time!

    Hi Gyan Darpan,
    Thanks for your response. I have not put any validation in the AM or VO.
    Thanks
    Satya

  • 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

  • Non Cat Requisition gives error: "contract number - select a valid value"

    Hi Guys
    I wonder if you can help me please. After we've loaded these 3 patches:(7427952,6987692,6813613) when we create a NonCatalog Requisition and select a contract number with less than 4 characters, we get the following error: "contract number - select a valid value". But when we select a contract with more than 4 characters, it works fine. So in other words, it only takes contracts with 4 or more characters. Has anyone encountered this problem? Something has been changed by the patches, but we can't figure out what exactly. Any help would be appreciated.
    Thanks

    Hi,
    Review the following note, it may be helpful.
    Note: 756376.1 - Error: 'Select A Valid Value' When Adding a Section to a Contract Template
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=756376.1
    Regards,
    Hussein

  • Enter a valid value error

    Hi,
    Can anyone pls. help us figure out the problem with the newly created business partner master records?  We get an "Enter a valid value" error message when the agent (user) tries to confirm the business partner in CIC.  The user got the same error after she created another bp master record.
    I created a third bp master record for the same customer but in another application server.  I didn't get an error so I asked the agent to use this bp master record instead of the first 2.  Unfortunately, the user got the abovementioned error again after editing the bp master record that I created in the original application server. 
    Hope you can help us.
    Thanks in advance,
    Theresa

    Perform theses steps
    - In LSMW read and convert only one entry from file
    - go to SM35 -> select your session with that one entry
    - select process , option process/foreground
    - choose process
    You will have that batch input run in the foreground, so you can see all the values entered to certain input fields and all the actions which take place in that screens. This way you should see which step excatly creates the error.
    Regards
    Marcin

  • BP search query gets Valid Value error

    I am using the tutorial example to add all business partners to a combo box. The only change is to the query used:
    RS.DoQuery("SELECT DISTINCT CardCode, CardName FROM OINV T0 join INV1 T1 on T0.DocEntry = T1.DocEntry WHERE U_Active = 'Y' ORDER BY CardName")
    In this case, U_Active is a udf on the invoice detail level. When run, SAP returns an error Valid Value Already Exists. The combo box only displays the first two lines of data.
    This query works perfectly as a query in SAP's Query Manager, returning exactly the expected data. there are no duplicates in the results.
    The standard unedited tutorial example works also.
    Any help or suggestions are much appreciated.

    Code used:
       Private Sub AddBPCodeCombo(ByVal oCombo As SAPbouiCOM.ComboBox)
            Dim RS As SAPbobsCOM.Recordset
            Dim Bob As SAPbobsCOM.SBObob
            'Dim sSQL As String
            Try
                RS = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                RS.DoQuery("SELECT DISTINCT CardCode, CardName FROM OINV T0 join INV1 T1 on T0.DocEntry = T1.DocEntry WHERE U_Active = 'Y' ORDER BY CardName")
                RS.MoveFirst()
                While RS.EoF = False
                    oCombo.ValidValues.Add(RS.Fields.Item("CardCode").Value, RS.Fields.Item("CardName").Value)
                    RS.MoveNext()
                End While
            Catch ex As Exception
                MessageBox.Show(ex.Message)
            End Try
        End Sub

  • How to set the default value to the lov item

    Dear alll
    i have creation page in that two items are there those are lov's
    i am calling that creation page from another page
    i like this code to set the lov's
    OAMessageLovInputBean comp =
    (OAMessageLovInputBean)webBean.findChildRecursive("Company"); //grab the item
    comp.setValue(pageContext,companyname);
    when i set like
    when i am saving the records again it is showing error "please select a valid value"
    Regards
    Sreekanth

    Hi Pratap,
    I have tried the following code to set default value in OAMessageLovInputBean while loading the page but its not working.
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    String delToLoc = (String)pageContext.getSessionValue("deliverTOLoc");
    Number delToLocId = (Number)pageContext.getSessionValue("deliverToLocId");
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject poHeadervo =
    (OAViewObject)am.findViewObject("PoHeaderMergeVO");
    PoHeaderMergeVORowImpl poHeaderVoRow =
    (PoHeaderMergeVORowImpl)poHeadervo.getCurrentRow();
    if (delToLoc != null && !"".equals(delToLoc)) {
    // poHeaderVoRow.setShipToLocation(delToLoc);
    OAMessageLovInputBean msb = (OAMessageLovInputBean)webBean.findIndexedChildRecursive("DefaultShipToLocation");
    msb.setValue(pageContext,delToLoc );
    Please suggest me how to resolve this issue.
    Thanks & Regards,
    Sunita

  • Urgent: Defaulting the value for a Lov item

    Hello,
    I have a lov item mapped to it's corersponding VO. I need to default it to certain value, but keep on getting the error with prompt to select a valid value, even though there is only one value being returned on searching.
    The settings:
    "Disable Validation" set to false.
    I am executing the VO in processRequest so that it returns only one value, and then setting the Lov item with this value - using settext and setvalue.
    Is there any other way to maually set the value of the item and retain the validation property?
    Thanks!
    Shama

    The DFF fields that are being fetched vary according to the context being passed from the lov, hence making it difficult to maually handle the bean setting. Any idea of any work around?
    Thanks!
    Shama

  • The address is invalid. Please create or select a valid address

    Hi all,
    I have created one B2b user, under business customer, but I got this "*The address is invalid. Please create or select a valid address*" error in shipping page when checkout the process. But the same address is working for billing page, and it rise the erro for shipping page.
    Please help, Also how to check customer "*site use shipping assigned to this address*" or not.
    Also how to check the site use for this address?
    Please help.
    Thanks ,

    Hi,
    Correct to disable set the profile option to No for no validation.
    You can reference Release 12 Address Validation documents -
         Setting Up Geography Hierarchy And Address Validation In Release 12 (Doc ID 554492.1)
    Customer Site saved with invalid State, County, City, Postal Code combination although Validation setting is Warning (Doc ID 1379658.1)
    Happy New Year,
    Deborah

  • Error while selecting NULL value from Popup Key LOV(numeric or value error)

    Hi,
    I have a item P1_DEPTNO with following properties.
    P1_DEPTNO - Popup Key LOV (Displays description, returns key value)
    LOV - P1_DEPT_LOV
    select deptname d, deptno r from deptP1_DEPTNO item properties
    List of Values
      Named LOV - P1_DEPT_LOV
      Display Null - Yes // changed to Yes, so that it can accept NULL values.
      Null display value - NULL
      Null return value -   (blank)PL\SQL Process -
    declare
    v1 number;
    begin
    if :P1_DEPTNO is null OR :P1_DEPTNO = '' then
        v1 := 0;
    else
        v1 := :P1_DEPTNO;
    end if;
    // rest of the PL\SQL process
    end;Now, when I run the page and select NULL value from Popup LOV and submit, I get the following error.
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error.When, I select any other value other than NULL, then it's working perfectly fine.
    Only in case of NULL value, I am getting this error.
    ANY idea, why this error is coming??
    Thanks,
    Deepak

    Hi Varad,
    I did the following change
    Null display value - (blank) // by default it is displaying '%' in the select this
    Null return value - -1
    but when I select % (null value) from the popup list, it displays the return value -1 in the text field.
    My question is why it is displaying the return value -1 in the text field...*It should display the display value in the text field (i.e blank in this case)*
    then, I did the following change
    Null display value - (blank) // by default it is displaying '%' in the select this
    Null return value - // a single space, so that when I select %(null value) from the list, it should display blank in the text field...
    then I did the following change in the PL\SQL process.
    PL\SQL process
    declare
    v1 number;
    begin
    if :P1_DEPTNO = ' ' then // -- checking the value of single space ' ' when we select %(null) in the popup list, BUT even I select %(null), control is not coming here.
        v1 := 0;
    else
        v1 := :P1_DEPTNO;
    end if;
    // rest of the PL\SQL process
    end;Thanks,
    Deepak

  • Error :Value of restricted LOV parameter not among the selectable values

    Hi,
    I am designing a report which has two layouts. I have a parameter :P_Reason_code which is applicable to only one layout.
    There is a repeating frame in my first layout which should display only if :P_Reason_code value is 'Y'.
    I have wriiten a format trigger for this repeating frame saying the repating frame should return true if :P_Reason_code value= 'Y'.
    else, it should return false meaning it shouldnt display.
    :P_Reason_code is an optional parameter when i run it at the oracle apps front end.
    The problem that i am facing is that when i run the report for the second layout by not providing value for the parameter :P_Reason_code
    , it errors out saying "REP-0788: Warning: The value of restricted LOV parameter P_REASON_CODE is not among the selectable values.'
    I tried creating another user parameter P_REASON_CODE1 and putting a trigger in the After parameter form trigger saying
    if P_REASON_CODE is null then
    P_REASON_CODE1 :='Y';
    P_REASON_CODE := P_REASON_CODE1;
    ELSE
    P_REASON_CODE1 := P_REASON_CODE;
    P_REASON_CODE := P_REASON_CODE;
    END IF;
    But still it doesnt seem to work.
    What could be the issue?
    Can anyone help?

    try setting the default-value for the parameter to Y (or whatever value is in the LoV defined for the parameter).
    Is there a parameterform used for the report. If not remove the LoV from the parameter.

  • Getting Stale data error on Lov value selection.

    I am getting the following error on selecting value from the lov window, i am not executing Lov VO as such, can any one tell me the reason what is the cause.
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example). If the browser's navigation buttons were not used, this error could have been caused by coding mistakes in application code. Please check Supporting the Browser Back Button developer guide - View Object Primary Key Comparison section to review the primary causes of this error and correct the coding mistakes.
    Cause:
    The view object SubTabLayoutAM.FndUserLovVO1 contained no record. The displayed records may have been deleted, or the current record for the view object may not have been properly initialized.

    Hi,
    Use this code in process request of controller
    if(!am.getFndUserLovVO1().isPreparedForExecution())
    am.getFndUserLovVO1().executeQuery();
    Row row1 = am.getFndUserLovVO1().createRow();
    AM.getFndUserLovVO1().insertRow(row1);
    row1.setNewRowState(Row.STATUS_INITIALIZED);
    Thanks,
    Gaurav
    Edited by: Gauravv on Sep 4, 2009 6:11 AM

  • Encountering Error in webadi : "&Value is invalid. Enter a valid value for the Mapping column &Column"

    We are having a custom WebADI, containing a field (Employee Name) which is a LOV.
    The LOV has ID : Person ID, Meaning : Employee name, Description : Position Name.
    There are multiple records with same Employee name but different Person ID.
    If I select an Employee in the LOV which has multiple records (through different IDs), I am getting an error in WebADI:
    "Enter a valid EMPLOYEE_NAME.
    XX is invalid. Enter a valid value for the Mapping column EMPLOYEE_NAME"
    The Query for the LOV is correct and is returning correct records.
    Any pointers on this issue highly appreciated.

    Hi,
    The problem could be with HR security profile attached to the responsibility from where you are launching the spreadsheet. Check it once.
    Thanks.

  • LOV in a Table - "Not a valid Value" - Urgent

    Hi All,
    I have an LOV inside a Table region. The table has the Add another row button. considering the table has currently 3 rows created and the user enters a dummy value not present in the LOV in the first row and tabs out. The LOV automatically pops up without any values. The issue is when the user closes the pop-up window or clicks on its cancel button. The LOV doesn't validate the data present in the text box. If the Submit button is clicked or the save button is clicked , The framework automatically validates the data present in the text box and throws an error "Not a valid value" .
    Now im not sure why but the dummy data entered in the first text box is copied to the second and third text box , and the error is displayed for all the three rows. If there is valid data present in the remaining rows it just over-writes the data with the dummy value.
    I have written SOP's in the controller's Process request as well as the process form request but none of them seem to display anything.
    So the framework is basically validating this before the controller is called.
    Im working on a 11.5.10 instance.
    Need help to know if anyone has come across such a situation before.
    Thanks ,
    Dean

    Dean,
    Seems to be a looping issue. Also you need to get the exact error row.
    Thanks
    --Anil                                                                                                                                                                                                   

  • Error "Valid Value - Value do not Exist" for payment terms

    Hi,
    I am trying to change the payment terms in a Sales Order using UIAPI.
    Although the value i am using to update is a valid value, i get the following error:
    Valid Value - Value do not Exist
    My code is as folows:
    Dim sNewValue as String
    sNewValue = "2"
    oFrm.Items("47").Specific.Select sNewValue, psk_ByValue
    What am i doing wrong?
    Thanks
    Satish

    Hi Satish,
    Have you tried defining the new value as an integer instead of a string? The GroupNum data type in the OCTG is Int, not character.
    Hope helps,
    Ibai Peñ

Maybe you are looking for