Cannot read attribute of another context node in a context node

Hello Sap gurus,
such a long time that I do not post any issue. Now unfortunately time has come down.
My functional requirement is that whenever the status of an opportunity is changed from "Won" to "Booked", then I have to retrieve the Status reason previously marked for the status "Won" and paste into the attribute Status_Reason (CON_KEY) for status "Won".
In order to do that I need to read the context node BTADMINH or ZBTCUSTOMERH from the context node BTSUBJECT, in the method GET of attribute CON_KEY.
I have implemented the following code in the method GET_CONC_KEY of the context node BTSUBJECT.
  DATA:
          lr_entity TYPE REF TO cl_crm_bol_entity,
        lr_comp TYPE REF TO ZL_BT111H_O_DETAILS_IMPL,
         lv_ref_guid     TYPE        crmt_object_guid,
         lr_collection TYPE REF TO cl_crm_bol_bo_col,
         lr_bdc type ref to  if_crm_ui_data_context.
    TRY.
lr_entity ?= lr_comp->ZTYPED_CONTEXT->ZBTCUSTOMERH->collection_wrapper->get_current( ).
     lv_ref_guid = lr_entity->get_property_as_string( iv_attr_name = 'REF_GUID' ).
      CATCH cx_sy_ref_is_initial.
      ENDTRY.
Whenever I try to read the context node BTADMINH or ZBTCUSTOMERH from BTSUBJECT  I got always the same dump:
OBJECTS_OBJREF_NOT_ASSIGNED ZL_BT111H_O_DETAILS_CN06======CP CRM
Somethins is defitenely wrong and I am at the moment stuck with this code.
Please any help is really welcome.
Thanks in advance,
Andrea

Hi Andrea,
Sorry I got it wrong , for lr_comp you will have to take reference from controller IMPL class.
DATA:
          lr_entity TYPE REF TO cl_crm_bol_entity,
        lr_comp TYPE REF TO ( component controller IMPL class),
         lv_ref_guid     TYPE        crmt_object_guid,
         lr_collection TYPE REF TO cl_crm_bol_bo_col,
         lr_bdc type ref to  if_crm_ui_data_context,
         comp_controller type cl_bsp_wd_component_controller.
lr_comp  ?= me->comp_controller.
IF lr_comp IS BOUND.
    TRY.
lr_entity ?= lr_comp->ZTYPED_CONTEXT->ZBTCUSTOMERH->collection_wrapper->get_current( ).
     lv_ref_guid = lr_entity->get_property_as_string( iv_attr_name = 'REF_GUID' ).
      CATCH cx_sy_ref_is_initial.
      ENDTRY.
ENDIF.
Hope it helps.
Regards,
Manjeet Singh.

