Printing fields at a higher level in the XML hierarchy

I have XML data that looks like this. I am subtotaling by company, by fiscal_year, by method and by category. I am printing detail for each asset (G_ASSETS). I want to print FISCAL_YEAR_ADDED, DEPRN_METHOD and CATEGORY on each of the detail asset lines. After the "for each: G_ASSETS", how do I refer to these fields that are higher up in the hierarchy?
<FAS771>
<LIST_G_SETUP>
<G_SETUP>
<CATEGORY_FLEX_STRUCTURE>101</CATEGORY_FLEX_STRUCTURE>
<START_PERIOD_COUNTER>24097</START_PERIOD_COUNTER>
<END_PERIOD_COUNTER>24108</END_PERIOD_COUNTER>
<LIST_G_COMPANY>
<G_COMPANY>
<COMPANY_CODE>01</COMPANY_CODE>
<LIST_G_FISCAL_YEAR>
<G_FISCAL_YEAR>
<FISCAL_YEAR_ADDED>2008</FISCAL_YEAR_ADDED>
<LIST_G_METHOD>
<G_METHOD>
<DEPRN_METHOD>MACRS STL HY</DEPRN_METHOD>
<LIST_G_CATEGORY>
<G_CATEGORY>
<CATEGORY>BUILDINGS
20 YR</CATEGORY>
<LIST_G_ASSETS>
<G_ASSETS>
<SPECIAL_DEPRN>0</SPECIAL_DEPRN>
<ASSET_NUMBER>10160 - Building Expansion</ASSET_NUMBER>
<ASSET_ID>10160</ASSET_ID>
<COST>1004940.72</COST>
<PRORATE_CONVENTION>KN HALF YR</PRORATE_CONVENTION>
<YTD_DEPRN>25123.56</YTD_DEPRN>
<LIFE_IN_MONTHS>240</LIFE_IN_MONTHS>
<ADJUSTED_RATE></ADJUSTED_RATE>
<BONUS_RATE>0</BONUS_RATE>
<PRODUCTION></PRODUCTION>
<LIST_G_ADJUST>
</LIST_G_ADJUST>
<BAL_SEG>01</BAL_SEG>
<C_COST_DSP> 1,004,940.72 </C_COST_DSP>
<C_YTD_DSP> 25,123.56 </C_YTD_DSP>
<D_LIFE> 20.00</D_LIFE>
<YTD_ADJ>0</YTD_ADJ>
<YTD>25123.56</YTD>
<C_SPECIAL_DEPRN> 0.00 </C_SPECIAL_DEPRN>
<SPECIAL>0</SPECIAL>
</G_ASSETS>

Thank you so much! I used the ../../ reference and it worked. Did you find this information in an XML Publisher manual somewhere? I couldn't find any explanation of how to do this in any of the manuals I have.

