Issue in Addition of  attribute column in VO

Hi All,
I have a custom VO in which dependent on custom EO which requires a extra attribute to be added. i added that attribute in both EO & VO. But changed the definition of page to add this extra field to accomdate the extra attribute, im getting below error, i have checked VOimpl and VOrowimpl both the addition of new attribute, need suggestion in this regard.
java.lang.NullPointerException
     at oracle.jbo.server.ViewObjectImpl.getAttributeIndexOf(ViewObjectImpl.java:4166)
     at oracle.apps.fnd.framework.webui.OAMessageLovInputHelper.getMinCharsForLookAhead(OAMessageLovInputHelper.java:3944)
     at oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean.getMinCharsForLookAhead(OAMessageLovInputBean.java:1249)
     at oracle.apps.fnd.framework.webui.OAMessageLovInputHelper.addLookAheadData(OAMessageLovInputHelper.java:3206)
     at oracle.apps.fnd.framework.webui.OAMessageLovInputHelper.processRequestAfterController(OAMessageLovInputHelper.java:1106)

Hi,
Looks like your newly added attribute didn't take effect,
Did you added a new column in the database?
In EO how did you added the new attribute? using sync DB option?
In the VO query did you added the new attribute as the last column?
After adding the Attribute in the VO, did you checked the Attribute Mapping is showing correct mapping?
Thanks,
With regards,
Kali.
OSSi.

