Type of Value Attribute

Hi,
The version of my NetWeaver Developer Studio is 2.0.9
This Version does not support com.sap.ide.webdynpro.uielementdefinitions.Resource type for Context Attribute.(in which resource is missing)
My task is to upload and parse a XML file.
How to replace this type?
Thanks,
RPN

Hi
https://www.sdn.sap.com/irj/sdn/advancedsearch?query=typeofValueAttribute++&cat=sdn_all
Chech this link
Regards
Ruturaj

Similar Messages

  • Error: Set type Z contains multiple-value attributes

    Hi forum,
    I have a problem when i try to assign a set type with the same value but diferent name on another set type to the same product category.
    This is the detail of the error but i dont know where i have to set this indicator:
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Any sugerence about this?
    Regards and thanks in advance,
    Mon

    Hi Nelson,
    I create two set types, the description is not the problem. I have discover that when i try to assign these attributes in the same set type or in other appears this error.
    The set types have the same values. For example:
    zcountry1. Values: sp - spain. fr - france.
    zcountry2. Values: sp - spain. fr - france.
    When i try to configurate the comm_hierarchy in my category appears this error:
    Set type zcountry2 contains multiple-value attributes.
    Diagnosis
    The set type ZGAME5 contains multiple-value attributes. It cannot be assigned to the category as extended maintenance has not been activated.
    Procedure
    Multiple-value attributes are stored in the PME. If you want to use the set type ZGAME5, you must set the Extended Maintenance Options indicator for the hierarchy.
    Extended Maintenance Is Possible for the Hierarchy
    Definition
    If you set this indicator for a particular hierarchy, all categories and set types in this hierarchy are created in the PME.
    This gives you the following extended maintenance options at category level:
    You can assign set types with multiple-value attributes
    You can restrict value ranges and maintain default values for attributes of customer set types.
    Where is this indicator¿? in R3?
    So, these are the steps...can anybody help to me?
    Regards and thanks in advance.

  • Self defined type how to create value attribute

    Hello!
    How can I create a new context "value attribute" if its
    type is doesn't exist in the drop down list
    where you can choose either a primitive data types
    or a java Type. It is an self defined class.
    It's name is  "Notebook". I want to bind all the Notebooks
    with a value attribute. The method returns a  Notebooks-Array.
    How can I deal in such cases?
    Regards
    sas

    Hi,
    You need to put your java file inside src-->your package. As you said it is already there, then try to reload and rebuild your project. It must show in the java native types when you browse.
    Even check the package statement of your java file.
    thanks & regards,
    Manoj

  • How to change the mining type of an attribute?

    Quite often, when I build a model with Naive Bayes algorithm (using DBMS_DATA_MINING package) I get a model with some attributes
    being type of VARCHAR2 and categorical mining type although the
    data type of these attributes are NUMBER.
    My question is, on what basis does ODM assign mining type to an attribute?
    Is that the number of distinct values of an attribute?
    Can I change these mining types somehow using PL/SQL?
    I'm using ODM 10g R2
    Thank you
    Luke

    Quite often, when I build a model with Naive Bayes algorithm (using DBMS_DATA_MINING package) I get a model with some attributes
    being type of VARCHAR2 and categorical mining type although the
    data type of these attributes are NUMBER.
    My question is, on what basis does ODM assign mining type to an attribute?
    Is that the number of distinct values of an attribute?
    Can I change these mining types somehow using PL/SQL?
    I'm using ODM 10g R2
    Thank you
    Luke

  • How to set Value Attribute (under valu node) at run time

    Hi,
    This is my View context.
    wbsElement (Value Attribute of Type String)
    This is my Component Controller Context.
    Project_info  (Value node)->Wbs_Info (Value Node)-WBS(Value Attribute).
    Initially I want to set some dummy values to wbsElement(view attribute),sothat I can show that in drop downby key.
    On selecting of wbsElement I want to pass the selected value to component controllers ValueAttribute - WBS (this Value attribute is under 2 nodes-see the structure I've given).
    I tried this way which is not working fine.
        IWDNodeElement element = wdContext.createWBSElement();
         wdContext.nodeWBS().addElement(element);
        wdContext.currentWBSElement().setWBS(wbsElement);
    Can anyone tell me which is the correct way to do this?
    This is very urgent.plz help me in this.Thankx in advance.
    Regards,
    Karthick

    Hi Karthick,
       try this code.
    IPublic<compcontrolllername>.IWbc_infoElement  obj  =         wdThis.wdGet<Componentcontrollername>Controller().wdGetContext().createWbc_infoeElement();
    obj.setWBS(wdcontest.currentContestElement.getwbsElement());
    wdThis.wdGet<Componentcontrollername>Controller().wdGetContext().nodeWbc_infoElement().addelement(obj);
    set the cardinality of Project_info to 1:n or 1:1
    test this one
    if you find any problem let em know
    regars
    Naidu

  • Value attribute not visible in runtime collection

    Hi,
    I have created some 2-3 value attributes (display only) in a standard model node for BTDOCFLOW (which also contains some display only fields). Put in the logic in their Getter methods and fields are getting displayed in UI with the values.
    Now, my requirement is to display this table view (Assignment block) in default sorting based upon one value attribute and one model node attribute. But the problem here is, I am unable to find value node attribute at runtime in BTDOCFLOW collection at DO_PREPARE_OUTPUT. (Even display only standard context node attributes, which are not part of model node structure are not visible)
    I have re-defined method GET_TABLE_LINE_SAMPLE with the value attributes, resulting in enhanced rv_sample line, but still the value attribute is not visible at runtime in the collection.
    Can someone pl. tell me, how can I display my value attributes in collection along with model node attributes, so that I can do default sorting based upon one custom and one model node attribute.
    Thanks,

    Hi,
    Whne you define value attributes within the model attribute then the node becomes mixed instead of either value node or model node.
    So you need to access the mixed node and then should access model attributes and value attributes separately.
    Get your collection into a normal entity then assign the entity to mixed node
    DATA: lr_mixed TYPE REF TO cl_bsp_wd_mixed_node ,
                current TYPE REF TO if_bol_bo_property_access,
                 lr_current TYPE REF TO cl_crm_bol_entity.
         current ?= me->typed_context->entity name->collection_wrapper->get_current( ).
          lr_mixed ?= current..
          lr_current ?= lr_mixed->if_bsp_wd_ext_property_access~get_model_node( ).
    Best Regards,
    Dharmakasi.

  • How to map single context value attribute to multiple value attributes?

    Hello,
    is there any way to map a single value attribute
    from view's context into several value attributes
    in controller's context?
    The business context of what I want to achieve
    is the following: I have a view which can be called
    in two modes: read only (RO) and read-write (RW).
    The input parameters to the view are the same for
    both modes, however when in RO mode, the view calls
    a different set of web services than when called
    in RW mode. Before calling each of the web services
    I need to populate their context value attributes
    with appropriate input values.
    I know I can do it in Java code, but is it possible
    to do it without any programming (doing it in the
    source code is prone to errors)?
    Any help highly appreciated.
    Greetings,
    Tomek.

    Hi Kishore,
    than you very much for your kind help.
    I have already created a value attribute of type
    boolean and mapped it into the read-only property
    of the UI elements. This however does not solve all
    of the problems... I will describe it with an
    example:
    Let's say the form I want to implement will be
    used to: create (read-write mode), update (read-
    write mode) or show (read-only mode) customer's
    data. The customer's data is complex (lots of
    data, including tree structures).
    The problem is that:
    - when the form is called in read-only mode,
      it should populate its fields with values
      provided by the getCustomerData web service,
    - when the form is called to create a new
      customer (in read-write) mode, it should
      not use the getCustomerData web service.
      Instead it should map the input values
      entered by the user into input parameters
      of the createNewCustomer web service,
    - when the form is called to update customer's
      data, it should first display values returned
      by the getCustomerData web service, and then
      it should map the modified values entered by
      the user into input parameters of the
      updateCustomer web service,
    In all the above cases I must map my view's
    context data to different controller's context
    elements. Doing it directly in the source code
    is not a nice solution. Is there any other
    way to achieve this? 
    Calling a form in different modes in not an
    unusual thing, so I was hoping that maybe
    there are any built-in mechanisms that would
    solve the obove problem...
    Greetings,
    Tomek.

  • Setting property  for context value attributes

    hi experts,
      created a value attribute[XYZ] in context and i want to set that value attribute type as
    com.sap.tc.webdynpro.services.session.api.IWDWindow
    From properties am not finding the above path.
    please provide the valuable information.

    hi sham,
               my question is solved.thank's for u r help
    my next task is connecting the backend  BW using jco connections.
    SingleServer
                               Host Name:
                                System Number:
                                 SAP Router:
    User Account:
                                                                              Client:
                                                                                Logon name :
                                                                                 Password:
                                                                                 language:
    where do i get  these details .is this possible to get these details from development mechine.i do have access to enterprise portal.
    Thank's&Regard's,
    Prashanth.

  • Multi value attributes not appearing in the Web UI

    Hello,
    I've created a multi value attribute in the SAP GUI in CRM 2007 which appears correctly against the product. When I transfer this multi value attribute to the web UI, it doesn't appear at all unless you add values against it in the SAP GUI, in which case it appears, but the set type attributes are not editable.
    Any suggestions as to why the attribute is not appearing and what can be done to resolve this?
    Thanks,
    Alison

    Hi,
    I fear I did not completely get your point.
    One thing I noticed some time ago while playing with the marketing attributes is this:
    When you define an attribute that has multiple values, but no fixed values assigned, you are only able to maintain one value for this attribute. Maybe it is this what you are describing?
    The WebClient only adds new lines in the table for the attribute, when a server roundtrip is triggered by selecting a value from the DDLB.
    I do not know if SAP provided a fix for it in the meantime.
    cheers Carsten

  • Dynamic Heading not translated in report template "Value Attribute Pairs"

    Hello,
    I created a report in which I use application item names in the column heading of the items.
    When I use the report template "Value Attribute Pairs" the heading displays not the contents of the application item names but the exact contents of the headings.
    for instance:
    application item name "trm_label_1" has the value : "Naam".
    I created a report based on the SQL: select x.name from persons x
    The heading of column "name" is: "&TRM_LABEL_1.".
    The report shows the text "&TRM_LABEL_1." instead of "Naam".
    When I change the report template in "Standard" the substitution is done well.
    Can anyone explain what (not) happens and how I can fix this problem?
    Gr.
    Rob

    Hi Rob,
    You can do this by choosing as Headings Type: PLSQL in the Column Attributes.
    You would have something like Deptno:DName:Loc:&APP_ITEM.
    Where the first columns are normal text and the last one is an application item.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Exception while defining value attribute/View configuration issue

    Hello,
    I am facing an issue in view configuration. I have added value attributes to an existing context node in component BT116IT_SRVO, GenricItem view, BTADMINI context node. Now after adding the atrribute an exception is triggering as
    "Cannot display view BT116IT_SRVO/GenericItem of UI Component BT116IT_SRVO
    An exception has occurred Exception Class  CX_SY_MOVE_CAST_ERROR - Source type \CLASS=CL_BSP_WD_MIXED_NODE is not compatible, for the purposes of assignment, with target type \CLASS=CL_CRM_BOL_ENTITY 
    Method:  CL_CRM_UIU_BT_ITEMEOV_CN=>GET_QUANTITY 
    Source Text Row:  25 ".
    I have checked  source code of mentioned class, reference of CL_BSP_WD_MIXED_NODE class is coming after adding value attribute .
    Exception is triggering at statement: lr_entity ?= current. => In current ref of CL_BSP_WD_MIXED_NODE class is coming while lr_entity is type ref to cl_crm_bol_entity.
    I would really appriciate your reply on this as how can I avoid this exception? Do I need to redfine this method?
    Moreover the value attributes that I have added does not appear in Available Fields in View Configuration. Could you help me out in how can I make these fields available in configuration?
    Appriciate your replies on same.
    Regards,
    Rashmi

    The problem is solved.
    Thanks
    -Rashmi

  • Multi value attribute in IB - how does it affect system (crm 4.0)

    Hi,
    Is there any limitation when using Multi value attribute in set type which is used for Individual object in IB?
    I have succeed in implementation of Multi value variable feature in CRM 4.0 . this change is irreversible so I wish to know what are the _risks moving it to production.
    (We use IB VERY heavily with single value attributes)
    Does it affect performance? other features?
    Thanks
    Rachel

    hi there
    due to the pain of sending the single value attribute in production,we usually try create multi value attribute so that multidimensional usefulness takes place.
    i really don see any limitation and risk sending those in production,infact it will serve u a good cause there
    just procede with that,so far we havent observed any defect doing that in projects
    best regards
    ashish

  • How to query involving Multi-Value Attributes objects

    Hello.
         I have one question regarding coherence. We are looking for best and the fastest way to query multi-value attribute of objects. In Coherence User guide there is example, that shows, how can this be made with java.lang.String object:
         Set searchTerms = new HashSet();
         searchTerms.add("java");
         searchTerms.add("clustering");
         searchTerms.add("books");
         // The cache contains instances of a class "Document" which has a method
         // "getWords" which returns a Collection<String> containing the set of
         // words that appear in the document.
         Filter filter = new ContainsAllFilter("getWords", searchTerms);
         Set entrySet = cache.entrySet(filter);
         // iterate through the search results
         But I would like to know, how can this be made with some other object type. For example I could have object MyCoherenceObject with attribute HashSet<Identifier> idHashSet that would represent Person object that has composite key comprised of name and lastname. Identifier object would contain two attributes of type String: name & value.
         So basically I could have two identifiers in list:
         public MyCoherenceObject {
         public HashSet idHashSet = new HashSet();
         public MyCoherenceObject() {
         Identifier id1 = new Identifier("name", "John");
         Identifier id2 = new Identifier("surname", Smith");
         idHashSet.add(id1);
         idHashSet.add(id2);
         public HashSet getIdentifiers() {
         return idHashSet;
         This object would later be inserted in coherence cache. When query over coherence cache would be performed I would like all objects where multi-value parameter with name="name" equal "John" and parameter with name="lastname" equal "Smith". My code would look something like this:
         Set searchTerms = new HashSet();
         searchTerms.add("John");
         searchTerms.add("Smith");
         // The cache contains instances of a class "Document" which has a method
         // "getWords" which returns a Collection<String> containing the set of
         // words that appear in the document.
         Filter filter = new ContainsAllFilter("getIdentifiers", searchTerms);
         Set entrySet = cache.entrySet(filter);
         // iterate through the search results
         How can this be done. Basically I don't know how to search in multi-value attribute if one value represents arbitrary object and how to tell coherence which getter fuction must be used for comparison. In my case getValue() must be used and not getName().
         Second problem:
         Coherence must not return Person object with name="Smith" and lastname="John". Here upper filter would be satisified, but problem is that I am looking for person with lastname "Smith" and name "John".
         Domain description:
         I will have different objects of same type in coherence cache with different multi-value attribute list length. For example some objects will have only one identifier object in list (e.g. Phone "phoneNumber") some two (e.g. Person "name", "lastname") and other objects will have maybe three identifier objects (e.g. City "country", "area", "state").
         If there is faster way to do this in Coherence (I saw examples with getters that contain attributes for example), please give me some directions.
         Thank you very much for your help.

    When filtering based on the getIdentifiers, you should add Identifier instances into the searchTerms collection, and it will satisfy all your expectations. If you add simple Strings into that searchTerms collection, then none of your queries will return anything, because the String will never equal() the Identifier instances.
         You can also add an index on the getIdentifiers() method. However, the Identifier class should properly implement the equals() and hashCode() methods, and in order to be able to use an ordered index (you don't need that for the current requirements you listed), it should also implement Comparable.
         BR,
         Robert

  • Facing problem with Value Attributes

    Hi,
    I have created a value attribute under the context node. This attribute is editable field. User can enter value for this attribute on WEBUI.
    Now, my problem is in GET_METHOD.
    In get method, normally we get the value using "COLLECTION_WRAPPER" or "ITERATOR". If the attribute is BOL attribute , then we can get the value from these . However my attribute is value attribute, and I am unable to get the value using COLLECTION_WRAPPER or ITERATOR. So, when the user enters any value it is coming into GET_METHOD, and displaying blank value on the screen.
    Now my bottom line question is: if the attribute is value attribute, how can we get the value in GET method.
    Note: I can't add it as BOL attribute, for my case it is not possible.
    Thanks,
    Sandeep

    Hi,
    if it is a pure value note then you could access this using this class instead of bol class:
    lr_value_node TYPE REF TO cl_bsp_wd_value_node.
    Kind regards
    Manfred

  • SORTING Partner Result List with value Attributes

    Hi Gurus,
    I have added two value attribues in partner result list component and trying to sort the same in WEB UI, but is not working alothough I have logic in get_p and on_sort even.
    Please help if anyone knows how to sort by value attributes.
    Regards.

    Hi Ginger,
    the problem is because you have no real BOL attribute for your firstname and lastname that the values are not stored.
    what you need to do is sort via an internal table.
    here is how we did it:
      TYPES: BEGIN OF ltyp_cp_sort,
               sort_key1           TYPE string,
               sort_key2           TYPE string,
               sort_key3           TYPE string,
               bp_partner_guid     TYPE bu_partner_guid,
               entity              TYPE REF TO cl_crm_bol_entity,
             END OF ltyp_cp_sort,
             ttyp_cp_sort     TYPE TABLE OF ltyp_cp_sort.
      DATA: lt_cp_sort            TYPE ttyp_cp_sort,
            lt_cp_as_sort         TYPE ttyp_cp_sort,
            ls_cp_sort            TYPE ltyp_cp_sort,
            lr_entity             TYPE REF TO cl_crm_bol_entity,
            lv_wrapper            TYPE REF TO cl_bsp_wd_collection_wrapper,
            lv_value              TYPE string,
            lv_firstname          TYPE bu_namep_f,
            lv_lastname           TYPE bu_namep_l.
      DATA: lv_bp_partner_guid    TYPE bu_partner_guid,
            lv_partner            TYPE bu_partner.
      DATA: lv_archived            TYPE bu_xdele.
      FIELD-SYMBOLS:
            <cp_sort>             TYPE ltyp_cp_sort.
      FIELD-SYMBOLS:
            <lv_guid>             TYPE crmt_object_guid.
      DATA: ls_data_person        TYPE bapibus1006_central_person,
            lo_iterator           TYPE REF TO if_bol_bo_col_iterator.
      DATA: lv_number_cp          TYPE i.
    Fill up a table with the value of the sort attribute, the entity and its treenode attributes
      lv_wrapper = typed_context->result->get_collection_wrapper( ).
      lo_iterator = lv_wrapper->get_iterator( ).
      lr_entity ?= lv_wrapper->get_first( ).
      WHILE lr_entity IS BOUND.
        CLEAR ls_cp_sort.
        CLEAR: lv_value,
               lv_firstname,
               lv_lastname.
        CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
          EXPORTING
            iv_attr_name = 'CONP_GUID'
          IMPORTING
            ev_result    = lv_bp_partner_guid.
    here read the firstname and lastname of the BP again in variables
        CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
          EXPORTING
            iv_attr_name = 'ZFIRSTNAME'
          IMPORTING
            ev_result    = ls_cp_sort-sort_key1.
        CALL METHOD lr_entity->if_bol_bo_property_access~get_property_as_value
          EXPORTING
            iv_attr_name = 'ZLASTNAME'
          IMPORTING
            ev_result    = ls_cp_sort-sort_key2.
        TRANSLATE ls_cp_sort-sort_key1 TO UPPER CASE.
        TRANSLATE ls_cp_sort-sort_key2 TO UPPER CASE.
        ls_cp_sort-bp_partner_guid = lv_bp_partner_guid.
        ls_cp_sort-entity          ?= lr_entity.
        INSERT ls_cp_sort INTO TABLE lt_cp_sort.
        lr_entity ?= lv_wrapper->get_next( ).
      ENDWHILE.
      lv_wrapper->clear( ).
    Now you are sorting the way the user wants to sort is, so change this code according to your needs and the users input..
      SORT lt_cp_sort BY sort_key1 sort_key2.
      UNASSIGN <cp_sort>.
    After having sorted the list, add it back to the collection wrapper...
      LOOP AT lt_cp_sort ASSIGNING <cp_sort>.
        lv_wrapper->add( <cp_sort>-entity ).
      ENDLOOP.
    Hope this helps a bit...
    KR,
    Micha

Maybe you are looking for