Similar Messages

  • Item already defined at a high level in the product tree

    Hi experts,
    when I add a BOM into the system, says A is consisted of B and C, I click the button to add this BOM, but system tell me an error "Item already defined at a high level in the product tree.  Row no. 2".
    Row no 2 is item C, I check all my BOM, C is not contained in any BOM, and B is in another BOM but that BOM didn't contain C or A.
    A is in a BOM, but in that BOM, there is no C. It's wreid why C already defined at a high level in the product tree. Thanks...

    Hi
    Please wite following the querry and check
    SELECT T0.[Code], T1.[Code] FROM OITT T0  INNER JOIN ITT1 T1 ON T0.Code = T1.Father WHERE T0.[Code] =[%0]
    Ashish Gupte

  • Displaying different levels of the same hierarchy in the different columns

    I have a parent child hierarchy and wish to display different levels of the hierarchy in different columns of the resultset eg
    level 1 level 2
    Europe UK
    Europe France
    N America US
    N America Canada
    However writing MDX like the below
    select
    {} on 0,
    ([Geo].[level 1],[Geo].Level 2] on 1
    from cube
    results in the error "The [Geo] hierarchy is used more than once in the crossjoin
    How can I get around this??

    Hi,
    You can make use of CrossJoin function in MDX, I give a sample MDX based on the AdventureWorks database:
    select {[Measures].[Reseller Sales Amount]} on 0,
    crossjoin({[Sales Territory].[Sales Territory Group].[Sales Territory Group].members},{[Sales Territory].[Sales Territory Country].[Sales Territory Country].members}) on 1
    from [Adventure Works]
    After execut the MDX you will get the result like this:
    Reseller Sales Amount
    Europe
    France
    $4,607,537.94
    Europe
    Germany
    $1,983,988.04
    Europe
    United Kingdom
    $4,279,008.83
    NA
    NA
    (null)
    North America
    Canada
    $14,377,925.60
    North America
    United States
    $53,607,801.21
    Pacific
    Australia
    $1,594,335.38
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Rough-cut Capacity Check at any level on the Plng Hierarchy ??

    Fellow Experts,
    I have the following Planning hierarchy on my self-defined, consistent planning, Info structure:
    MFG Plant >> Prod Family >> Materials.
    Product Family is a grouping of materials by Machine Cells(Work centers). I've the data available @ the material level & the same is also auto-aggregated at the Prod Family levels. At this point I want to trigger Rough-cut capacity check at the Product Family level.
    I've maintained the key-figure on the Info Structure, required data set-up on MC35, config for Scheduling parameters (to do rough-cut planning) & selection ID maintenance for Rough-cut Plng Profile to be picked up. Yet, the system keeps bumping me off with "No Resource Load exists" error.
    Is there something wrong I'm doing or my expectations are incorrect?? Could someone help me out here??
    Cheers
    Anand

    HI,
    Make sure the capacity planning relevant field is maintained for the Infostructure config setttings in MC7F.
    Regards
    Ratan

  • Higher level work area

    Hi all,
    I am trying to develop a report on EHS
    in which user give input plant then it shows work area and when user double click on work area it shows higher level work area but in this i am unabel to find higher level work area table where higher level area data is stored so can ant body tell me the table name or field name for higher level work area  .
    Thanks
    Ankit Modi

    Hi again,
    the table TWGLV is also used to store data when defining a product catalog. The field "HigherLev. area" is only used, when you are creating a layout for a product catalog (transaction WWM1). Within this layout, you can build up a hierarchy an therefor, the field you asked for is used.
    The field is not integrated in the layout maintenance when talking about store layouts (with transactions like layout workbench, etc.)
    Regards
    TK

  • Higher level item in PO

    Dear All,
    There is a field called "Higher-level item" in PO.. When I try to fill it manually, there is warning message "Sub-items of this category cannot be created manually". So what is the purpose of this field ? How will it be used ?
    Thanks in advance,
    Anil

    Hi Anil,
    The subitem functionality in purchasing is available with IS-R add on component.I.e industrial specific retail solutions this funtionality is available. But in standard r/3 you can't maintain item as subitem in purchasing.
    In retail you can create PO for generic article.  Line item of variants will be filled for field EKPO-UEPO(Higher level item)
    for example item 11,12,13 are variants of generic article line item 10.  Line item 11,12,13 will be filled with item 10 in filed (ekpo-uepo)
    Kind regards,
    Lorraine
    Edited by: Lorraine Donnelly on May 6, 2011 11:32 AM

  • Mass update of a custom field at Product Revenue level

    We are trying to update a custom field at Product Revenue level using the Opportunity Web Service. The webservice call is timing out as we have thousands of Opportunities.
    I would appreciate if anybody gives input on how we can massively update a custom field using Opportunity Web Service.
    OR
    Is there a way to mass update a custom field at Product Revenue level other than using a web service.
    Thanks for your help!
    -purna

    If you are not very much obsessed with Webservices, the other workaround is the Data Loader Tool. It was discussed earlier in this forum.
    Pl refer-
    Re: Product Revebue Updation
    Hope this helps.
    Rgds,
    Amit Sahu

  • Assign a Position in CRM to an Organization Unit at a higher level.

    Hi,
    While configuring the Organizational Management in CRM 5.1, I have copied the sales areas created in ECC to CRM.
    The resulting structure is a freely definable Org Unit at the top level called Sales Area (as is was created in ECC) and under that all the Sales Organizations are existing.
    I need to create positions for the Sales Organizations and assign employees to these positions created.
    As per our client requirement, I need to create the positions at the higher level (probably the Org unit level) and assign the employees to these positions created.
    The reason for doing this is that the same employees work across different Sales Orgs.
    Is it possible to create the positions at the highest level so that they can be inherited by the Sales Orgs defined below or do i need to create the positions and the employees separately for each Sales Org.
    I would appreciate if you could answer at the earliest. I need to complete the configuration at the earliest.
    warm regards,
    Rohan Bhate

    Hello,
    Try this SAP CRM: Webclient UI - Framework for this kind of question.
    Regards,
    Fred

  • Recording my voice at a higher level

    Hi All,
    I am recording my voice for a podcast on garageband. I am speaking directly into my mic, which is attached to my computer. How can I record my voice at a higher level. The output is not loud enough and the "track line" is almost flat. How do I change it so I can record at a higher level!
    Thanks!

    Roger Wilmut1 wrote:
    You will need a mixer or a microphone preamplifier. The audio input on Macs is line level - for example the 'tape' output from a hifi - and is insufficiently sensitive for a microphone.
    Hi, Roger,
    I was looking at the Behringer Podcast Studio http://www.bhphotovideo.com/c/product/481377-REG/Behringer_PODCASTUDIO_FIREWIRE_ PODCASTUDIO_FIREWIRE_Bundle.html#features
    and was wondering if this would work for a first-time podcast? Is it better to pick the items up piecemeal? I was thinking of the Behringer 1202 (Xenyx or UB) as it has 2 more (total of 4) XLR inputs and it's going for about $75. However, the Firewire audio interface with the studio package alone is going for *$77*. It seems that the combo would be more economical, but I don't want to sacrfice quality too much.
    Is a Griffin iMic USB audio interface (or a Behringer UCA202 - Low Latency 2 Input / 2 Output USB/Audio Interface with Digital Output) just as good at around $30?
    I already have a several mics, some XLR, some 1/4" jacks -- condenser & dynamic.
    Eventually, I'd like to record a podcast with around 3-5 people all doing a round-table type discussion.
    Thanks for any input, Deborah
    PS like the Behringer mixer because of the CD/tape input, also, so that I can digitize old cassette tapes.

  • SQL Query to Roll up amounts starting from a lower to higher level

    with data as (select 'C' Child, 'P' as parent, 11 amount from dual
      union all select 'C1', 'C', -2 from dual
      union all select 'C2', 'C', 3 from dual
      union all select 'C3', 'C', -8 from dual
      union all select 'C4', 'C', 10 from dual
      union all select 'C11', 'C1', 7 from dual
      union all select 'C12', 'C1', 12 from dual
      union all select 'C21', 'C2', 5 from dual
      union all select 'C22', 'C2', 9 from dual
      union all select 'C31', 'C3', 6 from dual
      union all select 'C32', 'C3', -4 from dual
      union all select 'C41', 'C4', -3 from dual
      union all select 'C42', 'C4', 13 from dual
      union all select 'C111', 'C11', 16 from dual
      union all select 'C121', 'C12', 8 from dual
    ) Select * from data order by 2
    Hi Experts,
    I have the following table with parent child relationship which I would like to roll up starting from a lower to a higher level. The catch here is as I move up the level i should replace the amount for a parent with the aggregate value of its children and grand total aggregated amount should be in C
    For example; In the given sample data c111 rolls up to c11 as 16 (please note: the amount for c11 is 7 should not be added to 16 rather replaced by 16) which should further roll up to c1.
    This means c1 = c11c12; c11 = c111 = 16 so, c1= 1612 instread of 16712.
    Since this is a interim table, i do not have any control on how many levels it might contain.
    So dynamically, i need a query which would rollup and aggregate the amount from a lower to a higher level moving up from the bottom.
    Is this possible? I look forward to all the help. Thanks in advance.

    SQL> with data as
      2  (
      3    select 'C' Child, 'P' as parent, 11 amount from dual
      4    union all select 'C1', 'C', -2 from dual
      5    union all select 'C2', 'C', 3 from dual
      6    union all select 'C3', 'C', -8 from dual
      7    union all select 'C4', 'C', 10 from dual
      8    union all select 'C11', 'C1', 7 from dual
      9    union all select 'C12', 'C1', 12 from dual
    10    union all select 'C21', 'C2', 5 from dual
    11    union all select 'C22', 'C2', 9 from dual
    12    union all select 'C31', 'C3', 6 from dual
    13    union all select 'C32', 'C3', -4 from dual
    14    union all select 'C41', 'C4', -3 from dual
    15    union all select 'C42', 'C4', 13 from dual
    16    union all select 'C111', 'C11', 16 from dual
    17    union all select 'C121', 'C12', 8 from dual
    18  )
    19  , data1
    20  as
    21  (
    22    select parent
    23         , child
    24         , lpad('-', (level-1)*3, '-') || parent tree_structure
    25         , amount
    26         , case when connect_by_isleaf = 1 then amount else 0 end amount_leaf
    27      from data
    28     start with parent = 'P'
    29   connect
    30        by parent = prior child
    31  )
    32  select parent as node
    33       , tree_structure
    34       , amount_sum
    35    from data1
    36   model
    37   dimension by
    38   (
    39      child
    40    , parent
    41   )
    42   measures
    43   (
    44      amount_leaf as amount
    45    , tree_structure
    46    , 0 amount_sum
    47   )
    48   rules automatic order
    49   (
    50      amount_sum[any,any]= amount[cv(),cv()] + nvl(sum(amount_sum)[any, cv(child)],0)
    51   );
    NOD TREE_STRUCTURE            AMOUNT_SUM
    P   P                                 50
    C   ---C                              24
    C1  ------C1                          16
    C11 ---------C11                      16
    C1  ------C1                           8
    C12 ---------C12                       8
    C   ---C                              14
    C2  ------C2                           5
    C2  ------C2                           9
    C   ---C                               2
    C3  ------C3                           6
    C3  ------C3                          -4
    C   ---C                              10
    C4  ------C4                          -3
    C4  ------C4                          13
    15 rows selected.

  • Passing values of the column in the last level of a dimension hierarchy.

    My report has two colums
    Column1 (Dimension has a hierarchy)
    Columns2 (Fact with an Aggregation Rule)
    I want to use the drill down facility in column 1 and pass the value in the last level of the hierarchy to navigate to another report. Can someone help me on this?
    [Note: The above is possible when the column that is on the last level of the drill hierarchy is in the main report]

    @ubuntupenguin Thanx for your prompt reply.
    I am currently able to store all the necessary symbols in an array. But, How do I query for multiple symbols in the SQL Query ?
    I have an array symArr[] which consists of all the symbols I need to query from the database. So, How should I write the SQL Query is my question.
    I could have created a string which looks something like this from the symArr[] array:
    XOM,AA,BAC,BB,BBC,....
    But, the problem would be when I try to query these symbols in the php data service using "SELECT * FROM TABLENAME WHERE SYMBOL IN (?)"
    where the variable $symbol is the populated string (XOM,AA,BAC,BB,BBC,.... ). So, to rephrase my question, Could I use SELECT * FROM TABLENAME WHERE SYMBOL IN (?) to query for Multiple symbols or is there a better approach.
    Thanx in advance.
    -Krishna

  • Want only the user entered values on the xml generated by clicking the button

    Hi All,
    Here goes the details of the problem.
    1. I have created two textfields(texttfield3 and textfield4) along with an email button in a fragment and binded to an XSD file.textfield3 and textfield4 are user entered fields.
    2. On the design page I have created two more fields texfield1 and textfield2 and binded to another XSD.These two fields are read only fields.
    3. On preview PDF screen whenever you click on the email button,you get a mail option with an xml file attached to it.
    4. whenever you open the xml file,you will get the values of all the four fields.Its given below
    <form1>
    <TextField1>value1</TextField1>
    <TextField2>value2</TextField2>
    <TextField3>value3</TextField3>
    <TextField4>value4</TextField4>
    </form1>
    5.But I want only user entered fields to be displayed on the xml page i.e
    <form1>
    <TextField3>value3</TextField3>
    <TextField4>value4</TextField4>
    </form1>
    6.How can I remove or avoid the read only fields not to be displayed on the xml page???
    Thanks in advance

    This forum is for our hosted services of LiveCycle.  I'd suggest that you repost this question this on the Designer (best choice) or Forms forum.

  • If a material reports to two higher level assemblies in the BOM /Is there a

    Hi, 
    If a material reports to two higher level assemblies in the BOM would creates two planned orders for it. Each of the orders has a different date?
    For example
    Z is final assembly
    In that Y is one assembly in that says X1material in level 2
    And the again same material X1 is reporting to Y in levels 5 so here my question is it would create two planned order with different dates?
    And
    Is there any report to see confirmed time to say machine time / labor time or shall we go for report.
    Thx....Srini

    Srini,
    CS15 can be usefull to check the usage of component in assemblies.
    if its used then more then once it can be easily located through this report.
    another concern what you expressed is not clear.
    But what i understand is same component is used at level 2 and level 4 of a BOM.
    assumption from the word levels is , X is used in  level 2 its used directly in BOM of Y and Y have some differnt component G which inturn again have X in it .
    so at both this levels if the dependent requirement is different, you can get 2 differnet orders use individual /collective indicvator for this material as individual .
    If your concern is for BOM position (Item Number) field in BOM then system will create a single plan order even if you set it for individual requirement in material master.here some work around can be possible by maintaining lead time offset IN BOM in item detail screen.
    check and come back
    Hope it helps you
    Regards
    Ritesh

  • The software to be installed requires Administrator or higher level access

    I am installing a new epson print driver on a G4 Quicksilver tower 10.4.11. When I try to install it, I get this message. "The software to be installed requires Administrator or higher level access privileges." I am stumped how to correct that issue.

    As far as the Printer...
    Mac OS X: About the Reset Printing System feature ...
    http://support.apple.com/kb/HT1341?viewlocale=en_US
    Might try Printer Setup Repair 5.1...
    http://www.fixamac.net/software/index.html

  • "Administrator or higher level privileges." But I am the Admin!

    I have a very frustrating problem. I noticed this for the first time when my printer stopped working. The scanner works, and I can run print tests from my computer but it won’t print. When I tried to reinstall the drivers I got an error message that says, “The software to be install needs Administrator or higher level privileges.” I typed in the correct password, which works for everything else. I am the only one using my computer and I am an administrator. This has never happened before.
    Now I can’t install anything without this error message, not even my regular updates. Which is freaking me out.
    I’ve tried everything I can think of. I’ve run disk utilities, repairs and permissions. I’ve created a new user (administrator) and tried that password/username.
    I couldn’t find any other threads on here with an answer to this problem.
    Thanks so much in advance if you can help me!! It is much appreciated! I have a lot of papers that are due next week and it would be awesome if I could figure this out.
    Ask me anything you need to know. I have a duel power G5 with extra ram, running OS X.
    Thanks again,
    Jessie
    [email protected]

    found similar discussion elsewhere:
    http://macosx.com/tech-support/update-osx-10-3-9/7699.html
    .plist is temporary preference file for any application
    try using file search for "installer", if "installer.plist" is not found anywhere you may need to reinstall the OS.
    first you could try creating new user in System Preferences, restart computer, login as new user and try installing something.
    if it works under different user, some other prefernce could have been corrupted in original setup.
    in that case more drastic thing would be to log in as original user, go to your user home folder, then "library" folder and moving whole "preferences" folder to desktop.
    after restart all settings will go to defaults though - network, printers, dock, desktop pics etc.
    if it still won't work, OS files got corrupted and you may need to try "archive and install" option from 10.3.x installation disks:
    http://docs.info.apple.com/article.html?artnum=107120
    keep in mind it's a good idea to have backup of important files just in case.
    try it step by step starting with creating new user and take your time.

Maybe you are looking for

  • Signing applets: Classnotfoundexception

    Hi everyone, I've created a web application that contains an applet as well. In that applet ,the user should be given the opportunity to open and save files from and to a directory on his own computer. I've read alot of things about signing applets t

  • Never seen this message before in disk utility after repair perm

    as an idiot I did th enew update and repaired permission hoping that that long hang up would go away and now it said this Repairing permissions for "Macintosh HD" 2008-02-18 22:27:46 -0500: ACL found but not expected on "Applications/Utilities". 2008

  • Change particular cell color when finised editing and when lost focus

    Hi, i want to create a table which its particular cell can change its color automatically to red if the value in cell in column in two is smaller than column cell value in column 1 when user finish typed a value or if the cell has lost focus. I've wr

  • Another Encore Crash Thread

    I recently bought Production Suite CS4, and have been very happy with everything except Encore. When I try and open it, it loads completely and then crashes. When I try again (within a few minutes) it usually loads fine, but when I try and import vid

  • How to fix black sidebar and contact sheet in Preview?

    How can I fix a bug or setting in the Preview app that is making the sidebar or contact sheet solid black. Whenever I try to view thumbnails in the side bar, it is just a black column with no previews. If I choose contact sheet, the same thing happen