How to calculate values on Hierarchy node level in WEBI

Hi Experts
I have a BI Query ,which have GL account Hierarchy(FSV) Drill down like
Revenue                            213.15
Operating Expense       28.49
Revenue and Operating Expense are two node of the hierarchy ,similarly under these sub node and GL grouping is done in FSV(Hierarchy).
I need to calculate Operating Expenses % and report look like
Revenue                             213.15
Operating Expense       28.49
Operating Expenses %       13%
i.e Operating Expences % = Operating Expences /  Revenue *100
how It will done in Webi rich Client.
Regards
Abhi

Hi,
You need to work with your Business to understand how these calculations are formulated in their definition, and how they are qualified and quantified.  Next, you have to abstract that logic, and recreate it using the reporting interface of webintelligence.  context is everything.
This is not something that can easily be explained over a text chat forum!!
I'd encourage you to work with a colleague who can deliver such reports in BObj,  or,  give it a go yourself using trial and error.
Regards,
H

Similar Messages

  • How to maintain Currencies at Hierachu Node Levels

    HI Gurus
    I have a requirement to use the Currency Translation at Hierarchy Node Level :I have to display all the Node Level Currencies at Group Currency Level AED  and Child level will have Local Currency.
    For Example : I have Plant Hierarchy 
             PLANT NODE1:   AED (Result needs to be converted in to AED)  ---> 9800 AED instead of 1000 BHD
                     CHILD1 :  500 BHD
                     CHILD2 :  500 BHD
             PLANT NODE2:  AED (Result needs to be converted in to AED) -->13250 AED  Instead of 1000 KWD
                      CHILD2 : 500 KWD
                      CHILD3:  500 KWD
    PLANT ROOT  : AED : 23050 AED should be appeared insted of * due to multiple currencies
    I have tried to created NOde variables and use the currency conversion filed but it is appearing in non editable mode.
    Could you please advise how can we achieve this
    Best Regards
    NLN

    HI Gurus
    I have a requirement to use the Currency Translation at Hierarchy Node Level :I have to display all the Node Level Currencies at Group Currency Level AED  and Child level will have Local Currency.
    For Example : I have Plant Hierarchy 
             PLANT NODE1:   AED (Result needs to be converted in to AED)  ---> 9800 AED instead of 1000 BHD
                     CHILD1 :  500 BHD
                     CHILD2 :  500 BHD
             PLANT NODE2:  AED (Result needs to be converted in to AED) -->13250 AED  Instead of 1000 KWD
                      CHILD2 : 500 KWD
                      CHILD3:  500 KWD
    PLANT ROOT  : AED : 23050 AED should be appeared insted of * due to multiple currencies
    I have tried to created NOde variables and use the currency conversion filed but it is appearing in non editable mode.
    Could you please advise how can we achieve this
    Best Regards
    NLN

  • How to get Value of tree node without Reload Page

    hi,
    i worked with apex 4.2 and i created Tree and tabular form to retrieve the date according the value of tree select node the code of tree something like this
    select case when connect_by_isleaf = 1 then 0
    when level = 1 then 1
    else -1
    end as status,
    level,
    "ENAME" as title,
    null as icon,
    "EMPNO" as value,
    null as tooltip,
    'f?p=36648:34:5234984107903::::P40_SELECTED_NODE:'||empno as link
    from "DEPT"."EMP"
    start with "MGR" is null
    connect by prior "EMPNO" = "MGR"
    order siblings by "ENAME
    and i put Selected Node Page Item: P40_SELECTED_NODE . the tree worked good and retrieve the data into tabular form according to tree node value
    my Question :
    1- i want to retrieve the data without submit the page where each time i select value from tree make page reload to update the tabular form with new value ,there is any way to pass the value of tree node to P40_SELECTED_NODE item and refresh tabular form without page reload .
    2- i want when selected from tree run page process according to value of tree node i tray to create Dynamic action with *(jquery selector : div.tree li>a)* but the Value of node incorrect.
    Regards
    Ahmed;

    look at this link
    Re: How to get Value of tree node without Reload Page ..!

  • Allow user to type in the Hierarchy node value in Hierarchy node varaible

    Hi Experts,
    We are presently on NW2004s SP8 and we are moving on to SP10.
    We got the requirement in reporting...
    1.To allow the user to type in the Hierarchy node value in Hierarchy node variable manually.
    2. When user typing the Hierarchy node value into the Variable prompt, bring subtree by default.
    By default Hierarchy node variable prompt is grayed out and the user can only select the values from Input help(F4).
    I have put forward an SAP message on this topic earlier and got a reply that the manual entry of hierarchy node is not possible and there is no work around. User needs to select it from HELP. This is because the node value must be in a certain format which the users may not know.
    I just want to know from u Experts... is there any new feature available in SP09/10 or is there any other way to satisfy this requirement ?
    Thanks in Advance.
    Regards,
    Aparna

    We are able to manually enter in a hierarchy node in the selection screen.  The selection screen is not grayed out. 
    We are currently on SPS 009, but one difference could be that we are on a Bex 3.5 Patch 10 front end.

  • How to display the Hierarchy Node Level in BEx

    Hi Folks,
    In my report I have a Hierarchy. I have to display the Node level of the Hierarchy in the output.
    For Eg:
             If I have BB under AA root node then in the output it should display Level 1 for AA and Level 2 for BB.
    Thanks in Advance.
    Regards,
    Srikanth N

    I don't think it is possble to display the hierarchy level in the report itself.
    However, if you go to properties of the characteristic where you have the hierarchy defined, there you can expand the hierarchy to a pre-defined level...I guess you know that.
    AT

  • Summary figures are not desired in queries on hierarchy node level...

    Dear Experts,
    we use a hierarchy for a characteristic in a query. It has many characteristic nodes and under them characteristic values. We do want to have displayed the summeries on char. node level, but only on char. values level. How can we do that?
    Thanks.

    Hi Joe,
    Have you got any answer or solution for this question?
    Best Wishes,
    BVC

  • Furmula displaying incorrect result at Hierarchy Node level

    Hi Experts,
    I have created query which is using simple formula as Amount = Price * Quantity.
    The query is using hierarchy on Material.
    When I drill down to the lowesr level (leaf node) the formula is showing correct result.
    But at all the node levels its displaying incorrect result.
    Ex.
    Mataterial 1  Rate = 4 Quantity = 10
    Maaterial 2   Rate = 3 Quantity = 10
    In hierarchy both the se materials are under same node (Parent node) say Node 1
    The query output is
    Material                Amount
    Node 1                140   (7 * 20)
        Material 1          40   (4 * 10)
        Material 2          30   (3 * 10)    
    It should be
    Material                Amount
    Node 1                 70
        Material 1         40
        Material 2         30
    Please suggest how can this be achieved.
    Regards
    SSS

    Hi SSS,
    Have you ben able to resolve this?? I am also facing the same issue..If you have resolved pls reply.
    Regards,
    Tapan

  • Retrieving value of a Hierarchy Node Varaible in Web Template

    Could somebody tell me, is it possible to retrieve the value of a variable when the characteristic is in free characteristics,
    if possible how to Retrieve value of a Hierarchy Node Varaible.
    -Shashi

    Hi Kim,
    you can use command for expand/collapse hierarchy nodes "SET_DRILL_STATE" for your DataProvider together with the print command "EXPORT". For a button group webitem you can build a command sequence in WAD.
    SET_DRILL_STATE
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Export Web Application
    http://help.sap.com/saphelp_nw04s/helpdata/en/44/85de4943af5919e10000000a1553f7/frameset.htm
    Regards
    Andreas

  • Filter value on hierarchy node in Business Explorer Analyser

    Hi experts,
    I'm facing an issue in BI 70 SP 10.
    I'm using Business Explorer release 3500.11.051.
    In a query, when I set a filter value on a hierarchy node, all the hierarchy is available and i can choose my node.
    Now, i want to change of filter value but only the previous selected node is available in the filter popup. I need to remove the filter value to choose a new one.
    Need your help.
    Jacques

    HI,
    The attribute is: Only Posted values for navigation.
    We didn' t change that and it worked in 3.0B
    Jacques

  • Is there any process to convert an value-based hierarchy to level-based one

    Hi Experts,
    Is there any automated or manual process to convert the value-based hierarchy to the level-based hierarchy.
    Thanks
    VR

    Using SQL's "CONNECT BY" clause and PL/SQL programming we can convert a value-based hierarchy to a level based. I have not done this myself but I am positive we can get it to work.

  • ALV Tree - how to put checkbox on the node level?

    Hello everyone!
    I have an AlvTree and I have special column named SEL. That column contains checkboxes. I want to put additional checkboxes at the node level, I need them to create select all option.
    In other words I must somehow create something similar to do_sum option. DO_SUM works for numeric columns, the sum of all rows in current node appears at the top level. So I must do the same but checkbox.
    Are there any ideas?
    Here is my code of creating the tree.
    DATA: g_tree9001 type ref to cl_gui_alv_tree_simple.
    " Here I fill fieldcat...
    create object g_tree9001
          EXPORTING
            i_parent                    = g_doc_cont
            i_node_selection_mode       = cl_gui_column_tree=>node_sel_mode_single
            i_item_selection            = 'X'
            i_no_html_header            = 'X'
            i_no_toolbar                = ''.
    call method g_tree9001->set_table_for_first_display
          EXPORTING
            i_save              = 'A'
            is_variant          = ls_variant
          CHANGING
            it_sort             = gt_sort9001
            it_outtab           = gt_tree9001
            it_fieldcatalog     = gt_treefcat9001.
    My output table gt_tree9001 has sthe following structure:
    BUKRS, KTEXT, SEL, SWERK.
    My sort table gt_sort9001 has 2 rows. Sorting by BUKRS and KTEXT.
    My tree looks like this:
    BUKRS/KTEXT  --- SEL --- SWERK
    +bukrs1 ------------------------------
      -- ktext1 ---  X --- swerk1
      -- ktext2 ---  X --- swerk2
    +bukrs2 ------------------------------
      -- ktext3 ---  X --- swerk3
    I want to get:
    BUKRS/KTEXT  --- SEL --- SWERK
    +bukrs1 ----------X----------------
      -- ktext1 ---  X --- swerk1
      -- ktext2 ---  X --- swerk2
    +bukrs2 ----------X----------------
      -- ktext3 ---  X --- swerk3
    Appreciate any help!

    Hi ,
    Check the below threads, it may give some idea to get check box in the node .
    [LINK1|Check box on left navigation of ALV tree;
    [LINK2|Checkbox ALV Tree CL_GUI_ALV_TREE;
    Regards,
    Saravana.S

  • Select Filter value for Hierarchy node taking long time

    Dear Experts,
    I am facing an issue with the Filter value selection in a BEx query and searched the forum for a solution but found none.
    I have a free characteristic with hierarchy enabled for it and the Filter value selection at Query execution has been set to 'Values in Master data table' in the query definition and in the Multiprovider as well.
    However, whenever the filter value selection is performed, the values are being read from teh underlying infocubes instead of the Master data.
    We tried checking the BIA Index for the cube as well as the InfoObject and all is fine.
    Can someone please point what might be going wrong here.
    Thanks & Regards,
    Sonal

    Could you please check as per Note 1565809 and make sure the F4 mode is really M mode in each level settings?

  • How to retrieve values from Referring Nodes

    Hi
    My sample XML nodes are, assume these to nodes are in a same XML file.
    <DestinationBandDefinitionList>
    <DestinationBandDefinition>
    <DestinationBandName>Group 1</DestinationBandName>
    <DestinationList>
    <Destination>
    <Name>India</Name>
    <DestinationIdentifierList type="prefix">
    <Value>91</Value>
    </DestinationIdentifierList>
    </Destination>
    <Destination>
    <Name>USA</Name>
    <DestinationIdentifierList type="prefix">
    <Value>1</Value>
    </DestinationIdentifierList>
    </Destination>
    </DestinationBandDefinition>
    </DestinationBandDefinitionList>
    <DestinationBandDefinitionList>
    <DestinationBandDefinition>
    <DestinationBandName>Group 2</DestinationBandName>
    <DestinationList>
    <Destination>
    <Name>UAE</Name>
    <DestinationIdentifierList type="prefix">
    <Value>971</Value>
    </DestinationIdentifierList>
    </Destination>
    <Destination>
    <Name>Russia</Name>
    <DestinationIdentifierList type="prefix">
    <Value>7</Value>
    </DestinationIdentifierList>
    </Destination>
    </DestinationBandDefinition>
    </DestinationBandDefinitionList>
    <TariffList>
    <DestinationBand>
    <DestinationBandName>Group 1</DestinationBandName>
    <RatingIntervalName>standard1</RatingIntervalName>
    <Rate taxIncluded="false" type="N">3.50</Rate>
    </RateSpecification>
    <RateSpecification>
    <RatingIntervalName>standard2</RatingIntervalName>
    <Rate taxIncluded="false" type="N">3.50</Rate>
    </RateSpecification>
    </RateSpecificationList>
    </DestinationBand>
    What is the statement to query the Taxincluded value of the Group, where USA belongs.
    My DB is Oracle 10g 2.0.1.0
    Thanks in advance
    Rizly

    SQL> with XML as
      2  (
      3    select XMLTYPE(
      4  '<Root>
      5     <DestinationBandDefinitionList>
      6             <DestinationBandDefinition>
      7                     <DestinationBandName>Group 1</DestinationBandName>
      8                     <DestinationList>
      9                             <Destination>
    10                                     <Name>India</Name>
    11                                     <DestinationIdentifierList type="prefix">
    12                                             <Value>91</Value>
    13                                     </DestinationIdentifierList>
    14                             </Destination>
    15                             <Destination>
    16                                     <Name>USA</Name>
    17                                     <DestinationIdentifierList type="prefix">
    18                                             <Value>1</Value>
    19                                     </DestinationIdentifierList>
    20                             </Destination>
    21                     </DestinationList>
    22             </DestinationBandDefinition>
    23     </DestinationBandDefinitionList>
    24     <DestinationBandDefinitionList>
    25             <DestinationBandDefinition>
    26                     <DestinationBandName>Group 2</DestinationBandName>
    27                     <DestinationList>
    28                             <Destination>
    29                                     <Name>UAE</Name>
    30                                     <DestinationIdentifierList type="prefix">
    31                                             <Value>971</Value>
    32                                     </DestinationIdentifierList>
    33                             </Destination>
    34                             <Destination>
    35                                     <Name>Russia</Name>
    36                                     <DestinationIdentifierList type="prefix">
    37                                             <Value>7</Value>
    38                                     </DestinationIdentifierList>
    39                             </Destination>
    40                     </DestinationList>
    41             </DestinationBandDefinition>
    42     </DestinationBandDefinitionList>
    43     <TariffList>
    44             <DestinationBand>
    45                     <DestinationBandName>Group 1</DestinationBandName>
    46                     <RatingIntervalName>standard1</RatingIntervalName>
    47                     <Rate taxIncluded="false" type="N">3.50</Rate>
    48                     <RateSpecificationList>
    49                             <RateSpecification>
    50                                     <RatingIntervalName>standard2</RatingIntervalName>
    51                                     <Rate taxIncluded="false" type="N">3.50</Rate>
    52                             </RateSpecification>
    53                     </RateSpecificationList>
    54             </DestinationBand>
    55     </TariffList>
    56  </Root>') XMLDOC
    57    from dual
    58  )
    59  select xmlquery
    60         (
    61           '$doc/Root/TariffList/DestinationBand[DestinationBandName/text() = $doc/Root/DestinationBandDefinitionList/De
    BandDefinition[DestinationList/Destination[Name="USA"]]/DestinationBandName/text()]/Rate/@taxIncluded'
    62           passing XMLDOC as "doc" returning content
    63         )
    64    from XML;
    false
    Elapsed: 00:00:00.09
    Execution Plan
    Plan hash value: 2594004460
    | Id  | Operation                            | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                     |                        |     1 |       |     2   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE                      |                        |     1 |     2 |            |       |
    |*  2 |   FILTER                             |                        |       |       |            |       |
    |   3 |    COLLECTION ITERATOR PICKLER FETCH | XMLSEQUENCEFROMXMLTYPE |       |       |            |       |
    |   4 |    NESTED LOOPS                      |                        |   667K|  2606K|   221K  (1)| 00:44:24 |
    |   5 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
    |*  6 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
    |   7 |  FAST DUAL                           |                        |     1 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter( EXISTS (SELECT 0 FROM TABLE() "KOKBF$",TABLE() "KOKBF$" WHERE
                  SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ_UPKXML2SQL(SY
                  S_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)))
       6 - filter(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ
                  _UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0))
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>
    SQL> set heading on
    SQL> with XML as
      2  (
      3    select XMLTYPE(
      4  '<Root>
      5     <DestinationBandDefinitionList>
      6             <DestinationBandDefinition>
      7                     <DestinationBandName>Group 1</DestinationBandName>
      8                     <DestinationList>
      9                             <Destination>
    10                                     <Name>India</Name>
    11                                     <DestinationIdentifierList type="prefix">
    12                                             <Value>91</Value>
    13                                     </DestinationIdentifierList>
    14                             </Destination>
    15                             <Destination>
    16                                     <Name>USA</Name>
    17                                     <DestinationIdentifierList type="prefix">
    18                                             <Value>1</Value>
    19                                     </DestinationIdentifierList>
    20                             </Destination>
    21                     </DestinationList>
    22             </DestinationBandDefinition>
    23     </DestinationBandDefinitionList>
    24     <DestinationBandDefinitionList>
    25             <DestinationBandDefinition>
    26                     <DestinationBandName>Group 2</DestinationBandName>
    27                     <DestinationList>
    28                             <Destination>
    29                                     <Name>UAE</Name>
    30                                     <DestinationIdentifierList type="prefix">
    31                                             <Value>971</Value>
    32                                     </DestinationIdentifierList>
    33                             </Destination>
    34                             <Destination>
    35                                     <Name>Russia</Name>
    36                                     <DestinationIdentifierList type="prefix">
    37                                             <Value>7</Value>
    38                                     </DestinationIdentifierList>
    39                             </Destination>
    40                     </DestinationList>
    41             </DestinationBandDefinition>
    42     </DestinationBandDefinitionList>
    43     <TariffList>
    44             <DestinationBand>
    45                     <DestinationBandName>Group 1</DestinationBandName>
    46                     <RatingIntervalName>standard1</RatingIntervalName>
    47                     <Rate taxIncluded="false" type="N">3.50</Rate>
    48                     <RateSpecificationList>
    49                             <RateSpecification>
    50                                     <RatingIntervalName>standard2</RatingIntervalName>
    51                                     <Rate taxIncluded="false" type="N">3.50</Rate>
    52                             </RateSpecification>
    53                     </RateSpecificationList>
    54             </DestinationBand>
    55     </TariffList>
    56  </Root>') XMLDOC
    57    from dual
    58  )
    59  select xmlquery
    60         (
    61           '$doc/Root/TariffList/DestinationBand[DestinationBandName/text() = $doc/Root/DestinationBandDefinitionList/De
    BandDefinition[DestinationList/Destination[Name="USA"]]/DestinationBandName/text()]/Rate/@taxIncluded'
    62           passing XMLDOC as "doc" returning content
    63         ) RESULT
    64    from XML;
    false
    Elapsed: 00:00:00.10
    Execution Plan
    Plan hash value: 2594004460
    | Id  | Operation                            | Name                   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT                     |                        |     1 |       |     2   (0)| 00:00:01 |
    |   1 |  SORT AGGREGATE                      |                        |     1 |     2 |            |       |
    |*  2 |   FILTER                             |                        |       |       |            |       |
    |   3 |    COLLECTION ITERATOR PICKLER FETCH | XMLSEQUENCEFROMXMLTYPE |       |       |            |       |
    |   4 |    NESTED LOOPS                      |                        |   667K|  2606K|   221K  (1)| 00:44:24 |
    |   5 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
    |*  6 |     COLLECTION ITERATOR PICKLER FETCH| XQSEQUENCEFROMXMLTYPE  |       |       |            |       |
    |   7 |  FAST DUAL                           |                        |     1 |       |     2   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - filter( EXISTS (SELECT 0 FROM TABLE() "KOKBF$",TABLE() "KOKBF$" WHERE
                  SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ_UPKXML2SQL(SY
                  S_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)))
       6 - filter(SYS_XQ_UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0)=SYS_XQ
                  _UPKXML2SQL(SYS_XQEXVAL(SYS_XQEXTRACT(VALUE(KOKBF$),'/text()'),1,50),50,1,0))
    SQL>
    SQL>
    SQL>
    SQL>
    SQL>

  • Urgent: How to get value from Element Node?

    Hi All,
    I have an xml like below:
    <?xml version="1.0"?>     
    <Accounts>
    <Account rowid="1">
    <Account_Id>1</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>SB</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    <Account rowid="2">
    <Account_Id>2</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>CD</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    </Accounts>
    I am trying to get the value in the Account_Id element, but I am getting null everytime. Here is my code:
    import com.sun.org.apache.xerces.internal.impl.xs.dom.DOMParser;
    DOMParser parser = new DOMParser();
    parser.parse("D:\\Temp\\PCORDBMS\\"+tableName+".xml");
    Document doc = parser.getDocument();
    NodeList nodes = doc.getElementsByTagName("Account");
    for(int i=0;i<nodes.getLength();i++) {
    Node fc=nodes.item(i).getFirstChild();
    System.out.println(fc.getNodeValue());
    I think, since fc node is of the type Element - getNodeValue() is not returning the value. I also tried getting child nodes, getting attributes for fc & then getNodeValue.
    Am I missing something? Appreciate your help.
    Thanks,
    Niranjan

    Hi Niranjan,
    I used the JAXP DocumentBuilder and DocumentBuilderFactory classes. I use JSE 5.
    Here's the complete code that works for me:
    package com.trfsol.domtester;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class DomTester {
         * @param args
         public static void main(String[] args) {
              String filename = "C:\\Java workspaces\\Eclipse\\Workspace\\Test\\test.xml";
              try {
                   // Parse XML file
                   DocumentBuilderFactory factory =
                        DocumentBuilderFactory.newInstance();
                   DocumentBuilder parser = factory.newDocumentBuilder();
                   Document document = parser.parse(filename);
                   // Get all "Account" nodes
                   NodeList accountNodes = document.getElementsByTagName("Account");
                   // Iterate over nodes
                   for (int index = 0; index < accountNodes.getLength(); index ++) {
                        NodeList childNodes = accountNodes.item(index).getChildNodes();
                        for (int subIndex = 0; subIndex < childNodes.getLength(); subIndex ++) {
                             Node childNode = childNodes.item(subIndex);
                             System.out.println(childNode.getTextContent());
              catch (Exception e) {
                   System.err.println("Exception: " + e.getMessage());
    Regards, Ronald

  • How to edit values in a node of cardinality 0...n at runtime.

    Hi experts,
    I am trying to reset value of an attribute of a node of cardinality 0...n at runtime. I am getting data in this node from a BAPI. I want to set one column's value to zero on display in the table created from this node. Please suggest what to do.
    Thanks & Regards.
    Vaibhav Tiwari.

    Try something like this:
        DATA lo_nd_sflight TYPE REF TO if_wd_context_node.
        DATA lt_sflight TYPE wd_this->elements_sflight.
        FIELD-SYMBOLS: <fs_sflight> TYPE wd_this->element_sflight.
    '*   navigate from <CONTEXT> to <SFLIGHT> via lead selection
        lo_nd_sflight = wd_context->get_child_node( name = wd_this->wdctx_sflight ).
    '*   get all declared attributes
        lo_nd_sflight->get_static_attributes_table(
          IMPORTING
            table = lt_sflight ).
        LOOP AT lt_sflight ASSIGNING <fs_sflight>.
    '*     Here do something like <fs_sflight>-fldate = syst-datum.     
        ENDLOOP.
        lo_nd_sflight->bind_table( lt_sflight ).

Maybe you are looking for

  • Hp mini 110-1100 ram

    I was wondering if the ram can be expanded to 2 gigs

  • Issue with Acrobat 10.1.2 and Windows 7 64-bit Preview Handler

    Hi. I work in an enterprise environment that is currently migrating to  64-bit Windows 7. The only version of Acrobat we have approved for Windows 7 is 10.1.2. We're seeing an issue with this version that causes the preview handler to not work. The p

  • Swatch reset when quitting CP

    1) I customized my swatch in CP8 - added about 20 colors that are specific to a client's branding. 2) I exit out of CP8 3) I open CP8 ==> The swatch no longer has my custom colors. I understand that I can Save my custom colors out to a .ase file and

  • BizTalk 2010 Load Balancing Not So Balanced

    Ok here's our scenario. 1. One Orchestration running under HostInstanceProcess on 3 servers in the same Groupe using 3 different domain accounts 2. That Orchestration has a reference to Utilities dll, which in turns calls a stored procedure using ADO

  • Moving Two Windows Together

    Hello, A friend asked me this, and I couldn't come up with a reasonable answer on the spot. Is there a way to keep two windows (JFrames, JWindows, whatever) in the same location relative to one another? As in, if I move Window A, Window B comes along