How to add new Attribute in exits Entity at RunTime

Hi ,
I have try to add new attribute in my entity object at run time useing following code .
EntityDefImpl lnewEntity = EntityDefImpl.findDefObject("model.entity.Applicant");
aNewEntity.addAttribute("FirstName", "FIRST_NAME", String.class, false,
false, false);
but its giveing me NullPointerException exception
Caused by: java.lang.NullPointerException
     at oracle.jbo.server.EntityDefImpl.getSuperAttrDef(EntityDefImpl.java:4709)
     at oracle.jbo.server.EntityDefImpl.addAttributeOfKind(EntityDefImpl.java:4774)
     at oracle.jbo.server.EntityDefImpl.addAttribute(EntityDefImpl.java:4764)
     at dk.decorateWithAttributes(UC1315ServiceImpl.java:1120)
     at dk.ServiceImpl.setNewQuestionsRowSet(UC1315ServiceImpl.java:858)
     at dk.bean.HelperBean.setQuestionsFrameLayout(UC1315HelperBean.java:314)
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     at java.lang.reflect.Method.invoke(Method.java:597)
     ... 57 more
<RegistrationConfigurator> <handleError> ADF_FACES-60096:Serverundtagelse under PPR, nr. 1
javax.el.ELException: java.lang.NullPointerException
     at com.sun.el.parser.AstValue.invoke(Unknown Source)
     at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
     at oracle.adf.controller.internal.util.ELInterfaceImpl.invokeMethod(ELInterfaceImpl.java:168)
     at oracle.adfinternal.controller.activity.MethodCallActivityLogic.execute(MethodCallActivityLogic.java:160)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.executeActivity(ControlFlowEngine.java:989)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:878)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.doRouting(ControlFlowEngine.java:777)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.routeFromActivity(ControlFlowEngine.java:551)
     at oracle.adfinternal.controller.engine.ControlFlowEngine.performControlFlow(ControlFlowEngine.java:147)
     at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleAdfcNavigation(NavigationHandlerImpl.java:109)
     at oracle.adfinternal.controller.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:78)
     at org.apache.myfaces.trinidadinternal.application.NavigationHandlerImpl.handleNavigation(NavigationHandlerImpl.java:43)
     at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:130)
     at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
     at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:312)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
     at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
     at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
     at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
     at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
     at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
     at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
     at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
     at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
     at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
Thanks,
Ashwani