Similar Messages

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

  • Default payment method issue in Additional Off-Cycle Payments

    Hello everyone,
    I have an issue with Additional Off-Cycle Payments and running this in payroll driver.
    I have maintained V_T52OCB  or "Define default values for payment methods" in IMG as Check (C) but when I run payroll for this employee I see that payroll driver is considering Infotype 0009 which is a direct deposit but when I run the same employee in OFF-CYCLE Workbench I see that the run is defaulted to Check and is not considering Infotype 0009 which is correct.
    What I don't understand is the same record when processed through regular payroll driver (RPCALC) is considering Infotype 0009 but Off-cycle is considering default payment method for Off-Cycle defined in IMG.
    Has anyone seen this kind of issue?
    Thanks,
    Hemanth.

    Hello Hemanth,
    The value you maintain in V_T52OCB  is only for defaulting the Payment type in Offcycle Workbench Screen for the Reason you have choosen for the offcycle, it doesn't mean it would be run only by that payment type and you can overrite in offcycle workbench itself by choosing the other payment type.
    For Offcycle run it always with the value entered in IT 0009, For off-cycle, if there is a valid record with subtype 5/6, it will be used otherwise subtype 0/1 will be used if payment method selected is according to IT.
    If payment method is not according to IT a new record will be created in IT 0009 for the exact date.
    For Manual check, the check number can be entered in Offcycle workbench.
    I hope it clarified your doubt.
    With Regards,
    S.Karthik

  • How to do addition of two columns cells in Matrix.

    Hi All,
    I tried following code on LostFocus event of Mtrix. I want to do addition of two columns cells of matrix and addtion display in third column. I tried the following code but in this I am getting the column value and when i enterd any value in columns cells it disappear when i move to next column cells.
    Can anybody suggest me how to do it ?
    Dim i As Integer
                Dim v1, v2 As String
                matrix.Columns.Item("V_4").DataBind.SetBound(True, "", "matrixds")
                If pVal.ColUID = "V_4" Then
                    For i = 0 To matrix.RowCount - 1
                        v1 = matrix.Columns.Item("V_5").Cells.Item(i + 1).Specific.Value
                        v2 = matrix.Columns.Item("V_4").Cells.Item(i + 1).Specific.Value
                        Dim v3 As Integer = CInt(v1) + CInt(v2)
                        matrix.Columns.Item("V_3").Cells.Item(i + 1).Specific.Value = v3.ToString()
                    Next
                End If
    Thanks and Regards,

    Hi,
    u bind all the columns to the datasource in the matrix.then the value does not disappear.
    Change ur code as follows:
    Use the databind in formload
    matrix.Columns.Item("V_4").DataBind.SetBound(True, "", "matrixds1")
    matrix.Columns.Item("V_5").DataBind.SetBound(True, "", "matrixds2")
    matrix.Columns.Item("V_3").DataBind.SetBound(True, "", "matrixds3")
    Dim v1, v2 As sapbouicom.edittext
    If pVal.ColUID = "V_4" Then
    v1 = matrix.Columns.Item("V_5").Cells.Item(pVal.row).Specific
    v2 = matrix.Columns.Item("V_4").Cells.Item(pVal.row).Specific
    v3=  matrix.Columns.Item("V_3").Cells.Item(pVal.row).Specific
    v3.Value = v1 .Value + v2.Value
    End If
    Kind Regards
    Mohana

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

  • 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

  • Using additional userprofile attributes from LDAP

    Hi,
    my users are inside an OpenDS LDAP-Server connected to SSGD 4.41 - all works fine.
    I would like to store some additional SGD attributes like
    UserProfile.Multiple = yes/no
    (Multiple: Whether someone may log in using this user profile and whether this user profile will be shared by multiple users in the form of a "guest" account.)
    also inside the LDAP (extending my own LDAP-schema).
    Question: How can i tell SSGD to use this attribute UserProfile.Multiple from LDAP instead of looking into the
    local repository ?
    regards
    Danny

    Hi Danny,
    I don't think you can do this, as user profile data is never read from the LDAP directory. LDAP users always have to be mapped to a local profile (from the SGD datastore), meaning that any attributes on the user object from the LDAP directory wouldn't be considered when evaluating a user's profile.
    Does anyone else have a take on this?
    -- DD

  • Error 5398 Duplicate value addition in attribute ...

    I'm seeing the following error messages in my error log and am not sure what to do about it since the reference guide does not list it. Solaris 8, DS 5.2.
    ERROR<5398> - Entry - conn=-1 op=-1 msgId=-1 - Duplicate value addition in attribute "objectClass" of entry "ou=Configs, o=Contivity, o=vpn"
    ERROR<5398> - Entry - conn=-1 op=-1 msgId=-1 - Duplicate value addition in attribute "objectClass" of entry "cn=14649, ou=Configs, o=Contivity, o=vpn"
    Here are some historical events that may help shed light on things:
    The errors are occuring on Searay. I have another LDAP server called Mantaray. Here is some historical data that ay help shed light on the matter:
    I wanted the DNS domain the LDAP was using changed on Searay so I configured searay:o=vpn for Master replication and created o=vpn on Mantaray and configured it as a consumer.
    After the suffix was replicated I broke the replication and unconfigured Searay and then configured it. I then did the reverse and made Mantaray:o=vpn the master and Searay:o=vpn the consumer. I then broke the replication again and tried to get Multi-Master replication to work between the two servers. It took a few tries before things seemed to start working right.

    This thread (http://swforum.sun.com/jive/thread.jspa?forumID=13&threadID=21473) seems similar but I cannot find where the nsslapd-rererral that kunal mehta mentions is located.
    I did look at the des.ldif for each server and both looked okay.

  • Attributes/Columns as spreadsheet?

    Brand new to Data Modeler. Is there a way to view all attributes in a logical model and/or all columns in a relational model as a spreadsheet, with all properties for the attribute/column listed?
    Also, is there a good place to start reading about the scripting available with data modeler?

    I respectfully disagree about there being to many attributes to display in spreadsheet fashion. I would love to see this kind of functionality. Along with the ability to edit in spreadsheet fashion. I often have an excel list of field names, columns, etc.. and if I could copy and paste in spreadsheet fashion this would be wonderful. Other similar products have been able to do this. HP ALM product is a requirements management tool that allows you to configure what columns to show and show them in grid view. CA's Clarity product is another product that has a grid view and allows you to configure what columns to show in the grid.
    Brady

  • 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

  • XSQL: problems using id-attribute-column

    Hi,
    I want to use id-attribute-column to put the records from a specific column in an attribute of an generated element of the same xsql:query. It works, but the query returns not only the attibutevalue in the attribute, bit also in an element.
    How can I get rid o that extra element.
    Can you please help me with this?
    Greetings, Martijn

    The attribute "id" is set properly but isn't shown in html
    because there is no html-element corresponding to UIColumn.

  • Insert Issue writing to pipe delimited column multiple attributes.Drop Dead

    Gurus,
    drop dead date tomorrow, please help
    Page won't write pipe delimited data to single column. Below is a sample from my VO. All three attributes reference a single column-different pipe delimited positions. Reference these values from page. No error appears when creating new "account" from page but after commit, no pipe delimited data is committed.
    Any ideas?
    substr(AcctMapEO.header_label_template, 1, instr(AcctMapEO.header_label_template,'|')-1) referencename1,
    SUBSTR(substr(AcctMapEO.header_label_template,instr(AcctMapEO.header_label_template,'|')+1,instr(AcctMapEO.header_label_template,'|',1,2)-instr(AcctMapEO.header_label_template,'|')-1),1,40) referencename2,
    substr(substr(AcctMapEO.header_label_template,instr(AcctMapEO.header_label_template,'|',1,2)+1,instr(AcctMapEO.header_label_template,'|',1,3)-instr(AcctMapEO.header_label_template,'|',1,2)-1),1,40) referencename3
    Edited by: sreese on Sep 21, 2009 2:20 PM
    Edited by: sreese on Sep 22, 2009 12:22 AM

    Gurus,
    Please help!
    Ok, here's what I've done which should work but doesn't. I've created a new non-table Entity Attribute in my EO. Then created Transient Attribute in my VO and assigned to value from EO. In my page, I've referenced my transient attribute from VO Instance. In my EOImpl, I'm passing the attribute as a parameter.
    No error occurs but Transient Attrib value isn't being passed into PL/SQL call like all other attributes. When I make the call below in TOAD, value is created properly.
    public void insertRow()
    try
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)getDBTransaction();
    String s = "begin spl_jdev_api_account_map.spl_create_acct(p_cont_cd=>:1,p_consolidate_cd=>:2,     p_customer=>:3,p_req_asn=>:4,     p_sonic_label=>:5,p_req_conversion_date=>:6,p_override_asn=>:7,p_vendor_name=>:8,p_building =>:9,p_revision =>:10,     p_acct_lookup_use_whse_flag =>:11,p_asn_under_rcpt_tolerance=>:12,p_asn_over_rcpt_tolerance=>:13,p_created_by=>:14,p_creation_date=>:15,p_last_updated_by=>:16,p_last_update_date=>:17,p_cancel_asn_yn=>:18,";
    String t = "p_use_flex_valueset=>:19,p_po_asn_yn=>:20,p_prepaid_ups_flag=>:21,p_eia_label=>:22,p_exe_flag=>:23,p_header_label_template=>:24,p_line_label_template=>:25,p_all_lpns=>:26,p_internal_asn=>:27,p_print_pickslip =>:28,p_replace_asn_flag =>:29,p_get_line_ref_flag=>:30,p_commercial_inv_flag=>:31,p_req_asn_search =>:32,p_asn_ship_days =>:33,p_asn_receipt_days=>:34,p_asn_creation_days =>:35,p_asn_conversion_flag =>:36,p_min_shelf_life_days=>:37,p_restrict_expired_pick =>:38,";
    String u = "p_ars_rules=>:39,p_restock_ord_tgt_oms=>:40,p_attribute_category =>:41,p_attribute1 =>:42,p_attribute2 =>:43,p_attribute3 =>:44,p_attribute4 =>:45,p_attribute5=>:46,p_attribute6=>:47,p_attribute7 =>:48,p_attribute8=>:49,p_attribute9=>:50,p_attribute10=>:51,p_attribute11 =>:52,p_attribute12 =>:53,p_attribute13 =>:54,p_attribute14 =>:55,p_attribute15 =>:56,p_reflbl1 => :57); end;";
    String v = (s+t+u);
    OracleCallableStatement oraclecallablestatement = (OracleCallableStatement)oadbtransactionimpl.createCallableStatement(v, -1);
    oraclecallablestatement.setString(1,getContCd());
    oraclecallablestatement.setString(2,getConsolidateCd());
    oraclecallablestatement.setString(3,getCustomer());
    oraclecallablestatement.setString(4,getReqAsn());
    Edited by: sreese on Sep 24, 2009 3:06 PM

  • Is it possible to add Attribute(column) to entity via Excel addin?

    I can create an entity via the excel addin and update data in it but i cannot add additional columns (attributes)  to it via the excel addin once its created. am i missing something or is it just not possible?

    Winston, is this still an issue?
    Thanks!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!
    I worked around it using the excel addin, but the question is to see if its possible to do this in teh MDS web UI, without using excel, as its not very good design to have to jump from the browser based designer to excel and back in order to manage an MDS model.

  • Addition of new column in standard ALV

    Hi,
    Can somebody help on
    How to add new col in the ALV and also addition of a custom button.

    Check this..
    for adding column
        data lo_cmp_usage type ref to if_wd_component_usage.
        lo_cmp_usage =   wd_this->wd_cpuse_alv1( ). " alv1 is my alv component name
        if lo_cmp_usage->has_active_component( ) is initial.
          lo_cmp_usage->create_component( ).
        endif.
        data lo_interfacecontroller type ref to iwci_salv_wd_table .
        lo_interfacecontroller =   wd_this->wd_cpifc_alv1( ).
        data lo_value type ref to cl_salv_wd_config_table.
        lo_value = lo_interfacecontroller->get_model(
        data: lo_column1 type ref to cl_salv_wd_column.
        lo_column1 = lo_value->if_salv_wd_column_settings~create_column( 'ATTRIBUTE NAME IN CAPITAL ).
    Regards
    Srinivas

Maybe you are looking for

  • I bought a Sony alpha 77II and can not open RAW in adobe photoshop elements 12.

    I bought a Sony alpha 77II and can not open RAW in adobe photoshop elements 12. Image data converter is not ok because of to much pre defined colour management, suggestions ?

  • Can not update tiger and safari does not start

    Hi everybody, I have actually two but probably interrelated problems: First, safari does not start and second, I can not update tiger. It all started a few days ago on my MacBook (Intel). Somehow, Safari produced an error (I only guess that it was Sa

  • Problem with SQL system's interfaces.

    Hi Experts,      There are a Proxy to JDBC Synchronous interface in Production environment. Here getting  the error " XIAdapterFramework- com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message 4e53d84e-9a45-363a-e100-00009

  • Cube Partition and Date

    Hi, I have a cube which has data from 2000 till now. The data from 2000-2007 is very less. But for 2008 and till may 2009 we have huge data So we decided to partition the cube on Fiscal Year/Period with 1252( 12 for 2008, 5 for Jan 2009 till may 2009

  • Some software does not recognize me as administrator since updating to Lion.  Any ideas?

    I installed Lion today, and it seems fine except for one problem.  I cannot install games from BigFishGames.com because it says I don't have administrator privileges. I checked my system preferences, and I am listed as the administrator, but the box