ListVal Event in Special Validation Value Set

Hi all,
Has anyone used ListVal event in Special Validation value set? I want to show list of values by giving a query using special validation.
Thanking You

Use Validation Type 'Table'
Press 'Edit Information' button
Select the Table name and Column that you want to show in your list, you can restrict the list using the Where section.
Cheers!

Similar Messages

  • Special Validation Value Set - Key Flexfield

    Hi Gurus...
    I have a problem with my special value set.. i did this... :
    FND POPID APPL_SHORT_NAME=SQLGL
    CODE="GL#"
    WHERE="segment2 not like '1%'"
    DISPLAY="1"
    DISPLAY="2"
    DISPLAY="3"
    DISPLAY="4"
    REQUIRED=Y
    VALIDATE=FULL
    ID=:!ID
    SEG=:!VALUE
    DESC=:!MEANING
    NAVIGATE=!DIR
    DINSERT=N
    The problem is that the SEGMENT2 of this value set is not being filtered... should filter by SEGMENT1 like '1%'. When i use the parameter associated to this value set there is no error.... always shows SEGMENT2 with all data.. without filter....
    Any suggestions ??
    Thanks!!
    Pablo.-

    Use Validation Type 'Table'
    Press 'Edit Information' button
    Select the Table name and Column that you want to show in your list, you can restrict the list using the Where section.
    Cheers!

  • How to use the :$PROFILE$ token in a table validation value set

    Hi Community,
    Let me explain the scenario.
    We have a Flex Value Set (CLIENTES SERVICIO DIRECTO) with a table validation, included in the PO Headers DFF, which shows a LOV with the Ship-to addressfrom the customer which we want to serve the goods; i.e. we are acting as a commisionists and the supplier puts the goods in the Ship-to address of the customer.
    This Flex Value Set, as I mentioned, have a table validation, with the following validation table information:
    Table Application: Oracle Receivables
    Table Name: RA_ADDRESSES_ALL a, RA_CUSTOMERS b
    Table Columnns: b.CUSTOMER_NAME Varchar2(20), a.PARTY_LOCATION_ID Varchar2(20)
    Where/Order By: a.CUSTOMER_ID = b.CUSTOMER_ID
    Additional Columns: a.ADDRESS1 "Dirección"(20), a.CITY "Ciudad"(10)
    If we translate this to a SQL code:
    select a.address1,
    a.city,
    a.party_location_id,
    b.customer_name
    from ra_addresses_all a,
    ra_customers b
    where a.customer_id = b.customer_id
    and b.customer_id = 6283 <--- This last condition clause is for narrowing the result to the interested customer.
    This select retrive us two records; for the same customer, one of them for one organization_id (let's say 85) and one of them for the other organization_id (84).
    What we are looking for and want is that the LOV, which actually display the two records, shows only the ship-to site of the customer that belongs to the organization_id which belongs the user who queries or creates the Purchase Order.
    I.e. Suppose that we enter to Purchasing using the responsibility assigned to the Operating Unit or Organization_id 84. We want that theLOV only shows the Ship-to Site from the customer that belongs to the Operating Unit or Organization_id 84.
    I believe that we can achieve this using the :$PROFILE$ token, but we do not know how.
    Any ideas?
    Thanks a lot for your answer.

    Hi Rcana,
    We have just test your suggestion and it works. We believe that the correc sentence was fnd_profile.get('profile_name'), but the value feature solve the problem. Thanks for your help.
    Regards.

  • Validate a value against table validation value set within PL/SQL

    Hi,
    I am trying to import price list lines along with Pricing attribute values.
    I have to validate the uploaded values against the pricing attribute value set, before I import them into base tables.
    Value set defined is of type table validation.
    I wanted to know if there are any public APIs that can be used to validate the value against the Value set values within my PL/SQL procedure
    Also please point me to documentation that lists various public PL/SQL APIs
    Regards,
    Mrutyunjay

    You can find functions and procedure for Value sets in packages FND_FLEX_VAL_API or FND_FLEX_VAL_UTIL.
    Example : get_table_vset_select gives you the select statement of your value set. Executing this statement will allow you to validate your values.

  • Value Set Validation

    Hi All
    I've just create a Table Validation Value Set(XX_LOV) so what this do it eliminate all the values that have been used when you submit a request.
    But now when you use the COPY Button when you submit a request it looks like it's not Validating my Values Set.
    I'd like to know when Value set Validation happens or how can i force Validation.
    Thanks

    Hi Deepali,
    Your understanding on special valueset is incorrect.
    Special validation type is used to have a KFF combination value as a single parameter, rather than having individual parameter for each segment.
    You can achieve this calculation by using a table valueset , where you can can access the values of C and D by using $FLEX$.C and $FLEX$.D
    All you need is to frame a query to get the desired values for E valueset.
    Please refer to the 11i Application Developer Guide for more details.
    Regards
    Justin

  • Table Value Set Definition - Fetch Error

    I am trying to use a TABLE Validated Value Set based on the value set used in the Accounting Key Flexfield using the following query. When you run the test button in the DFF Table definition, it says that it is succesfully tested.
    SELECT FLEX_VALUE, DESCRIPTION
    FROM FND_FLEX_VALUES_VL
    WHERE FLEX_VALUE_SET_ID=1010305
    order by flex_value
    But when I go to the Oracle form to the respective DFF, it throws the below long error.
    APP-FND-01564: ORACLE error 24345 in fdlget
    Cause: fdlget failed due to ORA-24345: A Truncation or null fetch error occurred.
    The SQL statement being executed at the time of the error was: SELECT FLEX_VALUE, FLEX_VALUE VALUE, DESCRIPTION DESCRIPTION, NVL('N','N'), NVL(TO_NUMBER(NULL),-1), NULL, NVL('Y','Y')
    Can anybody help me, how to get this resolved.
    Regards,

    R12 problem - check the definition of your value set being used. If it is defined as List type "List of Values", then try changing to "Long List of Values". Save and try again. If you don't get the error again, then you probably have a column in the value set that is shorter than the defined table size. For example, description is 50 characters long in the value set, but the table column is 240 characters. If you have data that is longer than 50 characters, you will get this error. But if you change the List type to "Long List of Values", it won't throw the error. I've been trying to get Oracle to figure out the problem, but they just want us to increase the size of the value sets.
    Good luck and let me know if this works for you.

  • Cost Allocation Flexfield with Table Value Sets

    Hi
    I am setting up Costing for Payroll. I have a requirement where I want to use Table Validated value sets for Cost Allocation Flexfield. In the Administrator Guide it is written that we should not use Table validated value sets for any KFFs.
    I still tried the same (defining Table validated value sets) and my process errored out. It was giving following error
    Value 381 for the flexfield segment Cost Center does not exist in the value set
    SJR_COST_CENTER_LIST.
    invalid code combination:
    381SJR_COST_CENTER_LIST is name of the value set.
    Then I changed the value set and keep the code and meaning in the value set table as same and my process worked fine.
    Now I want to know that should I use Table validated value set or not. As Oracle does not support these in KFFs

    Hi Thierry
    Thanks for the reply
    have you used cross validation rules?I am not sure about cross validation rules and how we can use in my case.
    An other thought: there is an action parameter available parameter_name=COST_API_IMODE
    Set the parameter_value = 'Y'In my case my costing process is working fine, even when I define my table validated value sets. My question is should we define table validated values sets or not as Oracle does not support it now? Oracle use to support this for KFFs some time back but now they are saying they does not support.
    Are there any known issues if we use Table validated value sets? Why Oracle does not support it for KFFs?

  • Create a value set

    I want to create a new value set as "ASS_ATTRIBUTE2" that is dependent on the value set that was defined earlier for attribute "ASS_ATTRIBUTE1" but the new value set("ASS_ATTRIBUTE2") should be enabled or disabled based on the selection condition mentioned in the first value set that is (Yes/No) in the first attribute "ASS_ATTRIBUTE1".
    How can i achieve this?

    Hi,
    Use the $FLEX$.VALUE_SET_NAME clause in the table validated value set.
    Regards,
    SN

  • Cwb error when value set is 'special'

    We have setup a DFF segment where the value set has a validation type of 'Special'. When entering transactions in CWB, it gives us an error
    'The data that defines the flexfield on this field may be inconsistent. Please inform your system administrator that the value set XX_VALUSET has an incorrect validation type (U). '
    I know that there is a restricition in displaying a DFF in OAF if the valueset has a validation type of 'Special'. We are not required to enter value in this segment so is there any workaround for this error not appear?
    Thanks in advance.

    Hi Eddy,
    The short text shown in St22 is "Templateinterpretation abgebrochen, Template nicht vorhanden."
    Error analysis as shown in St22
    "Sie können testweise den Service Parameter ~generateDynpro = 1 setzen,
    dann wird für diesen Service die HTML-Seite ohne Template generiert und
    Sie können zumindest sehen welches Dynpro vom Web AS gesendet wurde.
    Bitte vergessen Sie nicht, den Parameter wieder zurück zu setzen."

  • Unable to handle event --Select-Options as Dropdown filled with Value Set

    Hi all,
    I seem to be having no luck with this problem. I have searched enough, and not come across any relevant documentation either.
    I am using a select options field made as a dropdown and am populating the dropdown values using the Value Set where i can provide a table of key values versus descriptions. Additionaly, I have hidden the standard buttons -- CANCEL, CHECK, RESET, EXECUTE.
    This appears exactly like a dropdown, just as desired.
    However, no event seems to be triggered whenever I select any value from this dropdown field.
    The interface controller of the select-options component offers 5 events and I have tried creating event handlers for all of these; with no success. With no event to track, I am frozen.
    I know I may be able to create such a dropdown list without using select-options either; but the point is if this functionality is provided by select-options, there should be a way of using it.
    I have browsed through the helper class as well as the interface controller, but am not getting a clue.
    The bottomline is, with my current situation, how can i track the on-click or on-change kind of event?
    Could anybody melt the ice?
    Thanks.

    I went to the source code of the select-options class (CL_WDR_SELECT_OPTIONS) and found the method where the UI elements are rendered (RENDER_SELECTION_SCREEN_ITEM).  In the spot where the DDLB is rendered, there is simply no code to register any events for the DDLB.  So it doesn't appear that there is any intention to allow you to handle such events from the DDLB.
    => add the dropdown as dropdownbykey
            prefix_id mc_dropdown_id i_field-m_id id.
            concatenate i_field-m_id '.VALUE' into path.
            lr_dropdown = cl_wd_dropdown_by_key=>new_dropdown_by_key(
                            id                = id
                            bind_selected_key = path
                            read_only         = i_field-m_read_only
                            state             = state
                            explanation       = i_field-m_explanation
                            tooltip           = i_field-m_tooltip
                            view              = lr_cur_container->view ).
            lr_label_low->set_label_for( id ).
            lr_matrix_data = cl_wd_matrix_data=>new_matrix_data( element = lr_dropdown width = '1%' ).
            lr_dropdown->set_layout_data( lr_matrix_data ).
            lr_cur_container->add_child( lr_dropdown ).

  • How to use Special value set with Column clause to display addtional column

    hi
    can anyone tell me
    How to use Special value set with Column clause to display addtional column
    how can i use FND POPID and with COLUMN clause ?

    Dear Yaseen,
                To get the value in formula cumulative,after you have created the formula for that particular key figure,go to edit and click on tab "calculations".
    In that select overall result as 'count all values not equal to zero' and single result as 'count all values not equal to zero' .
    And mark the cumulative check box underneath.
    I hope you get the desired result and please do me favour .
    Sumit goomber

  • UDF - Set Valid Values for Field

    I have a UDF created in Marketing Docs / row level called UOM_Ordered (alphanumeric, length 2) using Set Valid Values for Field.  Values are:
    CS
    IN
    DZ
    PC
    Above are CS abrev for Case, IN abrev for Inner, DZ abrev for Dozen .................
    If possible could I have say for example "IN" not to appear in the drop down if the value in OITM (UDF called U_Inner_Qty) is either NULL or a Zero?  It's would be a way to stop mistakes when orders are inputted.
    Any help on this would be appreciated.
    Thks - Scott

    Hello
    You could try the following:
    Insert a formatted search on the field, which contain conditions, ie whether the condition that the value is 0 or null, then bring the required data, while if it is not the case, applies the search formatted with the available data.
    On the other hand, leave the form with all the options for disabled users. The latter through additional authorizations for users
    I hope it will help
    Best regards,

  • Can we attach special value set into DFF attributes

    Hi Team,
    We have one requirement ,for one of the  DFF in shipping form attach the special value set.Does it possible.
    We have tried for attach the special value set to DFF definition ,while retrieve the values from DFF it throws an error :APP-FND-00730,We have unfreezed the DFF and after attaching it freezed it.
    Regards
    B.kishan

    Dear Members,
    As mentioned above can we attached a LOV to a Special Value Set.
    I have Special Value Set which Validates data entered on the report Parameter. But this parameter is a Free form field, there is no lov attached.
    Can we have an LOV to a parameter(Report Parameter) which is based on Special Value Set.
    We are on E-Business Suite R12.1 .
    Thanks
    Sandeep

  • Validating strings using value sets...

    Hello,
    A client requested the functionality so that a comma delimited string of item numbers could be used as criteria for a report. Validating the item numbers was not a problem except that validation occurs in a report trigger after the request has already been submitted. How do I set up a value set to use a procedure for validation?

    Hi,
    You can check the values of your parameters in your after parameter form trigger
    IF :FROMDATE IS NULL AND :BATCH IS NULL THEN
        RETURN FALSE;
    ELSIF :FROMDATE IS NOT NULL AND :TODATE IS NULL THEN
        RETURN FALSE;
    END IF;
    RETURN TRUE;Regards
    MP

  • Validation at a value set

    Can we have reports or any value set logic where we have used the dependent valueset or the attribute concept..
    We need to have one value set lets say : Vset1 ..
    this should have two attributes enabled : attribute1 (source warehouse) and attribute2 (destination warehouse).
    flex value attribute1 attribute2
    E10_C01 E10 C01
    E10_C09 E10 C09
    E10_C14 E10 C01 (this should not be allowed because attribute1 and attribute2 combination should be unique)
    E40_C09 E40 C09
    E40_C01 E40 C01
    attribute1 and attribute2 combination should be unique...
    Could some one please let us know how to go about with this requirement?

    Hi,
    The issue got resolved. We need to declare the variable(For Date or Time field) as XSD:String, and add regular expression for the pattern(Under Details Column for the data type).
    The regular expression for the date format ddMMyyyy is
    (0?[1-9]|[12][0-9]|3[01])(0?[1-9]|1[012])(19|20)?\d\d
    Similarly, for Time format HH:mm, the regular expresion  is
    ((([0-1]\d|2[0-3]):([0-5]\d))|([0-9]:([0-5]\d)))
    Regards,
    Subhendu
    Edited by: Subhendu Sahu on Mar 31, 2010 10:10 AM

Maybe you are looking for

  • 3D menu does not appear in photoshop cs6

    3D menu not appear in photoshop cs6 , i have windows 7 , 64 bit ??

  • Generation sql script form export dump

    I have a export dump of oracle 9i database at table level. Now I have to generate all the sqls which are in that export dupm file. Is there any way without importing this export file I can generate sql script??? Thanks in advance!!! Suraj

  • Peak detection in certain frequency

    Hello everyone. I am a rookie of labview, and I want to realize a program. The program reads in data and then do FFT transform. After getting FFT waveform, I want to search the waveform for peak in certain frequency, say 0.4~0.6Hz, and then output it

  • Had to upload iTunes library fr backup, how do I upload iTouch playlist w/o

    My iTunes library got corrupted and I had to restore it. Now I no longer have my playlists, etc. My question is how do I upload my playlists and other songs from my iTouch and iPod? When I connect them, iTunes tells me these devices can only connect

  • Photoshop CC Angebot

    Hallo , Ich habe mir die Photoshop CS6 Extended Sutdent and Teacher Verison gekauft und wollte jetzt das Angebot für Photoshop CC nutzen welches für User ist die schon Photoshop CS3 oder höher haben für 12 Euro im Monat allerdings wenn ich da meien S