Similar Messages

  • No Source Fields(But wants to read attributes of another master data infoob

    Hi
    Im planning to use the 2LIS_03_BF datasource. I have two master data infoobjects(0PRODVERS_ATTR, 0MAT_PLANT_ATTR).
    Im loading data from 2LIS_03_BF in DSO . But this datasource doesn't contains the source fields for master data infoobjects 0PRODVERS_ATTR, 0MAT_PLANT_ATTR.
    So hw can i read the attributes of these master data infoobjects. please let me know
    kumar

    Hi
    You can write a routine for this purpose we call it lookup in bw terms ie if the field isnt present in the source then you can take the values from the other targets may it be ods or master data and the selection is based on the keyfields in both the targets ie source field and the target from which the field has to be picked.
    lets say i want customer Number  from the MD Customer and i dont have customer number in the souce field so i will write a routine in the start routine to select customer number from customer master data put the field in the internal table and then write a update routine in the field customer number that reads the values into the work area from the internal table and then put the result in the result field from work area.
    below is the syntax.
    TYPES:BEGIN OF t_custnumber,
    ***declare the fields u will be using including the keyfileds in the souce**
    customer number type /bic/0customer number
    END OF t_custnumber.
    ........internal table to read data into......
    DATA : i_custnumber.TYPE STANDARD TABLE OF t_custnumber.
    work area to read data from internal table
    DATA : wa_custnumber   TYPE t_custnumber,
    select
    customer number
    x
    y
    from table customer
    into i_custnumber
    where
    x= x of data package ie below ods (source)
    y = y of data package ie below ods (source)
    The above routine comes in the start routine
    Now for the update routine
    read table i_custnumber into wa_custnumber with key
    x= x of comm_strucute ie below ods (source)
    y = y of comm_strucute ie below ods (source)
    Result =wa_custnumber-customer number
    in start routine the souce table is called as data package but in case of update routine the same souce table is termed as communication structure thus comm_strucuture.
    hope this is handy information assign points if applicable
    thanks
    puneet

  • How to read the attribute in another context node from setter method

    Hi,
    As part of the  requirement
    i need to read the STRUCT.E_MAIL ( attribute ) present  in  INDEPENDANTEMAIL context node  from  the SET_S_SRUCT method of the context node  HEADER.
    I tried th following but it didnt work out....
    Get the Custom Controller Path
    *lr_cuco ?= controller->get_custom_controller( controller_id = 'BP_HEAD/IndComm').
    *IF lr_cuco IS BOUND.
    Get the Entity
    *lr_entity ?= lr_cuco->typed_context->independantemail->collection_wrapper->get_current( ).
    *ENDIF.
    *CHECK lr_entity IS BOUND.
    Get the Trade Event Type.
    *lv_email  = lr_entity->get_property_as_string( 'E_MAIL' ).
    also i tried ...
    data:
    *lv_value type string,
    *lr_property type ref to if_bol_bo_property_access.
    *lr_property = collection_wrapper->get_current( ).
    *lv_value = lr_property->GET_PROPERTY_AS_STRING( importing iv_attr_name = 'E_MAIL'
                                                returining  ev_result    = lv_email ).
    but it didnt workout ......
    Any suggestions   ...................
    Regards,
    Sijo...

    Hi,
    Both Context node are available in view then refer this link.
    Reading Attributes from different context nodes in the same view
    Relationship name for context node INDEPENDENTMAIL is 'BuilIndependantEmailRel'
    Regards
    Gaurav

  • 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

  • Reading Attributes from same context node of different attributes

    Hi,
    I  want read Attributes from same context nodes of diifrent attributes.
    I have attribute A and B of same node, want to get read value from  atrribute A into B.
    Regards,
    Brahmaji

    solved
    DATA: lv_current TYPE REF TO if_bol_bo_property_access.
       DATA: lv_value type String.
       IF iterator IS BOUND.
        lv_current = iterator->get_current( ).
      ELSE.
        lv_current = collection_wrapper->get_current( ).
      ENDIF.
      CALL METHOD current->get_property_as_string
            EXPORTING
              iv_attr_name = 'ZZAFLD00004Y'
            RECEIVING
              rv_result    = lv_value .

  • Reading attributes of different context nodes

    Hello,
    I want to read attributes of BP_DATA/TaxNumberList Node: BUILHEADER from Node BUILTAXNUMBER.
    I have tried all without success. In GENIL Browser they are not related.
    What can i do?
    Best Regards
    JM

    Hi
    I checked in the Model Browser. Seems 'BuilTaxNumber' has 'BuilHeader' as parent.
    Can you validate once in TCODE GENIL_MODEL_BROWSER for ONEORDER Component set.
    Regards,
    Masood Imrani S.

  • Muse Craziness and Error: Cannot read property 'parent node' of undefined

    I have finished my site and exported as HTML, when you open the index file you see a quick preview of the site then the page goes white.
    If I preview the site in a browser from Muse menu selection, I get this error and the content in my light boxes is all moved and some items not showing. Even pulled my footer items into the light box.
    Note that all of this only happens when previewed or exported as HTML. Everything works as it should in the design mode. When I hit the preview tab, the browser fill shows then Muse is not responsive for 15-25 min.
    I have no "added" Java Scripts, only used the available widgets within muse, I do have widgets nested inside of widgets which I believe may be the problem?
    Error Im getting from the browsers (all of them)
    "MuseJSAssert: Error calling selector function:TypeError: Cannot read property 'parent node' of undefined"
    I have began building my site in DW as this is becoming the usuall trip with Muse, as in every tiny change creates a ton of problems after export. The initial release was great and after the first update things just seem to be going downhill with every new update.

    Hi JKurtBrown,
    You seem to have some invalid HTML in a few of your custom HTML fields that is causing issues with the rest of the page. In many of the places where you have tables, you seem to have copy/pasted from a different source, but you are missing closing </div> tags for some of your code. Cleaning these up and closing these divs should allow your page to work without issue. If you need help narrowing down where the issues are, you can use the W3C Validator and it should be able to tell you where your issues are. The ones that say "No Closing Tag" are the ones you'll want to go through and fix first, as often times those can cause a lot of other issues.
    Hope that helps,
    Andrew

  • Audit Vault agent on another server cannot read OS audit files on source

    We have very highly secured database running on node1, we don't want to install agent on that server, so we installed it on node2. We want to use OSAUD collector to audit sys operations. But OSAUD collector is failing because it cannot read audit_trail_dest folder on the source database, network admins don't want to enable SSH from node2/oracle to node1.
    Please suggest what are the options I have in this case.
    I appreciate your help.

    Thanks for the clarification on versions and architecture. In the future do not use the term "node" unless you are referring to RAC as it will cause very substantial confusion. You don't have two nodes ... you have two servers.
    Throw it back at management. Ultimately they need to decide whether enabling secure communications makes sense in an environment where they wish to implement Audit Vault's very considerable capabilities.
    I think your network admins need to be sent off to a re-education camp. One that reminds them that their purpose is to support the organization. I doubt your business model shows substantial revenue generation from network administration.

  • Webdynpro: Reading attribute of one component in another WD component

    Hi All,
    This is a scenario in the SAP SRM system.
    I am trying to access the Contract number attribute (V_CTR_H_BD.HEADER_BD.OBJECT_ID) from the webdynpro component /SAPSRM/WDC_CTR_DODC_H_BD.
    I want that attribute to be accessed in the WD component /SAPSRM/WDC_DODC_CND view V_DODC_CONDITION.
    So, in order to achieve the above requirement, I tried to add a node as an Interface Node in the webdynpro component /SAPSRM/WDC_CTR_DODC_H_BD. But, I am unable to create any node in the component controller of WD component /SAPSRM/WDC_CTR_DODC_H_BD as a Interface Node, and hence, I am unable to create any node of Interface Controller. This is due to the reason that the node that we are creating have the Interface Node option in disable state.
    Can anybody suggest what approach we need to follow to satisfy the above requirement? (It would be great if the resolution will be containing the steps)
    Regards,
    Susanta

    Hello,
    this is the scenario.
    I could populate the account name in location field now. I do have partnerno. however, i am not able to retrieve the account number. is it possible to retrieve account number by get_related_entity when i have name. If yes, please share the piece of code that has to written. I am also doubtful about where to write it. Currently i am writing code to get account name in GET_ACT_LOCATION.
    More details :
    I need to populate the address here.
    Component - BT126H_APPT
    view-BT126H_APPT/ApptDetails
    Node- BTACTIVITYH Base Entity BTActivityH
    attribute- STRUCT.ACT_LOCATION
    details about the name i am getting curently
    Component - BT126H_APPT
    view-BT126H_APPT/ApptDetails
    Node-BTPARTNERACCOUNT Base Entity BTPartner
    attribute-PARTNERNO
    Kindly tell me can i get the partnernumber from this node anyhow. if yes, please explain.
    REGARDS
    CHANDRAKANT

  • Another "itunes cannot read contents of ipod" problem

    iPod is recognized by computer and has an icon on desktop. iTunes however won't recognize iPod.
    I've tried the 5 Rs except for restore as I am unwilling to erase the months of work I spent uploading songs to my iPod.
    AND...now when I disconnect the iPod from my computer, a large portion of songs are no longer listed in the menu. They have to be there as they haven't been deleted and were available when I connected to the computer.
    Any suggestions? Apple is on the verge of losing a lifelong customer here.

    I've got a brand new iPod Video 60Gb and i have had this message since the first time i synced it. I think i restored the iPod about 10 times but it's always crashing when i unlupg it. It try to listen to something, the musics are on the iPod but they aren't listed in playlists or under artists or songs.
    Then i plug it to iTunes and i got the message: iTunes cannot read the content.
    I've bought a Belkin card just for it, the one recommended for iPod USB 2.0. Doesn't change anything. I've tried different USB ports, again, nothing new.
    I was just going to try using USB 1.0 but it's sooooooooooooo slow that it will take me like 12 hours to sync the iPod!
    I don't know what to do now, as i can't find if it's a computer problem or an iPod problem...

  • Entity with key cannot be owned by another row

    Hi All,
    I have a master detail relationship between 2 VOs using Entity level association. When I try to create details rows using createAndInitRow(), I am getting below error. The Association has composition association, cascade delete, cascade update key attributes selected
    Entity with key:oracle.jbo.Key[ XXXXXXX ] cannot be owned by another row:oracle.jbo.Key[ XXXXXXX ]
    Code -
    RowSetIterator rsi = (RowSetIterator)((ParentVORowImpl)parentCurrentRow).getChildVO();
    NameValuePairs nvp = null;
    Row row = null;
    for (ExpressionObject obj : objectList) {
    nvp = new NameValuePairs();
    nvp.setAttribute("AAA", "AAA");
    nvp.setAttribute(<Attributes>, <Attribute Values>);
    row = rsi.createAndInitRow(nvp);
    rsi.insertRow(row);
    The moment createAndInitRow is called for first item I get the error and other items does not get associated with parent properly.
    Any clue what wrong am I doing??

    Copying from [http://www.packtpub.com/oracle-application-development-framework-real-world-developers-guide/book|Oracle ADF Real World Developers Guide]
    Creating child rows in composition association
    Creating a new child row is a bit tricky when the master-child entity association
    type is composition. When you mark an association between master and child entity
    objects as composition, the framework takes the necessary steps to ensure that the
    child entity object row does not exist without the master entity row. If you try to
    create a new child row by calling createRow() on the view object, the framework
    will throw the oracle.jbo.InvalidOwnerException: JBO-25030: Failed to
    find or invalidate owning entity exception.
    There are two possible ways to create child entity rows in this case:
    • Find the master row by using findByKey() or calling executeQuery() with
    a proper condition and then get the RowIterator for the child collection
    by accessing the view link accessor attribute. Now you can use the child
    RowIterator to call createRow() for creating the child row. The following
    code snippet illustrates the creation of the child entity row for the
    Country-Location composition association:
    //In application module implementation class
    * This custom method defined in application module
    * creates child location rows for a master
    * country entity through accessor iterator
    public void createChildRowsThruIter() {
    //Find the parent view object
    ViewObject countries = findViewObject("Countries");
    //IN is the Key value for a specific Country row
    Key key = new Key(new Object[] { "IN" });
    //Find the country for 'IN', maxNumOfRows=1
    Row rows[] = countries.findByKey(key, 1);
    //Access the RowIterator for Location
    RowIterator locIter = (RowIterator)rows[0].
    getAttribute("LocationVO");
    //Create and init location row
    Row row = locIter.createRow();
    row.setAttribute("LocationId", 2200);
    row.setAttribute("City", "Bangalore");
    locIter.insertRow(row);
    • Alternatively, you can directly create a new row in the child view object,
    using createAndInitRow() by passing an appropriately constructed instance
    of oracle.jbo.NameValuePairs, which includes the foreign key attribute
    that provides the context for a child row. Here is an example:
    //In application module implementation class
    * This custom method defined in application module
    * creates child location rows for a master
    * country entity using createAndInitRow()
    public void createChildRowsThruNameValuePairs() {
    ViewObject locations = findViewObject("Locations");
    //Initialize Attributes and Values
    String[] attributes = new String[] { "CountryId" };
    Object[] values = new Object[] { "IN" };
    //Pass the foreign key value for Country while
    //initializing new location row
    Row locRow = locations.createAndInitRow(new
    NameValuePairs(attributes, values));
    //Set other attributes
    locRow.setAttribute("LocationId", 2200);
    locRow.setAttribute("City", "Bangalore");
    locations.insertRow(locRow);
    }

  • APP-FND-00676: The flexfield routine FDFGDC cannot read the default ref....

    Hi Guys
    Please help me, I'm desperate. I'm trying to enter a new Lease in Properties Module. In the payments tab, when I try to save a line I get the following error:
    APP-FND-00676: The flexfield routine FDFGDC cannot read the default reference field specified for this descriptive flexfield. The developer specified a context field (via the Register Descriptive Flexfields form) that does not exist in this block of this form.
    Action: Contact your system administrator, and choose another default reference field for this descriptive flexfield.
    I've got an idea that it's complaining about a Flexfield, but I don't know which one and I don't know how to resolve this error. Any ideas would be appreciated.
    Thank you
    Regards

    Hi Octavio
    I did see the hints on Metalink and I looked at them. In principle I do understand what they are saying on the hints. My problem is that I can't find any hints on Property Manager, which is where I'm getting this error. And my other big problem is that I don't know which Flexfield is causing the error. So even if I follow the hints from Metalink, it's still not working because I could be looking at the wrong flexfield.
    Thanks a lot.

  • How to handle node with in a node of component controler context

    I want to create node within a node in the context of component controller. Now in the doInit method of the Component Controller I want to populate the node structure. How to do that? because in the parent node I can populate its attribute but there is no setter method for the child node , by which I can set the child to the parent node. can anybody help me ..
    I have tried by using the setAttribute method of the parent to add the child. for that two parameter I have passed one are child node name and the other one is the child node object(populated one)
    rgds,
    Soumen

    Hi Soumen,
    When we create the node itself, we need to associate it with the parent node. The following lines of code will help you to create a node(singleton, 1..1 cardinality) under a parent node:
    Assumptions for the following code are:
    1) The name of the parent node is 'parent_node'.
    2) The cardinality of 'parent_node' is 1..1 or 1..n. If you set the cardinality starting from zero, you need to explicitly create an element and then set the leadselection before using this code.
    IWDNodeInfo NodeInfo = wdContext.nodeParent_node().getNodeInfo().addChild("child_node",null,true,true,false,false,false,true,null,null,null);
    IWDAttributeInfo info = NodeInfo.addAttribute("child_Attribute" , "ddic:com.sap.dictionary.string");
    wdContext.nodeParent_node().getChildNode("child_node",wdContext.nodeParent_node().getLeadSelection()).getCurrentElement().setAttributeValue("child_Attribute","Test Value");
    wdComponentAPI.getMessageManager().reportSuccess(" The value set is ::"+wdContext.nodeParent_node().getChildNode("child_node",wdContext.nodeParent_node().getLeadSelection()).getCurrentElement().getAttributeValue("child_Attribute"));
    Hope this helps,
    Best Regards,
    Nibu.

  • Cannot read MAC address when Installing the Java workplace

    Hi All,
         While installing the Java Workplace for 2004s, following error happened:
    ERROR 2008-03-25 11:50:53
    CJS-30059  Java EE Engine configuration error.<br>DIAGNOSIS: Error when configuring J2EE Engine. See output of logfile umconfigurator.log: 'Mar 25, 2008 11:50:49... Info: UME configurator (com.sap.security.tools.UMConfiguratorLoad) called for action "setup"PerfTimes : loadNativeLayer: loading jperflib failed. no jperflib in java.library.pathjava.text.ParseException: cannot read MAC address from [
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : IDSMYN
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter ] using ipconfig /all     at com.sap.bc.krn.perf.PerfTimes.windowsParseMacAddress(PerfTimes.java:1173)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:289)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:260)     at com.sap.tc.logging.UID.getnodeaddress(UID.java:303)     at com.sap.tc.logging.UID.<clinit>(UID.java:59)     at com.sap.tc.logging.GUId.toString(GUId.java:46)     at java.lang.String.valueOf(String.java:2131)     at java.lang.StringBuffer.append(StringBuffer.java:370)     at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:215)     at com.sap.tc.logging.Log.writeInt(Log.java:864)     at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:930)     at com.sap.tc.logging.LogController.writeToLogs(LogController.java:3160)     at com.sap.tc.logging.LogController.messageInternal(LogController.java:2280)     at com.sap.tc.logging.LogController.logInt(LogController.java:2477)     at com.sap.tc.logging.LogController.logInt(LogController.java:2432)     at com.sap.tc.logging.LogController.logIntByAPI(LogController.java:2231)     at com.sap.tc.logging.APILogger.instrumentIntByAPI(APILogger.java:59)     at com.sap.tc.logging.LogController.addLog(LogController.java:1320)     at com.sap.tc.logging.PropertiesConfigurator.configure(PropertiesConfigurator.java:1119)     at com.sap.engine.core.configuration.impl.Logging.<init>(Logging.java:54)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:176)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:60)     at com.sap.security.tools.UMConfigModel.<init>(UMConfigModel.java:79)     at com.sap.security.tools.UMConfiguratorLoad.main(UMConfiguratorLoad.java:179)     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:324)     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)***************************************************************                                                         **** getMacAddress() failed                                  ****                                                         **** trying to get mac address from                          **** file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MAXDB\MAC_ADDRESS**                                                         **************************************************************Exception : CreateProcess: cat MAC_ADDRESS error=2**************************************************************                                                         **** getMacAddress() failed                                  ****                                                         **** failed to get mac address with Runtime.getRuntime().exec( cat MAC_ADDRESS )**                                                         **************************************************************java.text.ParseException: cannot read MAC address for IDSMYN from [] using cat MAC_ADDRESS     at com.sap.bc.krn.perf.PerfTimes.voidParseMacAddress(PerfTimes.java:1326)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:571)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:260)     at com.sap.tc.logging.UID.getnodeaddress(UID.java:303)     at com.sap.tc.logging.UID.<clinit>(UID.java:59)     at com.sap.tc.logging.GUId.toString(GUId.java:46)     at java.lang.String.valueOf(String.java:2131)     at java.lang.StringBuffer.append(StringBuffer.java:370)     at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:215)     at com.sap.tc.logging.Log.writeInt(Log.java:864)     at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:930)     at com.sap.tc.logging.LogController.writeToLogs(LogController.java:3160)     at com.sap.tc.logging.LogController.messageInternal(LogController.java:2280)     at com.sap.tc.logging.LogController.logInt(LogController.java:2477)     at com.sap.tc.logging.LogController.logInt(LogController.java:2432)     at com.sap.tc.logging.LogController.logIntByAPI(LogController.java:2231)     at com.sap.tc.logging.APILogger.instrumentIntByAPI(APILogger.java:59)     at com.sap.tc.logging.LogController.addLog(LogController.java:1320)     at com.sap.tc.logging.PropertiesConfigurator.configure(PropertiesConfigurator.java:1119)     at com.sap.engine.core.configuration.impl.Logging.<init>(Logging.java:54)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:176)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:60)     at com.sap.security.tools.UMConfigModel.<init>(UMConfigModel.java:79)     at com.sap.security.tools.UMConfiguratorLoad.main(UMConfiguratorLoad.java:179)     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:324)     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)**************************************************************                                                         **** Suggested workaround:                                   ****                                                         **** create file C:\Program Files\sapinst_instdir\NW04S\SYSTEM\DEVWP\MAXDB\MAC_ADDRESS** with hostname and mac address in the following format:  **** IDSMYN xx:xx:xx:xx:xx:xx**                                                         ***************************************************************java.text.ParseException: cannot read MAC address from [
    Windows IP Configuration
            Host Name . . . . . . . . . . . . : IDSMYN
            Primary Dns Suffix  . . . . . . . :
            Node Type . . . . . . . . . . . . : Hybrid
            IP Routing Enabled. . . . . . . . : No
            WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter ] using ipconfig /all     at com.sap.bc.krn.perf.PerfTimes.windowsParseMacAddress(PerfTimes.java:1173)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:289)     at com.sap.bc.krn.perf.PerfTimes.getMacAddress(PerfTimes.java:260)     at com.sap.tc.logging.UID.getnodeaddress(UID.java:303)     at com.sap.tc.logging.UID.<clinit>(UID.java:59)     at com.sap.tc.logging.GUId.toString(GUId.java:46)     at java.lang.String.valueOf(String.java:2131)     at java.lang.StringBuffer.append(StringBuffer.java:370)     at com.sap.tc.logging.ListFormatter.format(ListFormatter.java:215)     at com.sap.tc.logging.Log.writeInt(Log.java:864)     at com.sap.tc.logging.Log.writeInternalByAPI(Log.java:930)     at com.sap.tc.logging.LogController.writeToLogs(LogController.java:3160)     at com.sap.tc.logging.LogController.messageInternal(LogController.java:2280)     at com.sap.tc.logging.LogController.logInt(LogController.java:2477)     at com.sap.tc.logging.LogController.logInt(LogController.java:2432)     at com.sap.tc.logging.LogController.logIntByAPI(LogController.java:2231)     at com.sap.tc.logging.APILogger.instrumentIntByAPI(APILogger.java:59)     at com.sap.tc.logging.LogController.addLog(LogController.java:1320)     at com.sap.tc.logging.PropertiesConfigurator.configure(PropertiesConfigurator.java:1119)     at com.sap.engine.core.configuration.impl.Logging.<init>(Logging.java:54)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.init(ConfigurationManagerBootstrapImpl.java:176)     at com.sap.engine.core.configuration.bootstrap.ConfigurationManagerBootstrapImpl.<init>(ConfigurationManagerBootstrapImpl.java:60)     at com.sap.security.tools.UMConfigModel.<init>(UMConfigModel.java:79)     at com.sap.security.tools.UMConfiguratorLoad.main(UMConfiguratorLoad.java:179)     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:324)     at com.sap.engine.offline.OfflineToolStart.main(OfflineToolStart.java:81)Mar 25, 2008 11:50:53... Info: Using SID "J11" for secure storageMar 25, 2008 11:50:53... Info: Created group entry in secure storage: Group "Administrators", roles "Administrator"Mar 25, 2008 11:50:53... Info: Created group entry in secure storage: Group "Guests", roles ""Mar 25, 2008 11:50:53... Info: Created user entry in secure storage: User "Administrator", password set, parent groups "Administrators", locked "false", roles ""Mar 25, 2008 11:50:53... Info: Created user entry in secure storage: User "Guest", password not set, parent groups "Guests", locked "true", roles ""Mar 25, 2008 11:50:53... Info: Inserted administrator user data into secure storage: "Administrator"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.login.guest_user.uniqueids" to "Guest"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.persistence.data_source_configuration" to "dataSourceConfiguration_database_only.xml"Mar 25, 2008 11:50:53... Warning: UME property "ume.authenticationFactory" shall be set, but does not existMar 25, 2008 11:50:53... Info: Setting UME property "ume.logonAuthenticationFactory" to "com.sap.security.core.logon.imp.SAPJ2EEAuthenticator"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.login.context" to "ticket"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.login.context.default" to "ticket"Mar 25, 2008 11:50:53... Info: Setting UME property "login.ticket_keyalias" to "SAPLogonTicketKeypair"Mar 25, 2008 11:50:53... Info: Setting UME property "login.ticket_keystore" to "TicketKeystore"Mar 25, 2008 11:50:53... Info: Setting UME property "login.ticket_lifetime" to "8"Mar 25, 2008 11:50:53... Info: Setting UME property "ume.superadmin.activated" to "FALSE"Mar 25, 2008 11:50:53... Info: Set role references for jndi_all_operations in path "security/configurations/service.naming/security/roles/UME User Store/jndi_all_operations"Mar 25, 2008 11:50:53... Info: Set role references for jndi_get_initial_context in path "security/configurations/service.naming/security/roles/UME User Store/jndi_get_initial_context"Mar 25, 2008 11:50:53... Info: Set role references for telnet in path "security/configurations/service.telnet/security/roles/UME User Store/telnet_login"Mar 25, 2008 11:50:53... Info: Added group "Administrators" to path "security/roles/UME User Store/administrators/groups"Mar 25, 2008 11:50:53... Info: Added group "Guests" to path "security/roles/UME User Store/guests/groups"Mar 25, 2008 11:50:53... Info: Added group "Everyone" to path "security/roles/UME User Store/all/groups"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/XATopicConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/QueueConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/TopicConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Changing JMS username in path "jms_provider/DEFAULT/default/conn_factories/XAQueueConnectionFactory" to "Administrator"Mar 25, 2008 11:50:53... Info: Operation executed successfullyMar 25, 2008 11:50:53... Info: Committed changes to configuration managerMar 25, 2008 11:50:53... Info: Leaving with return code 0'.
    Anyone knows how to solve it?
    Thanks in advance.
    YiNing

    Posting this in the Netweaver Administrator section may yield better results.

  • Not able to read attribute value

    Hello Experts.
    I have child WD component say u201CBu201D,  in this created node (Name : B) with one attribute (Name : Test) and selected as interface node.In this component I am setting the value for attribute (Name : Test).
    I have added above WD component u201CBu201D  in the parent WD Component u201CAu201D as Used Webdynpro Component. So I got node (Name : B)  in the component parent  Component u201CAu201D.
    When I am trying to read attribute (Name : Test) it is coming empty in Parent Component u201CAu201D.
    I have verified all the binding and basic things  everything looks fine but I am getting empty value in Parent Component u201CAu201D.
    Thanks in Advance.
    BR
    - CW

    I  want to access Attribute 'TEST 'of the Component B in Component A. Normally it should come if node is exposed as interface BUT It is not coming.
    Carlin,  you will get the TEST attributes value in Component 'A' only if the value for 'TEST' attribute is set in Component 'B'.
    in Component A, if you try to read the value of TEST attribute before its value been set in Component 'B' then you will get empty value only.
    in some way you need to tell the component 'B' to set the value for 'TEST' Attribute before accessing it in Component A.
    one way is to expose the SET_ATTRIBUTE method and calling the same from Component A
    another way is to embed the B's interface view into A's view and then explicitly clicking on the buttons in B's interface view.
    Unless the value is not set by Component B, if you it access in Component A, you will get initial value only.
    Hope its clear.
    BR,
    Saravanan

Maybe you are looking for