Attribute Columns in Table Fnd_Lookup_Values

Hello All, I am trying to update the attribute columns (Attribute1, Attribute2, Attribute3 etc) in the table Fnd_Lookup_Values from the Applications (Forms) side. How do I do it? From Application Developer > Application > LookUps > Common, I can Enter/Update only Lookup Code, Meaning, Description, Tag Effective Dates. I want to enter values in the Attribute Columns too. Please help!!
Thank You, Naveen Gagadam.

Hi,
You need to define the DFF first from the application. For that:
1. Go to System Administrator responsibility (or any of the Super User responsibilities in the system)
2. Go to the DFF definition screen: Application > Descriptive > Segments
3. Search your DFF. In your case:
- Application: Application Object Library
- Title: Common Lookups
4. Unfreeze the DFF (if it's frozen)
5. Click on Segments button and define the attributes you want to populate
Once done that, open the lookups screen and you will be able to populate the attributes.
Hope it helps.

Similar Messages

  • How do I get and set column attributes in a table or a treetable with Java?

    Using 11.1.1.4.0
    Hi,
    How do I get and set column attributes in a table or a treetable with Java? For a simple example, say I have a table and want certain roles to see all columns (including address), and other roles can see only certain columns (no address). In a Java method, I want to test if a table's column visible attribute is true and if so, set it to false before rendering it.
    Thanks in advance,
    Troy

    Hi,
    this use case would be a perfect example for using seeded MDS customization. Instead of checking what users are allowed to see or not upon rendering time, you have a customization class and thus the framework doing this for you.
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/31-mds-sample-169173.pdf
    In this paper and sample, specific users see different layouts. It also contains a customization class that shows how this can leverage ADF Security
    Frank

  • Can we update oracle standard table Attributes column by custom trigger?

    Can we update the oracle Standard table's Attributes column using custom trigger? Is it allowed by oracle? Is this supported?
    Thanks

    ATTRIBUTE columns store DFF information and therefore custom code can be used to update their contents. Care must be taken that such updates do not cause "logical" corruption (an ATTRIBUTE column may be designed to store the color of a product, for example, but an incorrect SQL statement can update the value to a numeric one, thus causing corruption - Oracle does not have a means to check the validity of these update statements). Also, some localizations, such as Brazil and India, reserve some ATTRIBUTE columns for their use - updating such columns is not supported. More information may be found in the Flexfields Guide for your release at http://www.oracle.com/technology/documentation/applications.html
    HTH
    Srini

  • Reg:How to delete the column in table control also from database table.

    Hi Experts,
    Once again thank u all for giving the responses.
    one more doubt is how to delete the columns of table control and also the record shold delete from ztable.
    With Regards,
    Saroja.P.

    Hi,
    If you want to delete the rows in the table control and simultaneously delete it from the database table, then you can implement a 'DELETE' functionality specific to your table control. Have a MARK field (you will find that in the screen attributes of the table control -> give a name for the MARK field, you will find an additional MARK column at the beginning of your table control). You can check whatever rows you want to delete from the table control, call the delete module.
    "This portion of code inside the LOOP...ENDLOOP.
    IF sy-ucomm eq 'F_DELETE'.
       gt_itab2-check = mark.  " Store the MARK field status into your internal table's correspoding field 'check'
      MODIFY gt_itab INDEX tabcontrol-current_line.
    ENDIF.
    iF sy-ucomm eq 'DELETE1'.
      DELETE gt_itab WHERE check eq 'X'. "Your internal table does not have rows that you want to delete
    ENDIF.
    Now you can modify your database table using the MODIFY statement.
    MODIFY ZDB FROM TABLE gt_itab.

  • Tabular Form: Conditional column based on another column in table/form?

    Hi!
    I have 4 columns in table A:
    number (the question number)
    question (the question to be asked)
    type (TEXT, LOV are the 2 valid values)
    answer (the answer with text or a selection from the lov table below)
    I have 2 columns in table B:
    number (the question number)
    values (a single value for the lov's)
    In table B there can be mutiple rows for each number. Table A and table B
    join on the number.
    I want to build a tablular form on table A where for each row either a text
    box or a select list is displayed depending on the contents of the type column.
    So row 1 would display a text box when the type value is text; row 2 would
    display a select list when the type value is lov.
    Is this even possible? How do I refer to the type column in the conditional for the
    answer column? I am guessing that I will need to have 2 answer columns one
    that displays when the type column is TEXT and one that displays when the
    type column contains LOV. This is OK. Setting up the conditional is display is the issue at this point.
    Hopefully I have explained this well enough! :)
    Thanks!
    Dave Venus

    Hi Dave,
    Sorry for not responding sooner - I finish work at 3pm GMT.
    I'll take your first question first (3:28PM posting according to my display - not sure if you are on GMT time?):
    As far as I understand it, using the select_list_from_query() function generates the options that are required in the select list as HTML tags. Each instance of this function should create a SELECT tag and the results of the query should generate one or more OPTION tags within it.
    Second question (4:20PM posting):
    The HTMLDB_ITEM functions are listed in the documentation - here's a link to the online version:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14303/api.htm#sthref2524
    Most of the examples that I have seen have been on this forum - simply search for HTMLDB_ITEM or one of its functions.
    I tend to leave the generation of tabular forms to the wizard as much as possible. The only exceptions are when I need to have access to more than the Primary Key for a row but don't want to show the field on screen. There are examples on the forum about concatenating the HTMLDB_ITEM functions into a single value - this hides ID fields from the user but makes them available to PL/SQL code.
    Third question (5:29PM posting)
    I did try using DECODE in my questionnaire but not for the feature that you needed. Originally, I wanted to use this to display one of a number of different fields (ie, my date, number or string field as appropriate to the question) but this didn't help as I couldn't get back to the right field during the update. If you have decode working for the select lists, then that's great!
    The first column should be hidden or sitting behind a checkbox as this should be the Primary Key for the row and should not be editable by the user nor would it normally be displayed.
    As long as your select statement creates the correct output (albeit that you may need to work on the layout!), you should have an updatable form. However, you will need to have the MRU processes in place and the appropriate buttons that trigger these. When I did my questionnaire, I created the form using a wizard to get all of the processes and buttons and then changed the select statement. If you haven't got the processes and/or buttons, we can go through adding these onto your page.
    Last question (9:08PM posting)
    As explained above, column 1 should normally be hidden. The INPUT tag you detail above is what I would expect to see. The value="6" attribute indicates that 6 is the Primary Key for that row - every row will have the same tag but different values for the "value" attribute. So, if it is hidden and these are the tags you see doing a View Source on the page, then everything is correct.
    OK. So now we have the data on screen and (hopefully?) we have the correct processes and buttons on the page.
    The next step would be validation and update of the data.
    Validation of the data can be handled by a normal page process - I can let you have example code if you want to validate the data (this will also explain how to loop through the rows - there are also methods that you can use to do this in javascript if you want). Updates should be handled by the processes and buttons on the page - again, if you haven't got these we can go through adding them in (although, if you haven't yet formatted your page, you may find it quicker to copy your select statement and create the page again using the same select statement).
    ORA-20001 errors are user defined errors. Do you mean the "data has changed" errors? If so, you will probably need to include the MD5 checksum functionality (it's shown in the document linked above).
    Finally, we'll keep this thread going so that you have all of your workings and my responses in one place, if that's ok with you?
    Regards
    Andy

  • Parsing XML data stored as CLOB in DB and save attribute values in table

    Hello,
    I have a CLOB column in table that is holding XML data as follows,
    <banners>
    <banner-image id="0">
    <type>BANNER</type>
    <local-path>http.gif</local-path>
    <click-through-url>www</click-through-url>
    <make>Acura</make>
    </banner-image>
    <banner-image id="1">
    <type>BANNER</type>
    <local-path>http.gif</local-path>
    <click-through-url>gfrty</click-through-url>
    <make>BMW</make>
    </banner-image>
    </banners>
    Now I need to parse thru the above XML data and pull the attribute values to store in another table as follows,
    BANNER_IMAGE_ID | TYPE | LOCAL_PATH | CLICK_URL | MAKE
    0 | BANNER | http.gif | www | Acura
    1 | BANNER | http.gif | gfrty | BMW
    And XML data doesn't always end up with 2 rows in this table....some times it may be 3 or 4 as well. It is just that in this example it ended up with 2 rows.
    So, I would appreciate if someone can help me find a generic way of doing this,
    Thank you in advance,
    Madhu.

    This is not a reply.. sorry.
    I took have a similar problem only..
    can you pls help me
    XML structure.
    <PODetails>
    <POHeader>
    <CurrencyID>INR</CurrencyID>
    <ExchangeRate>1</ExchangeRate>
    <RefNo>0080000110</RefNo>
    <VendorID>1200</VendorID>
    <TransDate>2006-12-20</TransDate>
    <DocRelationshipId>PURCHASE</DocRelationshipId>
    <LocationID>0000102327</LocationID>
    </POHeader>
    <POItemDetails>
    <ItemID>ARSH1332</ItemID>
    <Size>L HS</Size>
    <Quality>Q1</Quality>
    <CustPO>rush order</CustPO>
    <UOM>PC</UOM>
    <Quantity>3.000</Quantity>
    <PriceValue>2509.5</PriceValue>
    <TaxAmount>0.00</TaxAmount>
    </POItemDetails>
    <POItemDetails>
    <ItemID>ARSH1332</ItemID>
    <Size>M HS</Size>
    <Quality>Q1</Quality>
    <CustPO>rush order</CustPO>
    <UOM>PC</UOM>
    <Quantity>2.000</Quantity>
    <PriceValue>1673</PriceValue>
    <TaxAmount>0.00</TaxAmount>
    </POItemDetails>
    <POItemDetails>
    <ItemID>ARSH1556</ItemID>
    <Size>39FS</Size>
    <Quality>Q1</Quality>
    <CustPO>rush order</CustPO>
    <UOM>PC</UOM>
    <Quantity>1.000</Quantity>
    <PriceValue>836.5</PriceValue>
    <TaxAmount>0.00</TaxAmount>
    </POItemDetails>
    </PODetails>
    The DB is ORACLE 9i
    This is stored in a XML table of type XMLTYPE.
    THIS I USED THE .extract function to get the values of the nodes.
    POHeader details are working fine. But when i get the POItemDetails i am getting 'ARSH1332ARSH1332ARSH1556' when i issue the command
    select a.extract('/PODetails/POItemDetails/ItemID/text()').getStringVal() ItemID
    FROM xmltable a
    WHERE a.existsnode('//POItemDetails/ItemID')=1
    Pls Help..
    Regds,
    Santhoshkumar.G.

  • Not able to change the name of the attribute of the Table operator.

    We are trying to create OMB scripts to automate certain tasks. As a part of this, there is a requirement to change the attribute name of table operators (which by default gets the name of the column). It is possible to change the attribute name from the GUI. But I was not able to do the same using OMB Scripting. Here is the script I used.
    OMBALTER MAPPING 'TEST' \
    MODIFY ATTRIBUTE 'GEOGRAPHY_ID' OF GROUP 'INOUTGRP1' OF OPERATOR 'TEST' \
    SET PROPERTIES(BUSINESS_NAME,PRECISION,DESCRIPTION) \
    VALUES('MEMBER_ID',2,'MEMBER')
    This script was to change the name of the attribute - GEOGRAPHY_ID of the table operator TEST.
    From what I can make out from the Scripting reference, changing BUSINESS_NAME of the attribute should do the trick but it is not happening. The syntax looks correct as the precision of the column changes.
    Am I missing something? Or is it a limitation or a bug?
    I use OWB client 10.2.0.1.25 and OWB repository 10.2.0.1.0.

    Hi!
    I'm using successfully
    OMBALTER MAPPING '$mapName' MODIFY ATTRIBUTE '$attrName' OF GROUP '$groupName' OF OPERATOR '$joinName' RENAME TO '$newName'
    Regards,
    Carsten.

  • Issue Using Boolean Attribute in Decision Tables Conditions

    I'm using Oracle BPM Suite 11g 11.1.1.4.0 for my application. In my business rules, I need to use the nillable boolean attribute in Decision Table conditions, so I import java.lang.Boolean class in the Java Facts, I append .booleanValue() to the condition. I validate the rule, it's ok. Then I deploy my application to server, when I test the my process, i encounter a error:
    <bpelFault><faultType>0</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/LoanApprovalRules/LoanApprovalRules_DecisionService_1"><part name="payload"><errorInfo xmlns="http://xmlns.oracle.com/LoanApprovalRules/LoanApprovalRules_DecisionService_1"><errorMessage>The class 'com.oracle.xmlns.bpm.bpmobject.data.loaninfoobject.LoanInfoObjectType' has no member named 'hasAssets'. at line 6 column 3 in main</errorMessage></errorInfo></part></operationErroredFault></bpelFault>
    HasAssets is Bool type. If I remove java.lang.Boolean in Java Fact, and remove conditions of hasAssets, the process run perfectly.
    Can you help me?
    Thanks.

    I'm using Oracle BPM Suite 11g 11.1.1.4.0 for my application. In my business rules, I need to use the nillable boolean attribute in Decision Table conditions, so I import java.lang.Boolean class in the Java Facts, I append .booleanValue() to the condition. I validate the rule, it's ok. Then I deploy my application to server, when I test the my process, i encounter a error:
    <bpelFault><faultType>0</faultType><operationErroredFault xmlns="http://xmlns.oracle.com/LoanApprovalRules/LoanApprovalRules_DecisionService_1"><part name="payload"><errorInfo xmlns="http://xmlns.oracle.com/LoanApprovalRules/LoanApprovalRules_DecisionService_1"><errorMessage>The class 'com.oracle.xmlns.bpm.bpmobject.data.loaninfoobject.LoanInfoObjectType' has no member named 'hasAssets'. at line 6 column 3 in main</errorMessage></errorInfo></part></operationErroredFault></bpelFault>
    HasAssets is Bool type. If I remove java.lang.Boolean in Java Fact, and remove conditions of hasAssets, the process run perfectly.
    Can you help me?
    Thanks.

  • Banding attribute in data table not working

    Hi all,
    I am using the table for displaying rows of data from the backing bean. I set the banding attribute to be "row" and the bandingInterval="1",but I don't see the effect of these attributes when the table is rendered. Anything I miss in the backing bean? In case I can't make this work, I would want to fall back to drawing row and column grids in the table, similar to the "rule" attribute in the basic jsf dataTable, how do achieve the same thing with ADF table?
    Thank you,
    Lngo

    Hi,
    Can you try by casting row with PoRequisitionLinesVORowImpl.
    Something like below
    PoRequisitionLinesVOImpl xxReqLineVO = am.getPoRequisitionLinesVO();
    PoRequisitionLinesVORowImpl xxReqLineRow = null;
                for(xxReqLineRow = (PoRequisitionLinesVORowImpl)xxReqLineVO.first(); xxReqLineRow != null; xxReqLineRow = (PoRequisitionLinesVORowImpl)xxReqLineVO.next())
                    try
                        String xxdelToLocId = xxReqLineRow.getDeliverToLocationId().toString());
                        if(<your condition   >)
                            xxReqLineRow.setAttribute1("");
                        else
                            xxReqLineRow.setAttribute1("xx_YOUR_VALUE");
                    catch(Exception e)
                        throw OAException.wrapperException(e);
                xxReqLineVO.reset();
            }Thanks,
    Jit

  • How to create a attribute for a table

    I am created a table with four columns.
    How to create a attribute for each column.........

    Hi Cranjith Kumar,
    First Create a node for ur table.In that give your table name in the dictionary structure then select option add attributes from the structure that will display the fields there u can select the fields then automatically attributes for ur table will be created in the context.
    Reward points if useful.
    Edited by: srilalitha yerramsetti on Jun 18, 2008 3:23 PM

  • Complex SQL Cursor to update tables present as attribute in another table

    I want to write a cursor that fetches the table names which are actually present in a column in another parent table then update a particular column/attribute in each table. The parent table (say ABC has a column (say x) which holds the list of all tables for an application. I want to extract all thetables (from ABC present in column x) based on a certain WHERE clause and then update each table.Can anyone help me with this?

    As Zaafran Ahmed wrote, you need to use dynamic SQL.
    Look at this example:
    Let say we have table ABC with table names:
    CREATE TABLE abc(
      x VARCHAR2(50)
    INSERT INTO ABC
    SELECT 'TABLE_NAME' || LEVEL
    FROM DUAL
    CONNECT BY LEVEL <= 5;
    SELECT * FROM ABC;
    X                                                 
    TABLE_NAME1                                       
    TABLE_NAME2                                       
    TABLE_NAME3                                       
    TABLE_NAME4                                       
    TABLE_NAME5Let say we have tables TABLE_NAME1 ... 5
    BEGIN
      FOR I IN ( SELECT X FROM ABC )
      LOOP
        EXECUTE IMMEDIATE ('CREATE TABLE ' || I.X
                        || ' ( XXX VARCHAR2( 20 ) )');
        EXECUTE IMMEDIATE 'INSERT INTO ' || I.X
                      || ' VALUES ( ''' || I.X || ''')' ;
      END LOOP;
      COMMIT;
    END;
    SELECT * FROM TABLE_NAME2;
    XXX                 
    TABLE_NAME2
    SELECT * FROM TABLE_NAME4;
    XXX                 
    TABLE_NAME4    We need to update only tables 2 and 4:
    DECLARE
       CURSOR CUR IS
            SELECT X FROM ABC
            WHERE X LIKE '%2'
               OR X LIKE '%4';
    BEGIN
      FOR I IN CUR
      LOOP
        EXECUTE IMMEDIATE
            'UPDATE ' || I.X ||
            ' SET XXX = ''' || I.X || ' UPDATED''';
      END LOOP;
      COMMIT;
    END;
    SELECT * FROM TABLE_NAME2;
    XXX                 
    TABLE_NAME2 UPDATED 
    SELECT * FROM TABLE_NAME4;
    XXX                 
    TABLE_NAME4 UPDATED 

  • Disable some columns in table control?

    Hi
    How to disable some columns in table control.
    For Ex: Table contains 8 columns.
    In first row i want to disable first 4 columns.
    in second row i want to disable last 4 columns.
    In third row i want to disable first 2 and last 2 columns.  How can we achieve this?
    Cheers,
    Venkys.

    HI
    Create three attribute in the node which is bound to the table as data source.
    say pro1, pro2, and pro3 of type wdy_boolean.
    now bind the enabled property of first four column editors to pro1, last 4 to pro2, and pro3 to first 2 and last 2.
    then go to the eventhandler of the dropdown 's on select event and write the code to update the values of these attribute
    according to the selected value.
    here is the sample code.
    DATA lo_nd TYPE REF TO if_wd_context_node.
        DATA lo_el TYPE REF TO if_wd_context_element.
            DATA lv_VAL LIKE ls_dealer1-name.
        lo_nd = wd_context->get_child_node( name = 'DEALER1').
      lo_el = lo_nd->get_element(  ).
        lo_el->get_attribute(
          EXPORTING
            name =  `NAME`
          IMPORTING
            value = lv_VAL ).
         DATA PR1 TYPE WDY_BOOLEAN.
         DATA PR2 TYPE WDY_BOOLEAN.
         DATA PR3 TYPE WDY_BOOLEAN.
      PR1 = ABAP_TRUE.
    PR2 = ABAP_TRUE.
    PR3 = ABAP_TRUE.
    IF LV_VAL EQ 'A'.
    PR1 = ABAP_FALSE.
    PR2 = ABAP_TRUE.
    PR3 = ABAP_TRUE.
       ELSEIF LV_VAL EQ 'B'.
    PR1 = ABAP_TRUE.
    PR2 = ABAP_FALSE.
    PR3 = ABAP_TRUE.
    ELSEIF LV_VAL EQ 'C'.
      PR1 = ABAP_TRUE.
    PR2 = ABAP_TRUE.
    PR3 = ABAP_FALSE.
      ENDIF.
       LO_EL->SET_ATTRIBUTE(
       NAME = 'PRO1'
       VALUE = PR1
       LO_EL->SET_ATTRIBUTE(
       NAME = 'PRO2'
       VALUE = PR2
       LO_EL->SET_ATTRIBUTE(
       NAME = 'PRO3'
       VALUE = PR3
    thanks
    sarbjeet singh

  • Issues in updating OE_ORDER_HEADERS_ALL attribute columns in trigger

    I have the requirement to update the attribute4 of the oe_order_headers_all based on certain data validations. A DFF has been defined on attribute4 as well. When i try to create a before insert trigger on oe_order_headers_all to update the attribute4 values, trigger completes without any errors, but the attribute4 is not getting updated with the data.
    Is there any restriction to insert the values on attribute columns of the Oracle base tables? Because when i tried the after update trigger the attribute columns could retain the values.
    Can somebody help me out on this issue?

    Create Or Replace Trigger OE_HEADER_TRIG_TEST
    Before insert
    ON OE_ORDER_HEADERS_ALL
    REFERENCING NEW AS NEW OLD AS OLD
    FOR EACH ROW
    declare
    v_customer_number ra_customers.customer_number%type;
    v_ship_to_org_id oe_order_headers_all.ship_to_org_id%type ;
    v_country_code varchar2(50);
    begin
    v_ship_to_org_id := :NEW.ship_to_org_id;
    select rac.customer_number,
    country
    into v_customer_number,
    v_country_code
    from ra_addresses_all raa,
    ra_site_uses_all ras,
    ra_customers rac
    where ras.address_id = raa.address_id
    and ras.site_use_id = v_ship_to_org_id
    and ras.primary_flag = 'Y'
    and raa.customer_id = rac.customer_id;
    :new.attribute4 := v_customer_number;
    :new.attribute5 := v_country_code;
    exception
    when others then
    raise_application_error(-20202,'Error in trigger'||sqlerrm);
    end;
    **I have verified that attributes are getting assigned in the trigger but is not stored in the table.

  • Updating attribute columns

    Hi,
    we are on oracle applications 11i.
    We have a requirement to create a descriptive flexfield in the items form and suppliers form to accept ids generated in another system. update would be from database end.
    what is the impact of updating attribute columns in two tables: MTL_SYSTEM_ITEMS_B and po_vendors with a simple procedure, i.e without using existing Oracle APIs?
    Regards

    Hi,
    here is why i think i need to insert a row the value set table : fnd_flex_values .
    after i update the record of the table and alter attribute field with value XXX for value set segment GLOBAL_ID, I go to the application and query the record. It gives me error:
    Value XXX for the flexfield segment Global ID does not exist in the value set XX_GLOBAL_ID.
    this error only goes away when i insert the value XXX to the descriptive flexfield segment values list.
    I defined the value set as independent. If you have another mean where i can accomplish this, I will like to know about it.
    From ittoolbox forum i had the name of the package, which is fnd_flex_values_pkg. I need more details on the tables that i need to update or insert rows into and about the package; if possible.
    thanks

  • API for RA_CUSTOMER_TRX_ALL to update attribute columns

    Hi,
    Not sure if this is the right place for this but does anybody know if there is an API for updating RA_CUSTOMER_TRX_ALL table
    I'm wanting to update the Attibute columns.
    Thanks
    Malcolm

    Oracle typically does not provide APIs for ATTRIBUTE columns as these need to be maintained by customers.
    HTH
    Srini

Maybe you are looking for