Value not getting resetted for Node inside Node

Hi All
I have created the node structure as below
A (Value Node)
|_ID (value attribute)
|_B (Value Node)
    |__Val (Value Attribute for Node B)
Now the code is as follows
for(i = 0 ; i < n ; i++ ){
Ele Aele = createElement
Aele.setID("1")    
nodeA.addElement(Aele)
for(j = 0 ; j < n ; j++ ){
    Ele Bele = createElement
     Bele.setVal("Val1")
     nodeB.addElement(Bele)
Now i want for ID - 1 , Val - a,b,c
when sec time loop iterates
ID - 2 , Val - d,e,f
But the problem is that
For ID - 1 , i am getting Val - a,b,c,d,e,f
when sec time loop iterates
ID - 2 , Val - a,b,c,d,e,f
I hope you all can get what my problem is..
Kindly comment and help me out
Regards
Sonal Mangla
Message was edited by:
        Sonal Mangla

Hi ,
There are a lot similar posts in forum.
You can also search help.sap.
Try this link. They have explained creation of similar context structure.
http://help.sap.com/saphelp_nw04/helpdata/en/13/4cde139306304480e89d815ffcf891/frameset.htm
Regards
Bharathwaj

Similar Messages

  • Values not getting displayed for members which doesnt have parents

    Hi
    I created a product dimension with 4 levels .For members which doesnt have parents,data is not getting displayed in JavaClient.
    The values for members which doesnt have parents are getting displayed in the view created for the measures which are dimensioned by Product .I mapped the same view in the CWM2 work space ,but value is not getting displayed for members which doesnt have parents ,but values are getting displayed for members which have parents for measures.
    Is it a bug , we were able to do it in Express ..
    Can anybody help us in doing this.??
    Thnx in Advance......

    Hi,
    This assumes that the members which do not have parents are mapped to the top level in the hierarchy. If they are at a level below the top level then they are not part of the hierarchy and therefore would not be displayed. So this sounds like expected behaviour.
    Hope this helps
    BI Beans PM Team
    Oracle

  • FailoverCount is not getting reset for QuorumResource in Windows2012 R2 failover clusters

    Hi,
    I have two-node failover cluster on windows server 2012 R2 with third
    party resource as quorum with typeNode and Disk Majority.
    on fault of quorum resource FOC is not failing over "Cluster Group" to other cluster node. Following log lines are seen in cluster log.
    Here is cluster log from
    fail node.
    00008bc.000014d8::2013/12/06-11:45:49.591
    INFO  [RCM] rcm::RcmGroup::Failover: (Cluster Group)
    000008bc.000014d8::2013/12/06-11:45:49.592
    WARN  [RCM] Not failing over group Cluster Group, failoverCount 2,
    failoverThresholdSetting 4294967295, lastFailover 2013/12/06-03:39:54.190
    000008bc.000014d8::2013/12/06-11:45:49.592
    INFO  [RCM] Will retry online from long delay restart of quoDG in 3600000
    milliseconds.
     Quorum
    resource failover policy’s Maximum failover count is set to one.
    000008bc.000014d8::2013/12/06-11:45:49.591
    INFO  [RCM] resource quoDG: failure count: 1, restartAction: 2
    persistentState: 1.
    Is there a way to reset this FailoverCount ? When does FOC increments and resets this failovercount for a resource ?
    Thanks in advance
    Rakesh
    Rakesh Agrawal

    It's actually a failure threshold, not a failover count.  You can get more information here on how to modify it. 
    http://support.microsoft.com/kb/197047
    Basically, the clustering software does not want to failover a resource unnecessarily, as that can cause brief outages.  So it has a threshold on resource groups.  It also has a defined period in which this threshold is measured.  So if a
    resource group fails multiple times within the defined period, it will simply restart on the current node if the threshold count has not been reached.  If the threshold count has been reached during the time period, the resource group will be failed over
    to another node.
    .:|:.:|:. tim

  • Usage value not getting calculated for equipment PRTs in production order

    Dear PP Gurus,
    I have assigned a PRT equipment to pouring production routing.
    I have assigned the followings:
              1. control key as "1" in the operation.
              2. usage value as 1 ea in standard value in the operation
              3. Formula maintained in the operation as ZAPF02= SAP_09 * SAP_16
                              SAP_09 (Operation quantity) -> general operation value , field name- MGVRG
                              SAP_16(PRT std value) -->  Value from PRT allocation , field name- EWVGW
    The production order is calculating the planned consumption of PRT usage, but when I confirm the operation, it is not calculating the actual usage usage value. Actual usage value should be number of moulds confirmed in the molding operation confirmation.
    Kindly help me urgently.
    Regards
    Amar

    Hi,
    I got the issue.
    In IE02- equipment measuring point change, we need to assign the same in the PRT screen also.
    But now a new error coming-
    Document 3 already entered for the measurement time specified
    Message no. IR027
    Diagnosis
    You are trying to enter a measurement document for a measuring point that has been defined as a counter.
    However, a measurement document that has not been reversed already exists at the measurement time you have entered.
    The system must be able to determine a unique sequence for the measurement documents to be able to recalculate the counter readings if necessary.
    System Response
    The system will not allow the existence of two measurement documents for a measuring point where the measurement times are the same to the exact second. The system must be able to order the measurement documents in a sequence if it has to to recalculate the counter readings.
    Procedure
    Check your entry.

  • Value property not getting updated for edit on firefox

    Der Sir/Mam,
    I am a selenium tester and my test fails on moxila due to following issue,
    Value property not getting updated for edit on firefox thats why failing the script while identifying the object from xPath.
    The test case run fine on IE.
    I want to identify the object by its xPath saying value = "Some value"
    I can not check thousands of object by looking in to its value attribute property.
    Thanks in advance,
    Rohit

    I'm not sure whether we can solve your question here. We are mostly supporting the released version of Firefox (Firefox 20) for regular use rather than old versions in a test harness. You might need to reach out to the [https://groups.google.com/forum/?fromgroups#!forum/selenium-users Selenium Users Group] if you can't replicate the problem in Firefox 20.

  • Node inside Node

    Hi,
        I am facing a problem in getting and setting the node from webservice node. I have two nodes of the following structure.
    <i>MainNode</i>   (Model node)
    <i>SubNode</i> (Model node under MainNode)
    <i>ItemNo</i> (Attribute under SubNode)
    <i>lotNo</i>         (Attribute under MainNode)
    <i>quantity </i>     (Attribute under MainNode)
    Now I have a table which has 3 columns. 2 are lotNo and quantity whose values are retrieved from MainNode. The third column is a button on click of which I get a popup displaying a table of ItemNo from SubNode. For each lotNO, I should get different sets of ItemNo values. I am confused on how to get values for ItemNo. Whichever row's ItemNo button I click on, I get same set of ItemNo for different lotNo also. Kindly guide me the correct way to get the ItemNo from the structure above ( How to set vaues from node inside node).
    Regards,
    Harini S

    Hai Harini,
    u dont need child element, if leadsection was set then automatically child SubNode leadselection also changes.
    wdcontext.nodeMainNode().setLeadSelection(row);
    // row is an integer value, which represent the on which row( or node element)  selected in the MainNode
    int size=wdcontext.nodeSubNode().size;
    for(int i=0;i<size;i++){
           retrieve all the ItemNo here
       //   String itemNo=wdcontext.nodeSubNode().getSubNodeElementAt(i).getItemNo()
        // like this u will the different ItemNos
    Regards
    Siva Sankar N

  • How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

    How do I move files from my iMac to my Airport without getting 'AirPort can not be modified' message. File sharing is enabled and I'm not getting asked for a password. Thanks

    What OS are you running.. this is usually only a problem in Mavericks.
    If so I recommend you mount the hard disk manually..
    Use Go, Connect to server.
    Type in the IP address if static.. eg
    AFP://10.0.1.1
    Or the name.. but you will have issues unless the name is short, no spaces and pure alphanumeric.. if you are using bad names.. fix it by a full factory reset in airport utility and give it all names that comply to the above.
    Type in
    AFP://TCname.local Where TCname is replaced with the actual name.
    You will be asked for the password the first time which is public unless you changed it.. please remember to save this in the keychain.
    Copy files then to a new directory you create on the TC.. do not place files inside the TM sparsebundle. Nor directly under the main directory.

  • I am not getting the Portal Content inside the System Landscape

    Hi,
    I am not getting the Portal Content inside the System Administrations-> System Configuration->System Landscape. This is not visible. I am SAP NetWeaver 7.0.
    What could be the possible reasons?
    Regards
    Kaushik Banerjee

    Kaushik,
    do you have the full tree in Contentadmin? do you have no entry in the systemadmin? or is it just empty in the lower nodes? this would be normal, you don't see the content in systemadmin, just the defined systems.
    kr, achim

  • VALUES NOT GETTING ADDED IN JAVA DICTIONARY

    HIII ,
    AM DOING AN APPLICATION IN WHICH I AM TRYING TO INSERT VALUES IN A TABLE(CREATED THRU JAVA DICTIONARY), USING EJBS(ENTITY BEAN AND SESSION BEAN) AND COMMAND BEAN..AND WEBDYNPRO....
        AFTER DEPLOYMENT EVRYTHNG IS RUNNING FINE BUT VALUES NOT GETTING ADDED IN THE TABLE...
    THE CODE FOR THE "ADD" BUTTON IS :
    wdContext.currentEmp_cmdElement().modelObject().add(wdContext.currentEmp_cmdElement().getEmpno(),wdContext.currentEmp_cmdElement().getEmpname());
    THE CODE FOR ADD function IN COMMANDBEAN IS
    public void add(String empno,String empname){
              try {
                     local.createdata(empno,empname);
                   } catch (Exception e) {
                        e.printStackTrace();}
    PLZZ DO HELP OUT!!!

    The message in simple English just means that "You are doing something really bad" !!! It is absolutely not the communication problem, but understanding problem.
    Though you may be executing the same function using SE37 or in the webshop application through JCo, the runtime context is different and without knowing what exactly your Z rfc is doing, it is very difficult to help. To start with, the userid - that is who is running the RFC is different in both situations. In SE37, it is the logon user and in the web, depending upon whether the connection is stateless or stateful, it could be the anonymous ICSS user or the logged in user. Here again, if you have used UME, it is the user id and if you have used ALIAS user, then it is the alias user id. This is just an example. Your runtime context can be different due to many other reasons too.
    So, to make this simpler - what is that you are trying to do?
    BTW, try not to create multiple threads for the same issue..

  • Open Sales Order values not getting updated after run RVKRED77 & RVKRED88

    Hiiii,
    In Production Server. We run the reports RVKRED77 & RVKRED88. Credit info structure and and Open Sales Order values not getting updated. In FD32, Status - Sales value it showing '0". At the time of creating Sales Order Dynamic Credit check not happening coz of Tables S066 not updating. Please provide me Solution.
    Best Regards,
    Sridhar . P

    Dear Heagal,
    I followed your suggestions and implemented in the Development and moved the changes in to Quality Server. I tested it thoroughly by creating New Customer and maintained Credit Limit. I come to know that Problem is in all Servers. I made 3 changes.
    1. In Pricing Procedure Sub Total A it was not maintained against Net value. I placed it.
    2. Removed Credit groups for Delivery Type.
    3. In OVA8 i maintained Max. Doc Value :99,999,999.00 before it was with 1.00
    I checked the OMO1 Settings it was Asynchronous. As SAP Notes Suggesting to use Synchronous but here it's a client setting. So, It's Can't possible to change. Changes will affect other Company Codes.
    Tested both in DVP and QTY Dynamic Credit Check is working Perfectly and Status in FD33 Sales Value field getting update.
    If i move these changes in to Production, Will i need to run the reports again or not? How it will affect on Old Cusomer Billing and  Credit Limit data. For few of the Customers the Credit Limit data it was exceeded. Please provide me advice. The issue need to be Solved immediately.
    Best Regards,
    Sridhar

  • Not getting data for 1 field in ODS

    Hi BW Experts,
    I am loading the data from R/3 to BW.I have loaded the data through PSA.The data is available in New data field. After activating the ODS, for 1 field the data is not uploaded and in the report, the values are not displaying.
    I have checked the Transformations also. it is mapped correctly.But still i am not getting data for that field.
    Thanks,
    Siva.

    Thanks for the Update
    1. What is your Service Pack Level?
      Service Pack is 0016
    2. Are you able to see the data in PSA?
       Yes I can see the data in PSA
    3. After load, are you able to see the value in New table?
       Yes i can able to see the data in New data table
    4. Anywhere, are you doing the SORTING of Data Package?
       No I have not sorted the data Package.I have not written any coding on this
    I have not written any coding in transformation also.
    Thanks,
    Siva.

  • Planned order not getting generated for FG

    Dear Experts,
    Planned orders not getting generated for the Finished Goods - X which is having MRP Type M0 - MPS fixing type strategy group 20 which is copied fron another FG - Y , its a new product and production plan has been updated through MC88 - Rough cut planning but the planned orders are not getting generated.
    And for the material valid production version exists with selection method 3 and individullcollective as 1.
    Please let me know what might be the possibalities and what all the key fields i need to check.
    Thanks & Regards,
    Sampath
    Edited by: sampath s on Jul 13, 2011 11:31 AM

    Dear,
    In general MPS is run for High value items ( if you use like Gold , Platimum or A class items. ).
    Always only single level is used for Explosion and planning. then only you can analyse the requirements at each stage before procurement.
    Otherwise if you run MPS to multi level, Bottom most high value will be procured without any notice to authorities. Even you may cancel the process in mid way. At that time what will happen to the procured high value material.
    So for that purpose only single item single level MPS concept is evolved.
    Fo that you run MPS at single level so that only for the first level MPS will be carried out.
    Check and revert back.\
    Regards,
    Alok Tiwari

  • Java.lang.Exception: Could not get name for DC project

    Hello Experts,
    We have a code which is downloaded from SVN repository.
    I have imported the code from my desktop into NWDS and when I try to deploy it throws,
    java.lang.Exception: Could not get name for DC project
    I have referred few threads in SCN and solution suggested is to change the workspace and create a new DC & copy the _comp from old DC.
    I tried the above solution but there are lot of build errors as we have few RFC models and it is throwing build errors for missing model reference.
    Kindly help me on how to fix the error.
    Thanks, Swarnaprakash

    Dear Swarnaprakash,
    The Web Dynpro DCs Import C:\----\user\.dtc\LocalDevelopment\DCs\sap.com\test and
    the related package for DC  is missing once check it after try to import.
    Depending on which Java compiler preferences are set, you may see some
    warnings in the "Task" view after importing the project. If the severity level for problems of type "Unused imports" (set in Preferences – Java – Compiler) has the value "Warning", the compiler will issue a warning for unused import references. Ignore these warnings!
    Still You getting means delete your .metadata before take the backup.after open the NWDS again it will set new configurations in your system.
    Thanks & Regards,
    Durga Rao.

  • CDSSO Invalid Agent: Could not get agent for realm

    Hi,
    This post follows on from a previous post (http://forum.java.sun.com/thread.jspa?threadID=5276012) but describes a subsequent problem.
    I'm getting the following error in my amCDC log. I believe it is related to the post (http://forum.java.sun.com/thread.jspa?threadID=5162908&messageID=9623898)
    03/18/2008 10:17:58:826 AM GMT: Thread[httpSSLWorkerThread-443-0,10,Grizzly]
    CDCServlet.doGetPost: Query String received: goto=http%3A%2F%2Fbonecrusher.test.local%3A80%2F%3FsunwMethod%3DGET&RequestID=20798&MajorVersion=1&MinorVersion=0&ProviderID=http%3A%2F%2Fbonecrusher.test.local%3A80%2Famagent&IssueInstant=2008-03-18T10%3A18%3A09Z
    03/18/2008 10:17:58:826 AM GMT: Thread[httpSSLWorkerThread-443-0,10,Grizzly]
    SSOException caught: com.iplanet.sso.SSOException: Invalid session ID.
    03/18/2008 10:17:59:091 AM GMT: Thread[httpSSLWorkerThread-443-0,10,Grizzly]
    Forwarding for authentication to: /UI/Login?goto=%2Famserver%2Fcdcservlet%3FTARGET%3Dhttp%253A%252F%252Fbonecrusher.test.local%253A80%252F%253FsunwMethod%253DGET%26RequestID%3D20798%26MajorVersion%3D1%26MinorVersion%3D0%26ProviderID%3Dhttp%253A%252F%252Fbonecrusher.test.local%253A80%252Famagent%26IssueInstant%3D2008-03-18T10%253A18%253A09Z
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDCServlet.doGetPost: Query String received: TARGET=http%3A%2F%2Fbonecrusher.test.local%3A80%2F%3FsunwMethod%3DGET&RequestID=20798&MajorVersion=1&MinorVersion=0&ProviderID=http%3A%2F%2Fbonecrusher.test.local%3A80%2Famagent&IssueInstant=2008-03-18T10%3A18%3A09Z
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    WARNING: Advice List is : null
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDCServlet.doGetPost: targetURL = http://bonecrusher.test.local:80/?sunwMethod=GET
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDCServlet.doGetPost: gotoURL = http://bonecrusher.test.local:80/?sunwMethod=GET
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDC Servlet: Directory matches for http://bonecrusher.test.local:80/ is:{AMIdentity object: id=TestCDSSOAgent,ou=agent,dc=test-sun,dc=local={objectclass=[person, inetorgperson, organizationalperson, inetuser, top], sunIdentityServerDeviceKeyValue=[agentRootURL=http://bonecrusher.test.local:80/, agentRootURL=http://bonecrusher.test.local/], sunIdentityServerDeviceStatus=[Active], userpassword=[Q8Ea8sKa1CMyUaxgkqhC0PVeKV8=]}}
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    CDC Servlet: Restriction string for: http://bonecrusher.test.local:80/ is: id=TestCDSSOAgent,ou=agent,dc=test-sun,dc=local [bonecrusher.test.local, bonecrusher.test.local]
    03/18/2008 10:18:04:482 AM GMT: Thread[httpSSLWorkerThread-443-2,10,Grizzly]
    ERROR: CDCServlet.doGetPost:Exception occured
    java.lang.Exception: Invalid Agent: Could not get agent for the realm
    at com.iplanet.services.cdc.LdapSPValidator.validateAndGetRestriction(LdapSPValidator.java:200)
    at com.iplanet.services.cdc.CDCServlet.redirectWithAuthNResponse(CDCServlet.java:303)
    at com.iplanet.services.cdc.CDCServlet.doGetPost(CDCServlet.java:262)
    at com.iplanet.services.cdc.CDCServlet.doGet(CDCServlet.java:208)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:718)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
    Based on the previous post I believe it has something to do with the validity checks performed by the CDC. The post describes 3 checks and I believe my solution is failing one of these, however I am not sure which.
    As far as I understand it my logs above demonstrate that the agentRootURL is correctly set, but I'm not sure what other values are needed.
    Any advice would be greatly received.
    R

    Quick follow up :)
    This problem was caused by the Access Manager instance not being able to resolve the IP address for 'bonecrusher.test.local'
    After I added the entry for this into the hosts file everything worked.
    R

  • Iam not getting output for inner join where condition

    the condition i have give
    TYPES:BEGIN OF TY_TAB,
          WERKS TYPE WERKS_D,
          LGORT TYPE LGORT_D,
          LGOBE TYPE LGOBE,
          NAME1 TYPE NAME1,
          END OF TY_TAB.
    DATA WA_TAB TYPE TY_TAB.
    DATA IT_TAB TYPE TABLE OF TY_TAB.
    SELECT  T001L~WERKS
            T001L~LGORT
            T001L~LGOBE
            T001W~NAME1
            INTO TABLE IT_TAB FROM T001L INNER JOIN T001W ON T001LWERKS = T001WWERKS
           WHERE  T001L~WERKS = 'amjt' and
               T001L~WERKS = 'bimi' and
               T001L~WERKS = 'biml'.
    LOOP AT IT_TAB INTO WA_TAB.
      WRITE: / WA_TAB-WERKS,WA_TAB-LGORT,WA_TAB-LGOBE,WA_TAB-NAME1.
      ENDLOOP.
    iam not getting output for this

    Well, re-read carefully your code
    WHERE T001L~WERKS = 'amjt' and
    T001L~WERKS = 'bimi' and
    T001L~WERKS = 'biml'
    - WERKS cannot be simultaneously equal to three different values, replace AND with OR ([Boolean algebra|http://en.wikipedia.org/wiki/Boolean_algebra])
    - WERKS domain does not allow lowercase, so use uppercase ([Creating Domains|http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21edf2446011d189700000e8322d00/frameset.htm])
    Regards,
    Raymond

Maybe you are looking for