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!

Similar Messages

  • 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!

  • 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.

  • How to read value from Key flexfield added on to the newly created SIT

    Hi Experts,
    I have a requirrment to display a new structure in the Special Information Types (SIT) screen in SSHR. The data entered into the segment needs to be validated using PL/SQL function.
    I have performed below steps to display the structure/field on SIT Page
    1. Created new flexfield structure as XX_LEAVE_ENCASHMENT under the "HUMAN RESOURCE" Application (Application id- 800) and flexfield TITLE "Personal Analysis Flexfield" (PEA).
    2. Added a new segment "Encash Days" for the newly created flexfiled structure "XX_LEAVE_ENCASHMENT".
    3. Added this new structure in the Special Information Types form in HRMS responsibility
    4. The structure is enabled on the SIT screen.
    Now I want to validate the data entered in Encash Days field in this page by calling a PL/SQL function. This can be done by extending the SIT page Controller.
    But how should the ID of the newly enabled segment (in the new Flexfield strucuture) be retrieved in the controller inorder to read the user-entered value (to further call the validation program)? Or is there any other way of achieving this functionality in OAF?
    Please help.
    Thanks.

    Hi,
    Yes, u can get the value from the SIT and perform the relevant validation too.
    Refer http://apps2fusion.com/at/43-ss/453-oaf-extension-case-study
    Regards,
    Gyan

  • 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?

  • 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.

  • 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

  • How to set a 3 default values for a dependent key flexfield

    hi,
    I have an inquiry in oracle applications 11i - Oracle General Ledger module, Accounting Key flexfield structure.
    we have an independent key segment PROJECT and a dependent key segment SUB-PROJECT.
    Can we define 3 dependent value for the SUB-PROJECT to be the default for any new entered value in the PROJECT segment??
    e.g creating 3 default SUB-PROJECT values: X, Y, and Z. Any new value entered to the PROJECT key segment will have X, Y and Z by default as it's SUB-PROJECTS.
    If the above scenario is possible, please guide me to the best solution...
    Thank you...

    I can find that the value set of any dependent value set has only one room for a default value.
    What are the implications of creating a new Independent value set and assign it to the SubProject segment, on historical data and reports?
    thank you...

  • Validation on People Group Key Flexfield

    Hi all,
    I have a People Group Key flexfield (KFF) defined with 7 Segments, and I want to make 1 of the Segments (SEGMENT7) Read-Only for a specific set of Responsibilities.
    I have tried creating a Form Personalization for this, but I don't believe you can achieve this using forms personalizations (because you can only reference the entire flexfield as a whole, and not individual segments).
    I have also tried using the Custom Library, and referencing FND_KEY_FLEX.UPDATE_DEFINITION to apply this validation, but I have not been able to get this to work either.
    Finally, I have tried creating a security group and attaching it to the Value Set / KFF Segment but this doesn't quite give me what I need, as this only lets you Include/Exclude specific values and not make the segment Read-Only.
    Does anyone know how to apply this validation to a People Group KFF Segment?
    Thanks in advance,
    Jon

    If nothing else works , you can write a before-update d/b trigger on the underlying table that compares :old.segment7 with :new.segment7 and raises failure if the values differ for the user's logged in responsibility.

  • 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."

  • Conditional enabling (Flexfields) and hh24:mm value sets

    Hi all,
    Has someone faced the issue of enabling a segment of a flexfield (DFF, KFF) depending on the value of another segment?
    Me too!
    The problem is ...
    Can I use this property even with value set with no validation type? for example a value set for the hours and minutes in a day, assigned to a flexfield segment, can be enabled/disabled depending on the value of another segment? If true ... how can i do that?
    Otherwise how can I create a value set for hours and minutes with a validation type (i.e. table or special type) so I can do with $FLEX$ syntax?
    Thx all.
    Jacopo

    Hi Jacopo,
    Considering the abstract meaning of "no validation type" ... the only thing off the top of my head that doesn't have **any** "validation" is the value infinity! Anything else can be validated, e.g. a string of any characters 200 characters long!
    So, to your solution:
    Create your value set for hours and minutes as a table with underlying structure something like :
    select hour || ':' || minute
    from
    ( select lpad(rownum-1,2,'0') hour
    from all_objects
    where rownum < 25
    , ( select lpad(rownum-1,2,'0') minute
    from all_objects
    where rownum < 61
    order by 1;
    Then in the where clause of the value set put the reference to the value set of the DFF column that controls whether or not you need to enter the HH24:MI time.
    e.g.
    :$FLEX$.MY_OTHER_VALUE_SET is not null
    Done!
    Gareth
    http://garethroberts.blogspot.com

  • Error while inserting record in Key-Flex Values Set interface

    Guys
    on 11.5.10.2
    Actually the problem is being occurred while inserting value in Job Flex Field Value set, we have created two segment for job key flex filed, No and name, it was working fine, but since we have uploaded bulk data via api "fnd_flex_values_pkg.INSERT_ROW" which was around 100 off record, but after completion this task system is not taking new value by Values set interface, and show message "APPS-FND-01206: You entered duplicate values or sequence of value that must be unique for every record",
    However, we insert the job number through api, it is inserting without error while
    Interface is not taking value and raise duplicate message error,
    which is APPS-FND-01206
    Please Advice.

    Thanks for supporting dunacan
    I have mentioned both of segment detail . please advice,
    1.One is Job No segment
    Segment1 number 10
    Required Check Yes
    Value set Info JOB_NO
    List Type : List of Values
    Security Type : No Security
    Format Validation : select number 7,0 and check on number only (0-9)
    Validation Type Independent
    2.One is Job Name segment
    Segment2 number 20
    Required Check Yes
    Value set Info JOB_NAME
    List Type : List of Values
    Security Type : No Security
    Format Validation : select CHAR 60 Validation Type Independent
    It was strange that how could it possible duplication value without having database,i am unable to find this issued,
    Edited by: oracle0282 on Jan 17, 2011 3:32 AM

  • 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

Maybe you are looking for

  • Need steps to capture a particular explain plan using the store outlines

    Hi, I have got the needed explain plan using hints in my query. I need to capture it using stored outlines. I am using Oracle 10.2.0.3. Can someone provide me the steps to capture this plan using an Stored Outline?I dont want to use any other method.

  • I'm using Pages 09 trying to remove a blank page with only 1 section, how can I do that?

    I'm currently working with a Word document in pages that has a blank page in it, that I'd like to remove. There is only 1 section in the document, page break or section break doesn't seem to effect it so I can remove it. I'm using Pages 2009 and OS-X

  • WPA2-EAP and WPA2-PSK supported Access Points

    Dear Team, I have been looking to find the Cisco Access Points that support both: WPA2-EAP: Encryption: AES, Authentication: IEEE 802.1X WPA2-PSK: Encryption: AES, Authentication: PSK (Pre Shared Key) with more than 21 Characters, combined with MAC a

  • Is xD supported under Tiger

    A friend has a Fuji camera with the xD EPROM. When she upgraded her system from 10.3.1 to 10.3.9 neither the camera nor the card reader ever recognized the device anymore. In the Apple config, both the USB and the card reader is seen but the card is

  • Can't connect to my self to see my web server works

    Hi folks, I just configured my web server to try some exercise in html+php locally. I can see all if I connect at http://localhost or http://10.0.1.3, but when I'm trying to connect directly to my pubblic IP i get a "connection error" message. I trye