Can you provide the correct code snippet?
The provided code snippet:
EntityDefImpl lnewEntity = EntityDefImpl.findDefObject("model.entity.Applicant");
aNewEntity .addAttribute("FirstName", "FIRST_NAME", String.class, false, false, false);
The variable references are different - lnewEntity / aNewEntity
Can you do a null check if you add the attribute?
if(aNewEntity != null) {
aNewEntity .addAttribute("FirstName", "FIRST_NAME", String.class, false, false, false);
Thanks,
Navaneeth

Similar Messages

  • How to add new attribute in product catalog?

    Hi All,
    Can anyone tell me how to add new field/attribute in product catalog?
    The requirement is to display product's new attribute on product catalog screen.
    Do I need to create any custom java class?
    Need suggestion!!
    Thanks.
    Regards,
    Rupali

    Hello Rupali,
    I am assuming a CRM E-Commerce scenario for my help here.
    Can anyone tell me how to add new field/attribute in product catalog?
    You must start from defining the new Attribute in an exisiting or new Set Type. Use transaction code COMM_ATTRSET. Once you have the attribute / attribute set defined, you can assign this to your catalog - in the header data as the Basic characteristic List.
    to display product's new attribute on product catalog screen
    See catalog/ProductDetailISA.jsp for tips - search for catalog.isa.attribute. The catalog item WebCatItem has all the details available already.
    com.sapmarkets.isa.catalog.webcatalog.WebCatItem currentItem = webCatItem;
    If you want to show the details of attributes in the catalog page - say - catalog/ProductsISA.jsp, the instance of WebCatItem is already available. In this page look for
      <isa:iterate id="item"
                   name="itemPage"
                   type="com.sapmarkets.isa.catalog.webcatalog.WebCatItem">
    You can see that item is an instance of the WebCatItem and follow the code in the <isa:iterate> loop. Using the following code
    Iterator itemAttribute = item.getCatalogItemAttributes();
    will give you the attribute list. You can iterate over the list of attributes and do what you want.
    Easwar Ram
    http://www.parxlns.com

  • How to add new attribute as descrition to 0Material infoobject?

    Hi BI Gurus,
    I am trying to add a new attribute to 0MATERIAL. The new attribute called Z_DESC which will be displayed as Material Description.
    My problem is how can I get Material long description show on this new added attribute. Since the master data load from different datasource: Attribute, Text, and Hierachy, how can I get text to show on attribute?
    I looked up on 0MATERIAL_ATTRIBUTE datasource there is no field NAME or DESCRIPTION but there is long description on 0MATERIAL_TEXT. Should any have idea how to get text show on added new attribute?
    Thanks in advacne,
    TOMSBS

    Hi BW Team
    How was the symptom and how the Message no. RSDMD217 show?
    If you have encounter the problem as mine: I added new attibutes to I/O 0MATERIAL and then tried to load the data to I/O 0MATERIAL again, it shows error message Message no. RSDMD217 and I cannot be able to see the data on new added attributes.
    I checked on PSA and found some records didn't sound right such as on material code column is filled with text so I use T Code RSRV to check the consistency of the I/O. It shows an errors as
    Characters are not allowed in characteristic values (characteristic 0MATERIAL).
    So I click on Correct Error Tab and try to reload again. It works.

  • How to add new attribute for triggering workflow?

    Dear Expert,
    I want to create condition for triggering workflow.
    I am working on travel request workflow, using BUS2089.
    my requirement is to differentiate or make condition of triggering workflow based on trip activity type,
    but I can't find any attribute about trip activity type.
    how to add activity type to be available for create condition?
    thanks

    Hi,
      If am not wrong you are trying to raise event when ever there is a new travel request raised, so the BOR would be availbel in the workflow container to be more preciese it would be available in the event container, so you need to find out the right attribute in the BOR where the trip type is assigned and validate this in the start conditions i mean in the basic data of the workflow where you activate the event linkage.
    Regards
    Pavan

  • How to add new attributes to HardgoodShippingGroup

    Hi,
    I added new fields to the user's home address using this item-descriptor:
    <item-descriptor name="contactInfo" >in the userProfile.xml file. This fields were automatically added to ACC and they can be invoked in the code by using RegistrationFormHandler.value.homeAddress.newField without needed to change anything in the java classes.
    To add the new fields to ShippingAddress I've changed the orderrepository.xml file using the following item-descriptor:
    <item-descriptor name="hardgoodShippingGroup">The fields were added to ACC, but I can't use them in the code, for example, ShippingGroupFormHandler.address.newField. This is the error I get:
    **** Error     1328094832225     /atg/dynamo/servlet/dafpipeline/DynamoServlet     atg.servlet.ServletResources->dynamoHttpServletRequestCantAccessProperty : getParameter(address.homeNumber) can't access property homeNumber in class atg.commerce.order.RepositoryContactInfoI created a class extending the ContactInfo and the repository extending this created class, for example:
    CustomFieldsAddress extends ContactInfo
    RepositoryCustomFieldsAddress extends CustomFieldsAddressThough, I can't invoke the RepositoryCustomFieldsAddress. It still invokes the RepositoryContactInfo.
    What should be done to fix it?

    Hi sampro,
    First, we created the following class:
    CustomFieldsAddress extends ContactInfoIn this class, were added all the custom fields, and all getter and setter for them.
    Then, this class was created, and changed the Address type, so it recognizes the new fields.
    public class ShippingGroupFormHandler extends ShippingInfoFormHandler {
        private Address address = new CustomFieldsAddress();
        private Address editAddress = new CustomFieldsAddress();
         public ShippingGroupFormHandler(){
                super();
                address = new CustomFieldsAddress();
                editAddress = new CustomFieldsAddress();
         public Address getAddress() {
              return address;
         public void setAddress(Address address) {
              this.address = address;
         public Address getEditAddress() {
              return editAddress;
         public void setEditAddress(Address pEditAddress) {
              editAddress = pEditAddress;
    }Then, this RepositoryCustom was created. It was created the same way as CustomFieldsAddress, only this new class extends the RepositoryContactInfo.
    public class RepositoryCustom extends RepositoryContactInfoAfter, we created this RepositoryCustomFieldsAddress. The methods are the same as RepositoryContactInfo, only adding the custom fields, like the example below:
    public class RepositoryCustomFieldsAddress extends RepositoryCustom
    public String getHomeNumber() {
         return (String) getRepositoryItem().getPropertyValue("homeNumber");
    }In the OrderTools.properties file, the following modifications were made:
    shippingGroupShippingAddressClassNameMap=\
                   hardgoodShippingGroup=atg.order.RepositoryCustomFieldsAddress
    paymentGroupBillingAddressClassNameMap=\
          creditCard=atg.order.RepositoryCustomFieldsAddress
    defaultShippingGroupAddressType=atg.order.RepositoryCustomFieldsAddress
    defaultPaymentGroupAddressType=atg.order.RepositoryCustomFieldsAddress
    beanNameToItemDescriptorMap+=\
                   atg.order.RepositoryCustomFieldsAddress=hardgoodShippingGroup,\In the ShippingGroupFormHandler.properties file, the following modifications were made:
    $class=atg.order.purchase.ShippingGroupFormHandlerIn the ShippingProcessHelper.properties file, the following modifications were made:
    addressPropertyNameMap=firstName=First Name,\
                    lastName=Last Name,\
                    address1=Street Address,\
                    city=City,\
                    state=State,\
                    country=Country,\
                    postalCode=Zip Code,\
                    phoneNumber=Phone Number,\
                    phoneNumber2=Phone Number 2,\
                    neighborhood=Neighborhood,\
                    reference=Reference,\
                    homeNumber=Home Number
    requiredAddressPropertyNames=firstName,\
                                 lastName,\
                                 address1,\
                                 city,\
                                 state,\
                                 country,\
                                 postalCode,\
                                 phoneNumber,\
                                 phoneNumber2,\
                                 reference,\
                                 neighborhood,\
                                 homeNumberIn the B2CProfileFormHandler.properties file, the following modifications were made:
    addressProperties=firstName,middleName,lastName,address1,address2,city,state,postalCode,country,phoneNumber,ownerId,phoneNumber2,reference,neighborhood,homeNumber
    addressPropertyList=firstName,lastName,address1,address2,city,state,postalCode,phoneNumber,country,phoneNumber2,reference,neighborhood,homeNumber
    requiredBillingAddressPropertyList=firstName,lastName,address1,city,postalCode,phoneNumber,country,neighborhood,homeNumber
    billingAddressPropertyList=firstName,lastName,address1,address2,city,state,postalCode,phoneNumber,country,phoneNumber2,reference,neighborhood,homeNumberIn the ProfileTools.properties file, the following modifications were made:
    billingAddressClassName=atg.util.CustomFieldsAddress
    shippingAddressClassName=atg.util.CustomFieldsAddressIn the PurchaseProcessHelper.properties file, the following modifications were made:
    addItemToDefaultShippingGroup=true
    addressPropertyNameMap=firstName=First Name,\
                    lastName=Last Name,\
                    address1=Street Address,\
                    city=City,\
                    state=State,\
                    country=Country,\
                    postalCode=Zip Code,\
                    phoneNumber=Phone Number,\
                    phoneNumber2=Phone Number 2,\
                    neighborhood=Neighborhood,\
                    reference=Reference,\
                    homeNumber=Home Number
    requiredAddressPropertyNames=firstName,\
                                 lastName,\
                                 address1,\
                                 city,\
                                 state,\
                                 country,\
                                 postalCode,\
                                 phoneNumber,\
                                 phoneNumber2,\
                                 reference,\
                                 neighborhood,\
                                 homeNumber
    addItemToDefaultShippingGroup=falseBasicly, that's all we have done. Hope you understood.
    Thanks
    Edited by: Ronaldo on 09/02/2012 09:30

  • How to add new group attribute in OAM?

    Hi,
    I'm using SunONE DS 5.2 P4 as my Oracle Access Manager repository. I would like to add some new attributes to Users and also to Groups.
    I am able to add the new attributes to users by adding the attributes to the oblixorgperson object class in SunONE DS, and then the new attributes appear in the OAM web admin (under the inetorgperson object class).
    I have tried to do similar thing to add attributes to Groups. I have added the new attributes to the oblixgroup object class in SunONE DS, but the new attributes do not appear in the OAM web admin anywhere (e.g., under the groupofuniquenames, etc. object class).
    Can anyone tell me how to add new attributes to SunONE DS so that they are available under Groups in OAM?
    Thanks,
    Jim Lum

    Have you added the auxiliary class "oblixgroup" to the Group Manager?
    1. Ensure that you have configured the object class or classes that you want to add in the Common Configuration tab.
    2. From the Identity System Console, select Group Manager Configuration, then click Configure Group Type.
    3. Click Configure Group Type Panels, then click Create.
    4. In the topmost menu, select the object class that you want to add.
    5. In the Panel Label field, enter the label that you want to display to end users when they view elements from this object class in the Group Manager.
    6. Select the Panel Information Is Complete check box.
    7. Click Save.
    The object class is added. You can view this new object class by clicking the Tabs link in the left navigation pane for Group Manager Configuration.

  • How to add new marketing attribute to the existing marketing attribute set?

    Hi all,
                  I searched for existing forums but I didn't find the required one. I found some using Tcodes ,which is not my requirement. My requirement is to add new marketing attribute to the already existing marketing attribute set. This  attribute set is created by my team lead with 4 attributes but now i have to add new attribute to this set so total will become 5 attributes for this attribute set. This has to be done through marketing professional business role. If this is not done through marketing attribute set, then I will go for the transaction where I can add marketing attribute for attribute set.
    Please send the details of both marketing professional business role and transaction code.
    Your help is highly appreciated.
    Thanks,
    Baasanthi.

    Hi,
    SAP CRM Marketing Attributes explained
    Path to create Marketing attributes from webui: log in with Marketing Pro role->Marketing->Create->Marketing Attribute
    Regards,Sumeet

  • How to add new fields in Reduced message ( in BD53 )

    Hi Experts,
    How to add new fields in Reduced message ( in BD53 ), when the required field iis available in Table or Structure and need to be added in BD53 so that we can ALE.
    Thanks,
    Ninad

    Hello,
    I think of something like:
    First, you create extension, with transaction WE30.
    Then, reduce your idoc, your extension should also be proposed.
    Do not forget to add this extension in outbound we82, and/or we57 in inbound, and WE20, and find BTE or exit to populate extension.
    regards.
    F.S.

  • PLz Help me its urgent, how to add new field in mm01 basic data screen

    Hi everyone,
         plz tell me how to add new field in mm01 basic data screen,i added that field in basic data screen but when i create a material the data for that field will not save in database table.
    Thanks,
    murali.

    Hi Murali,
    when created added a field on the screen by using user exit then after that you have add the field in main table where you will be getting these table in the userexit only, please make sure about this. And i am sure defenitly it will get updated in to the table.
    reward if useful.
    thanks
    abdulsamee.

  • 11.5.9/OAF 5.7 : how to add new fields in iProc "search results" page

    We need to add new fields into iProc "search results" page - "Personalize Self-Service Defn" is et, we can enter the personalization screens (from both the "master" link at top/right page level or from the link above the region) - anyway cannot find how to add new fields. Do we have to go to AK developer and/or XML files or is it feasable from OAF (as it is with 11510) ? TIA.

    It depends on what fields you want to add.
    1. If Oracle has included the fields, just render them via personalizations
    2. If they are brand new fields:
    a) you will need to extend the VO (I do not know the exact name).
    b) change the query to get your extra db columns if necesary
    c) add transient attributes to the VO and map them to b).
    d) Then you need to add the items via personalization and map them to the attributes you created in c)
    Check on metalink for the lates version of OAF Dev Guide and Personalization guide.
    Thanks
    Sandeep

  • How to add new tab screen in transaction BP

    Hi,
       Please let me know How to add new tab screen in transaction ukm_BP. Is there any SPRO configuration needed for this?
    Thanks,
    Debi.

    Hi,
    You may also try the exits available with the MIGO transaction. To find exits you can use the fillowing code by giving tranasaction code as input.
    REPORT  zrmexitfinder                               .
    TABLES: modsap, modact, tstc.
    PARAMETERS: input1 LIKE tstc-tcode DEFAULT ' ',
                input2 LIKE modsap-typ DEFAULT ' '.
    DATA: search1(6),
          search2(3),
          search3 LIKE modsap-member.
    DATA : first_row VALUE 'Y'.
    CONCATENATE: '%' input1 '%' INTO search1,
    '%' input2 INTO search2.
    SELECT * FROM tstc WHERE tcode LIKE search1.
      first_row = 'Y'.
      CHECK tstc-pgmna NE space.
      CONCATENATE '%' tstc-pgmna '%' INTO search3.
      SELECT * FROM modsap WHERE typ LIKE search2
      AND member LIKE search3.
        SELECT SINGLE * FROM modact WHERE member = modsap-name.
        IF first_row EQ 'Y'.
          WRITE: /0 tstc-tcode, 6 tstc-pgmna, 16 modsap-name, 32 modsap-typ,
                 45 modsap-member, 70 modact-name.
          first_row = 'N'.
        ELSE.
          WRITE: /16 modsap-name, 32 modsap-typ, 45 modsap-member, 70 modact-name.
        ENDIF.
        CLEAR : modsap, modact.
      ENDSELECT.
      IF sy-subrc NE 0.
        WRITE : /0 tstc-tcode, 6 tstc-pgmna, 30 'No exits found'.
      ENDIF.
      CLEAR tstc.
    ENDSELECT.
    END-OF-SELECTION.
      CLEAR: search1, search2, search3.
    Regards,
    Renjith Michael.

  • How to add new line in message on my S890

    My stock keyboard in Lenovo S890 doesn't have enter key, is this normal ? How to add new line ?
    However this happened only in messages, while using whatsapp the enter key present.

    Hi,
    the fact that your question is posted in Order Management section, does the move order automatically generated by OM?
    nevertheless, i don't think you should (or allowed, in this case) to add a new line in transact move order. Transact move order only queries (not create records) the move order lines eligible to allocate and transact.
    So, I don't see why you need to add a new line in transact move order.
    You can, however, add a new line in the allocation of the lines, where for instance, you need to have half of the line allocated to one locator, and the other half to another locator
    Thanks

  • How to Add custom Attribute in XML

    How to add Custom attribute recusrivly. With sequence order.
    //Before xml:-
    var myxml:XML=
    <root>
    <leval0 >
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    <leval1 >
    <leval2></leval2>
    <leval2></leval2>
    </leval1>
    </leval0>
    </root>
    ////After xml:
    var myxml:XML=
    <root>
    <leval0 levalid="0" >
    <leval1 levalid="0_0" >
    <leval2 levalid="0_0_0"></leval2>
    <leval2 levalid="0_0_1"></leval2>
    </leval1>
    <leval1 levalid="0_1" >
    <leval2 levalid="0_1_0"></leval2>
    <leval2 levalid="0_1_1"></leval2>
    </leval1>
    </leval0>
    </root>

    //call this method
                trace(addAttribute(myxml));
    //method
                private function addAttribute(node:XML, depth:String = ""):XML
                    if (node.hasComplexContent())
                        var count:int = 0;
                        var prefix:String = 0 < depth.length ? depth + "_" : "";
                        var currentAtt:String;
                        for each (var nodeItem:XML in node.children())
                            currentAtt = prefix + count;
                            nodeItem.@levalid = currentAtt;
                            addAttribute(nodeItem,currentAtt);
                            count++;
                    return node;

  • How to add New field in SMART forms.

    How to add new field in the SMART FORMS. Please know me the step.
    Please help me soon.
    Moderator message: Welcome to SCN!
    Moderator message: please search for available information/documentation, do not use a priority higher than normal (no "soon", "ASAP", "earliest" etc.).
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 17, 2011 12:31 PM

    How to add new field in the SMART FORMS. Please know me the step.
    Please help me soon.
    Moderator message: Welcome to SCN!
    Moderator message: please search for available information/documentation, do not use a priority higher than normal (no "soon", "ASAP", "earliest" etc.).
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Jun 17, 2011 12:31 PM

  • How to add new text field in standard report

    how to add new text field in standard report?

    Hi,
    I presume you are talking about a report display in ALV and u wish to add a column to it .
    If it is a global requirement ,as in table being used there in ALV can be modified, then you can append the table and the system should pick up the same automatically from there.
    Otherwise , you can make a Z program . Modify the catalog being used in ALV.
    Regards,
    Shweta

Maybe you are looking for

  • Flash Sound Quality in CS5

    I'm looking to upgrade from Flash 8 Professional to the newest version.  Has the quality of imported sounds improved beyond the tinny, in-the-submarine effect? Thanks, Mike

  • Oracle XE License

    Oracle states XE is free to deploy & distribute. Now supose I have a client server application, that uses oracle 8i personal edition, and I'm being charged for that. Would replacing that database with XE mean that I will no longer be charged? TIA JM

  • Issue in Query to find the Cumulative Values

    Hi All, I am developing one Query in which i have to show plant wise last 12 months status of audit. In this audit i am able to show the types of audits say X,Y,Z perfectly. But the thiing i want to calculate is the cumulative values of X,Y,Z before

  • Colour Format

    Hello there, I am a beginner in Photoshop.I have designed a handbill for a meeting.I have designed it in CMYK mode..I want  to convert it into RGB mode,how can i change it?Please help me.

  • Hyperion Disaster Recovery

    I've a hyperion planning test environment which pretty much mimics the Production system. In case the production is down and unusable, I need to be able to bring up the test system using the backup (tapes) from the production and use that test system