How to create a attribute to context node with the structure that is in DDIC

Hi,
I have created a 3 value attributes while creating a view.
now i have changed the name of the one of the field in my own database table.
now the problem is, when i open the webui and try to insert a row. i am getting error like "there is no field with that name(previous name) in collection".
that is not showing the new name that i have changed. so i deleted the attribute from my view and tried to add the attribute again. and while adding a single attribute it is not taking the ddic structure. and one more problem is, when i open the ui it is showing an error like "  the attribute BaseEntityName is not defined or is still initial  "
someone help me how to add the one more attribute from the same structure & how to provide BaseEntityName.
Regards,
Harry

Hi Harry,
If my understanding is correct you have added a attribute with name "ZX" and now you have changed the name of the field to "ZZX" and when you try to add the attribute it gives an error.
In this case, if you are trying to add a attribute with the same name as you have used before. it will not allow so better to use a new name.
If the attribute is there and if you are not able to get or set the value of it, Please change the attribute name in the getter and setter methods in the set and get property method call, because by default SAP generates a hard coded text for your attribute name in the methods and if you change the name of the field this will not change.
Thanks,
Ashok N.

Similar Messages

  • How to create a table type context node

    Hi,
    I am trying to create table type context node. While creating, in the wizard no where I can see the option for this.
    Could you please let me know how can I do this?
    In one standard component: SRQM_INCIDENT_H, I can see multiple table type context nodes. Not sure how and why?
    Thanks,
    Sandeep

    HI Sandeep,
      When you right click on context node and create , a wizard will open. In that Wizard in one sreen it will ask for type of view. There you have to select Table View.
    Regards,
    Lakshmi.Y

  • How to access multiple attributes of a node at the same time in XML AS3

         <chapter id="1" title="">
         <screen title="lesson">
         <swf>EXCEL/CH01/CH01_S01.swf</swf>
         <ltitle>Chapter 1</ltitle>
         <rtitle>Setting Up a Workbook</rtitle>
         <prompt>Choose a lesson</prompt>
         </screen>
         <screen title="lesson" tasks="3">
         <swf>EXCEL/CH01/CH01_S02.swf</swf>
         <ltitle>Chapter 1</ltitle>
         <rtitle>Setting Up a Workbook</rtitle>
         <prompt>Click Next to continue</prompt>
         </screen>
    I have 2 attributes of screen node which are title and tasks.
    how can I access these 2 attributes at the same time in AS3
    Is that correct:
    excel.chapter.screen.(@title == "lesson").@tasks
    Thanks alot in advance.

    var excel:XML = <data>
    <chapter id="1" title=""> 
      <screen title="lesson" tasks="">
       <swf>EXCEL/CH01/CH01_S01.swf</swf>
       <ltitle>Chapter 1</ltitle>
       <rtitle>Setting Up a Workbook</rtitle>
       <prompt>Choose a lesson</prompt>
      </screen>
      <screen title="lesson" tasks="3">
       <swf>EXCEL/CH01/CH01_S02.swf</swf>
       <ltitle>Chapter 1</ltitle>
       <rtitle>Setting Up a Workbook</rtitle>
       <prompt>Click Next to continue</prompt>
      </screen>
    </chapter>
    </data>;
    trace(excel.chapter.screen.(@title == "lesson" && @tasks == "3").toXMLString());
    Note that for this to work (and not throw an error) every screen node needs a tasks attribute.
    In your sample code, the first screen node did not have a tasks attribute, in which case an error is thrown when using @tasks == "3"

  • How to create a button which scrolls down with the page automatically?

    Hello,
    I wanted to create a button which takes u back to the top of the page when pressed on, but I was wondering how to make it scroll down with the page on the right side automatically when some1 scrolls down the page.
    An example I saw was on tumblr.com
    P.S I'm a newbie, so please explain it clearly ;d.
    Thanks.

    Create a button, position it as fixed at the top right say,
    a button{
              position:fixed;
              top:50px;
              right:50px; 
    <a href="#home"><button> Button</button></a>
    The <a> is the link to take you to the top of the page
    Just be sure to set the id home on an element at the top of the page

  • How to create an HTML editor on Apex with the buttons for editing?

    Hi,
    I would like to have an online editor similar to the one I am using to post this thread with a bold, itallic and links button.
    I see there are HTML editor items, however it doesn't have the bold, font buttons when I create the page?
    Below are from the HELP section.
    HTML Editor Standard - Provides more editing functionality, such as font, format and color, than HTML Editor Minimal.
    Text Area with HTML Editor - Provides basic text formatting controls. Note that these controls may not work in all Web browsers.
    Thanks.
    Edited by: Samantha on Oct 21, 2011 2:12 PM

    Hi,
    Thanks. I went to the item area and did not see it after selecting 'Text area'
    Only these items which do not have the cool editing features.
    Textarea
    Textarea (auto-height)
    Textarea with Character Counter
    Textarea with Character Counter & Spellcheck
    Textarea with Spell Checker
    HTML Editor Minimal
    HTML Editor Standard
    Textarea with HTML Editor (deprecated)

  • How can i sort PDF's on IBook with the name that starting with numbers

    i import a number of pdf's representing ameeting agenda as the files names (1xxx,1.1xxxx, 2.xxxx,10.xxxx) on ibook , however the files sorted on a diffrent way as file start with 10 on first . so how can i sor the files on the IBook  with its name starting with numbers as1 &1.1 and so on.

    You seem to want a numeric sort but are getting a character sort.
    a number range  would be 0,1,2,3, ... 9,10,11 ...
    sorting like everything else with computers is an algorithm.  Someone needs to define how it works.  When you see a list of files, someone has defined how the list will be sorted. If you compare Windows file sorting to Mac files sorting you will find there are differences.
    In the case of files sorting, the files are sorted on characters from left to right. In file sorting the sorting algorithm does not try to determine that files are numbers.  All files beginning with a 1 will be sorted together becuase the file sorting althorithm doesn't look at the second character position before grouping all the 1's together.
    For what it is worth, there are multple books written on sorting.
    Robert

  • Can anyone please guide me how to create a table like employe table with 10

    Hi,
    can anyone please guide me how to create a table like employe table with 10colums.
    after that we need to update the colums with personal details......like name1,name2,address,city,zip...etc.
    using the RFC we need to update the personal details coulums (either select query or Insert command)
    if you have any program logic similar to this requirement please share with me...that would br greatly helpfull to me...
    thanks in advance
    srinivas

    Hi....
    We are having one table and now i am going to update that table's fields...
    for that in RFC function module we need to enter the fields in importing parameters (which are mandtory in table)
    and in source code just write like following....
    ( try to under stand that it contains some previous used table nad field and stucture and work area and function module names)
    FUNCTION ZL2C_UPDATE_MYCUSTOMER.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(USR_ID) TYPE  USRID
    *"     VALUE(LOGO_ID) TYPE  KUNNR
      DATA ls_mycust TYPE zl2cmy_customer.
      DATA: name1 TYPE name1_gp.
      DATA: sharpoint_url TYPE url.
      ls_mycust-usr_id        = usr_id.
      ls_mycust-logo_id       = logo_id.
      SELECT SINGLE name1 FROM kna1 INTO name1 WHERE kunnr = logo_id.
        ls_mycust-name1       = name1.
        SELECT SINGLE sharpoint_url FROM zl2c_CUSDASHBRD INTO sharpoint_url WHERE logo_id = logo_id.
          ls_mycust-sharpoint_url = sharpoint_url.
          INSERT into zl2cmy_customer values ls_mycust.
          COMMIT WORK.
        ENDFUNCTION.

  • Create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse

    Hi,
    I followed the amazing SAPUI5 blog :
    How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse
    I was able to resolve all errors mentioned in this blog but then i get another error :
    Uncaught TypeError: Cannot read property 'dataServices' of undefined
    Any idea what is the problem.
    Thanks a lot!
    Amina

    Hi,
    I followed the amazing SAPUI5 blog :
    How to create SAPUI5 application consuming Gateway service with the help of SAP NW Gateway Plug-in for Eclipse
    I was able to resolve all errors mentioned in this blog but then i get another error :
    Uncaught TypeError: Cannot read property 'dataServices' of undefined
    Any idea what is the problem.
    Thanks a lot!
    Amina

  • Reading Attributes from different context nodes in the same view

    Hi,
    I have added a new field as part of an enhancement for Trade Promotions. This field is a checkbox and part of the context node TRADE in the view TPMOE/HeaderEOF. This field will be checked or unchecked using a logic in the background.
    The logic will be based on an attribute (Fund Plan ID) which is part of another context node FUNDPLAN in the same view.
    How can I read the attribute of FUNDPLAN context node in TRADE context node?
    A sample code will be quite helpful as I am new to CRM 2007.
    Thanks,
    Abhishek
    Edited by: Abhishek  Periwal on Oct 16, 2008 2:35 PM

    Hi Abhishek,
    If I understand your question correctly, you would like to access the Fund plan ID (in a different context node) in the getter setter methods of the check box attribute which you have added.
    The code snippet mentioend by sudeep works perfectly fine when you are making any checks in the view implementation class. But since you are in the getter setter methods of the context class, this doesnot work as "me" always refers to the class instance in which you are present.
    Now in this case what you need to do is :
    1)  create an attribute <view_controller> in your context class. Here the context is TRADE. The type of this attribute wud be same as the view controller class CL_TPMOE_HEADEREOF0_IMPL
    2) Go to the view controller class and redefine the method
    DO_VIEW_INIT_ON_ACTIVATION. This method is called only once when the view is loaded for the first time.
    3) In this method, put the following code
    me->typed_context->(Trade)->[view_controller] = me.
    by the above code, you are setting the newly created attribute to the view controller instance.
    4) The next step would be, go back to your getter setter methods or what ever it may be, try referring to the Fund plan ID by the code snippet mentioned below
    data: lr_entity type ref to cl_crm_bol_entity.
    lr_entity ?= me->[view_controller]->typed_context->[the context node in which the fund plan id is present]->get_current().
    lv_field_value = lr_entity->get_property_as_String( **pass the field name here ).
    This should definitely resolve the problem.
    Thanks,
    Vinay

  • How to search data from a context node.

    Hi Friends,
    Thanks for ur help for previous problem . I am facing some other problem i.e how to
    search data from a context node.
    i have a context node :-
    Car(main node) which consist of details, owners, engine and Brand  as its sub node.
    the value attibutes of difft nodes are:-
    Car-  category
    Details-  Mileage, Price, registration_no, miles_used
    owner -  name, phnno,addrs
    Brand -  main_brand, co_brand
    Engine- Bhp,Rpm
    Now i have to apply a search criteria on the basis of price, miles_used .
    pls help to implement that .
    Thanks & regards
    Pravin jha

    Hi PRAVIN,
                       What I can understand from your problem is that, you have a list with various properties and you want to display them and search them in your WD App. If I am correct, use the following approach:
    Instead of using "details, owners, engine and Brand" Nodes, use the attributes inside the parent node. i.e in the node Car, add all the attributes viz. Mileage, Price, registration_no, miles_used, name, phnno,addr etc.
    Now you can create a table of this node "Car" and can easily search on the basis of any criteria.
    I hope this solves your issue. If you are looking for something else, please revert, I'll be happy to help you.
    Cheers!!!
    Umang

  • 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

  • How to read the details in the context node of the custom controller

    Hi friends,
        My requirement is i enhanced the component ICCMP_BP_DETAILS , now on EH_ONSAVE i want to read the details of the Context node in the Custom COntroller .
    In custom controller from ICCMP_BP_DETAIL/CuCoBPDuplicate  From this in context node CUSTOMER is there in that attributes first name last name is there i want to read those details
    so can u pls provide the logic for this how can i get the values.
      am very new to the BSP programming
    Regards
    Yogesh

    Hi Suchitha,
    when i am following the above code the lr_entity is not Bound, so can u pls suggest is there any thing is missing
    i used the below mention code but lr_entity is not bound
    DATA: lr_cuco type ref to CL_ICCMP_BP_CUCOBPDUPLICA_IMPL.
                lr_entity type ref to cl_crm_bol_entity.
    lr_cuco ?= me->get_custom_controller( 'ICCMP_BP_DETAIL/CuCoBPDuplicate') .
    CHECK lr_cuco IS BOUND.
    lr_entity ?= lr_cuco->typed_context->customer->collection_wrapper->get_current( ) .
    CHECK lr_entity IS BOUND .
    lr_entityIF_BOL_BO_PROPERTY_ACCESSGET_PROPERTY_AS_VALUE( iv_attibute =  'FIRST_NAME' ev_attribute = lv_firstname ) .
    Please correct the code if any thing is missing
    Regards,
    Yogesh

  • How to create an attribute

    Hi,
    I can create xml elements in designer, e.g. John Brinkman's example
      // Add a question datagroup with the right question type
      // then add a question subform to bind against it.
                                                      var vNewQ = xfa.datasets.createNode("dataGroup", "Question");
                                                      vNewType = xfa.datasets.createNode("dataValue", "QuestionType");
                                                      vNewType.value = vQDef.QuestionType.value;
                                                      vNewQ.nodes.append(vNewType);
                                                      vSection.dataNode.nodes.append(vNewQ);
    However, I would like to create an attribute (I'm working with an existing predefined schema) but I can't seem to find a simple way, e.g.
    I would like something like
    <Question QuestionType=""/>
    How can I do this? I tried loading the XML in like
                                                      var vNewType          =
                                                                                                          <Question QuestionType="">
                                                                                                          </Question>;
                                                      xfa.data.mForm.loadXML(vNewType.toString(), false, false);
    but unless I give it a child node, it bombs out. It will work with
      var vNewType =
        <Question QuestionType="">
           <dummyRow/>
        </Question>;
    Any help would be worth 5 gold medals.

    Hi,
    You need to set the contains property of the dataValue to 'metaData" to turn it into an attribute, but you can only do this once the dataValue has a parent, so your code should look like;
    var vNewQ = xfa.datasets.createNode("dataGroup", "Question");
    vNewType = xfa.datasets.createNode("dataValue", "QuestionType");
    vNewType.value = vQDef.QuestionType.value;
    vNewQ.nodes.append(vNewType);
    vNewType.contains = "metaData";
    vSection.dataNode.nodes.append(vNewQ);
    Regards
    Bruce

  • Creating context node with dynamic type

    When we are creating context node thru wizard,  Dictionary type must be filled. I'm trying to create Context node manually.Did any one tried created Context node class with Dynamic type.

    Hi Prasad,
    I have a similar requirement.
    Can you please share with me how did you create context node with dynamic table data?
    Thanks
    Vicky

  • How to create an attribute dimension in Essbase Studio?

    I cannot figure out how to create an attribute dimension using Essbase Studio. The online help states that I need to "Find the Attribute settings grouping in the center" of the member properties dialog box. I suspect that I'm having a problem figuring this out because I don't have the attribute dimension properly defined in the relational data source or in the mini-schema. I've tried creating a table with no key relationship to the other tables and with no logical joins defined, but that doesn't seem to help. Any ideas?

    so in the 11.1.1 version you would click on the member name in the hierarchy you added to the Essbase model and in the center pane of the general tab should be the attributes settings section.
    If I had a dimension called stores wth two groupings unser it region and store_type, I would click on store_type and add the attribute info

Maybe you are looking for

  • Video options almost all grayed out -- but camera works

    +(Accidentally posted this in iChat 3.0 forum: meant to post here)+ A number of quite important options are grayed out of my iChat, and I don't know why. For example, under Buddies, I can't select anything under "Send Instant Message". Most important

  • Pp Scenerio

    dear all 1) My scenerio is MTO 2)"During conversion of planned order to Production order the system should not allow to do it if  found Capacity oveloaded." 3)The system should also proposed some alternate workcenter or resources , which is not ovelo

  • Mac OS X Server 10.6.8 on Xserve 2009 - Admin Account Won't Login

    Hello, I installed the Lightspeed Server demo on my server - other accounts login, and I can use the admin credentials to access the server (Server Admin, AFP, etc), but auto login does not work, and the login window shakes when I try to login to tha

  • Why do I suddenly need to license my photoshop cs6 extended again?

    It's weird. Summer is about to begin and I'm finally having a chance to have some fun with my tablet and photoshop...Except that it want's me to give the serial number again. I already did it in autumn but haven't had the chance to use it for the pas

  • PS_ECQUEUEINST = Cannot insert duplicate key row in object

    Running ECIN0001, and getting error [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert duplicate key row in object 'PS_ECQUEUEINST' with unique index 'PS_ECQUEUEINST' Table values look like as under ECTRANSID ECTRANSINOUTSW ECQUEUEINSTANCE