ODI periodic values from HFM

Hi,
I need help regarding ODI. Now I am trying to get data from HFM to Oracle database. Everything is running ok, however I have noticed one issue, some of the values from HFM are not transferred to database. Interesting thing is that if I choose view filter for data source "YTD" - values are correct on target side , however with "Periodic"- it have not transferred everything, some of the values on target side are missing, can anyone suggest something regarding this issue?
In addition this happens only in case if on source side (HFM) YTD value is 0 for period which transferred.
e.g.
YTD :
MAR = +10
APR = 0
Periodic:
MAR = 10
APR = -10
APR value is not transferred.
Thank you.
Edited by: user1040437 on Aug 9, 2011 3:58 AM

Hi - unfortunately you cannot do that in the current KM. We faced the same issue and logged the issue with Oracle. Its being considered as an enhancement not as a bug. So we have to wait for future releases. As a solution for this we created TaskLists in HFM and extracted data.
-app

Similar Messages

  • ODI : extract datas from HFM filtering on base members of certain accounts

    Does anyone know how to filter only Basemembers for certain accounts for extracting data ?
    I need to extract data for level0 members of certain accounts which is about 300. If I don't put the filter its more than 2000 records.

    Hi - unfortunately you cannot do that in the current KM. We faced the same issue and logged the issue with Oracle. Its being considered as an enhancement not as a bug. So we have to wait for future releases. As a solution for this we created TaskLists in HFM and extracted data.
    -app

  • Extract derived data from HFM

    Hi All!
    Is it possible to extract derived values from HFM using LKM HFM Data to SQL?
    By 'derived' I mean gray colored values in HFM data forms. For example, data from currency exchange rate accounts.
    Thanks a lot in advance!
    Edited by: Alex Lasker on 05.04.2010 7:13

    Did you ever get an answer to your question about extracting (not copying) derived values? We are running into the same issue when trying to load HFM data into Planning/Essbase. Since none of those derived values exist in the data extract our Planning totals don't tie-out between it and HFM.

  • Can we only year value from "0FISCPER" (Fiscal Year/Period) at BEx level

    Hi all,
    I have two time characteristics "0FISCYEAR" (Fiscal Year) and "0FISCPER" (Fiscal Year/Period). In DSO initially "0FISCPER" was there and later request came to add "0FISCYEAR". Now data in char. "0FISCPER" is since beginning (from 2000) and for char. "0FISCYEAR" is since 2010.
    User's requirement is to create a report which will display data Year wise.
    My issue is if i am using "0FISCYEAR" then user is not able to see year instead it shows #. I dont want to do data reloading as this is GL data and hold huge no. of records in it.
    So my concern is : Is there any way to use only year value from "0FISCPER" (Fiscal Year/Period) at BEx level? Is there any setting which I can apply and get the same value of Year as I can see from "0FISCYEAR". Please assist me on this.
    Thanks,
    Arvind

    Hi Arvind,
    Your requirement can be realised through virtual characteristics.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b04be008-86cc-2c10-4bad-e517ea3f4c80?QuickLink=index&…
    however, I would still suggest to reload the data. you will only need to reload years before 2010 and you can do this in phases.
    Hope this helps.
    -Swati.

  • Drill Back from HFM works for one year, not another

    Hello,
    We are on FDM and HFM 11.1.2.1 and I was doing some reasearch in the system today and for some reason in all periods that were loaded during 2011 in this version (Aug-Dec) I am able to drill back to the FDM source data. However, if I go into 2012 and try a drill back for Jan or Feb it does not work and I get the below error message. I'm guessing there must be a setting I'm missing somewhere, but can't figure out why the year would make a difference here.
    Error: No Locations were found matching the passed intersection values. Please verify:
    1) that the target system (originating the drillback) is properly configured;
    2) that the FDM POVs have not been retroactively modified or compromised.
    Thank you,
    Jason

    Yes, that is what the problem was. After talking with Oracle support apparently when you upload new periods via the Excel template it does not update the tpovperiodadapter table, which is needed for the drill back from HFM to work. In order to fix this I had the DBA go in and manually update the 4 fields (see below) for the 2 periods we had already loaded for 2012 and all is working now. I also went back and deleted all of the other future periods and added them manually via the FDM web interface.
    The table has the following collumns:
    PeriodKey
    IntSystemKey
    PeriodTargetM
    YearTarget
    Period Key would be the period date
    IntSystemKey would be the adapter system code that was used to load the data to HFM
    PeriodTargetM would be the target Month in HFM
    YearTarget would be the target year in HFM
    Example:
    PeriodKey - 1/31/2012 (format needs to be the same as what's currently in the database)
    IntSystemKey - FM11X-G5-E
    PeriodTargetM - Jan
    YearTarget - 2012

  • Get positive values from sql

    I have balance column and i need to pick only positive values from sql query.
    Balance
    200
    -20
    -220
    100
    Expected
    Balance
    200
    100

    Hi Frank,
    Sorry i think i am not clear.
    below is my function get_total.
    one billing_key is nothing but one billing period-each period has 6 programkeys.
    by following function i will get 6 records by passing 6 programkeys and one biling key
    now i need to get over all balance of all periods per program. condition is i need to take only +ve amounts from the below function and sum it up
    expected out. i am just giving an example of output.
    actual
    programkey get_total
    a 100
    a -50
    a -50
    b 200
    c 300
    c -200
    d -100
    d -25
    d 400
    e 500
    e -10
    f 600
    f -200
    we are taking only +ve amounts from the above.
    How can i write a procedure or script to acheive program_key and balance as below.
    programkey balance
    a 100
    b 200
    c 300
    d 400
    e 500
    f 600
    create or replace FUNCTION GET_TOTAL (p_bill_key IN varchar2,
    p_prog_key IN varchar2) RETURN NUMBER AS
    l_total NUMBER;
    l_dum_bill NUMBER;
    p_count NUMBER:=0;
    BEGIN
    BEGIN
    SELECT count(*) into p_count
    FROM billing_adjust b where b.billing_key = p_bill_key ;
    if p_count < 1 then
    SELECT NVL(surch_amount,0) + NVL(adjust_amount,0)
    INTO l_total
    FROM mv_billing a, mv_prog_surch b
    WHERE a.billing_key = b.billing_key and
    a.billing_key = p_bill_key and
    b.program_key = p_prog_key;
    return l_total ;
    end if;
    SELECT NVL(surch_amount,0) + NVL(adjust_amount,0)
    INTO l_total
    FROM billing_adjust b, prog_surch_adjust c
    WHERE b.billing_adjust_key = c.billing_adjust_key and
    b.billing_key = p_bill_key and
    c.program_key = p_prog_key;
    return l_total;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    null;
    End;
    RETURN 0;
    END GET_TOTAL;
    This is what i have started writing to acheive expected output need help on this.
    Create or replace function balance(p_company_id) return number as
    v_total_due number:=0;
    v_total number:=0;
    CURSOR p_idn IS
    SELECT PROGRAM_KEY,PROGRAM_NAME FROM MV_PROGRAM_DICT where CURRENT_YN = 'Y' order by PROGRAM_NAME_ID;
    cursor p_billkey_idn is
    select biling_key from billing where company_id=p_company_id;
    Begin
    for v_idn in p_idn loop
    for v_billkey in p_billkey loop
    SELECT sum(get_total(v_billkey.billing_key,v_idn.program_key)) into balance
    FROM dual
    WHERE get_total(v_billkey.billing_key,v_idn.program_key)>0;
    END LOOP;
    END loop;

  • How to get a value from the previous element (XSLT/XPATH gurus ahoy!)

    Hi All,
    I am building an RTF template for a "letter of reference"-report. Sometimes there are several rows in the data, that need to be printed as one. This is due to consecutive temporary contracts, which will be printed out as one period of service.
    Here's a simplified data example to illustrate the problem.
    <ROW>
    <START_DATE>01-01-1980</START_DATE>
    <END_DATE>01-01-1988</END_DATE>
    </ROW>
    <ROW>
    <START_DATE>01-01-1988</START_DATE>
    <END_DATE>01-01-1990</END_DATE>
    </ROW>
    <ROW>
    <START_DATE>01-01-2000</START_DATE>
    <END_DATE>01-01-2005</END_DATE>
    </ROW>
    With the data above, I should print two lines:
    01-01-1980 - 01-01-1990
    01-01-2000 - 01-01-2005
    I need to compare START_DATE of an element (except for the first one) with the END_DATE of the previous element, to find out whether to print the END_DATE for that element or not. How can I get that value from the previous element?
    Thanks & Regards, Matilda

    use this to get the following End_date
    <?following-sibling::../END_DATE?>
    Try this
    <?for-each:/ROOT/ROW?>
    ==================
    Current StartDate <?START_DATE?>
    Current End Date <?END_DATE?>
    Next Start Date <?following-sibling::ROW/END_DATE?>
    Previous End Date <?preceding-sibling::ROW[1]/END_DATE?>
    ================
    <?end for-each?>
    o/p
    ==================
    Current StartDate 01-01-1980
    Current End Date 01-01-1988
    Next Start Date 01-01-1990
    Previous End Date
    ================
    ==================
    Current StartDate 01-01-1988
    Current End Date 01-01-1990
    Next Start Date 01-01-2005
    Previous End Date 01-01-1988
    ================
    ==================
    Current StartDate 01-01-2000
    Current End Date 01-01-2005
    Next Start Date
    Previous End Date 01

  • Need to select one from multiple values from a parameter memory area

    Hello,
    I am accessing transaction CKM3N, and, by using the old/classical debugger, it's possible to see that the parameter ID BDTJ (2nd box of the Period/Year parameter line) contains not one but 2 values (in the old/classical debugger version, go to GOTO->System Areas-> Sap Memory): 
    BDTJ                (  4)G <2009>
                                  L <2008>
    I want to access the value from the line that contains 'L', not 2009, from the one that holds 'G'.
    How do I differentiate between them, how do I access one specific value when a single parameter ID has more than one value assigned to it ?
    Thanks in advance,
    Avraham

    Ah, youre actually asking different things.
    In your topic title, you say youre running separate instances
    In your body text, you say you are under different user/schema
    So tell me, do you have more than one database or not? How many entries in your TNS file?
    I would say, for "multiple database instances"
    SELECT
      a.id, b.id
    FROM
      tableA a
      INNER JOIN
      tableB@OTHER_DATABASE_LINK_NAME b  <--NOTE!
      USING(id)And of course you will have to look up CREATE PUBLIC DATABASE LINK sql..
    Message was edited by:
    charred

  • Fetch the values from internal table inside an internal table (urgent!!)

    data : BEGIN OF PITB2_ZLINFO occurs 0,
             BEGDA LIKE SY-DATUM,
             ENDDA LIKE SY-DATUM,
             PABRJ(4) TYPE N,                       "Payroll Year
             PABRP(2) TYPE N,                       "Pay. Period
             ZL LIKE PC2BF OCCURS 0,
           END OF PITB2_ZLINFO.
    I have a internal table like this,
    How to Fetch the values from internal table inside an internal table.
    Kindly Help me on this..
    Regards,
    Ram.

    Hi,
    Try this....
    Loop at PITB2_ZLINF0.
    Loop at PITB2_ZLINF0-ZL.
    endloop.
    Endloop.
    Thanks...
    Preetham S

  • PC report S_E38_98000088 does not display periodic values

    Dear colleagues,
    In ECC6.0/new GL we are trying to use report  S_E38_98000088 to display Actual/Plan values for a specific month/period, but it looks like the system will always show a cumulative value since the beginning of the fiscal year.
    We enter the following on the selection screen:
    Currency type: 10
    Company code: XXXX
    Account number: XXXXXXXX
    Ledger: 0L
    Controlling area: XXXX
    Plan version: 1
    Fiscal year: 2011
    From Period: 4
    To period: 4
    Profit Center: XXXXXXX
    But when we execute the report, and srill down to the line item level, we see that the report picks up all posting in 2011 instead of 04.2011 only.
    The same happens if we try to execute the report for 12.2010 - it will select all postings in 2010.
    Anyone knows why is it working like that and how can I display a specific period?
    Many thanks,
    Yoel.

    Shalom yoel,
    this is not a bug.
    Please bear in mind that  this report  shows cumulative values
    for Balance Sheet accounts.
    The calculated keyfigure BILWERT (Balance Sheet Value) behaves in
    different ways for balance sheet and for P+L accounts. For balance sheet
    accounts it always provides you with cumulated values. For example
    for period 6 to 6 it will show cumulated value for periods 1 - 6 plus
    balance carry forward value.
    The BILWER is calculated like:
    BILWERT = WERTB + WERTE,
    WERTB - Balance sheet accounts value
    WERTE - Income statement account value
    But if an account is a P+L statement account, you will see the
    real period balance value for the particular period range. It means,
    that for period 6-6 you will see value for the single period 6. For
    period 1-6 you will see cumulated value for period range 1 - 6 without
    balance carry forward.
    The report behaviour is dependent on your Financial Statement Version
    (FSV) and how the particular accounts are valuated.
    It means the following:
    ~~~~~~~~~~~~~~~~~~
    1) All accounts assigned to the nodes "Assets" and "Liab+Equity" are
       taken as balance sheet accounts and cumulated values are provided
       for those accounts by report S_PL0_86000028 (and other GL reports)!!
    2) All accounts which are not assigned within the FSV at all are
       considered as balance sheet accounts and cumulated values are
       provided by GL drilldown reports.
    3) All accounts which are assigned OUT of "Assets" and "Liab+Equity"
       nodes within particular FSV are taken as Profit and Loss acounts and
       period values are provided for them in the GL drilldown reports
    The original settings (which you can see under T-cd: FS00) has no
    influence on it when using the FI-GL drilldown reports.
    Please take into account the note 1154817 and the documentation
    to OB58 and RFBILA00 how should define the correct FSV structure.
    That is the design and usage of the hierarchy of the Financial Statement
    Version and key figure.
    There is no error in the standard system
    br, Guido

  • When i am retreiving the values from the access table i am getting null val

    hi all,
    I comeacross the following problem,I connected my applet to the Access database with jdbc:odbc driver.
    I am trying to retreive the values from the table.I am getting the result correctly when the same code with using applet it was giving the correct result.
    when I am using an applet program it was giving the null value istead of the actual records.
    can anybody tell me the reason why
    thanks in advance
    and also how to connect the databse in the webserver when i installed my applet in the client side
    please give me some suggestions to do that
    thankyou
    lakshman

    Hi Krishna,
    Can you please copy the code generated by ODI for creating your C$ table ?
    i mean :- create table C$_0Entity ( from the operator log
    Regards,
    Rathish A M

  • Retrieving Values from Layout

    Good Afternoon.
    I am trying to write a FOX program that will retrieve date fields entered on the layout and compare them with today's date.  The comparison date (current date) is stored in two variables (one for month and the other year).  The problem I am having is the FOX code is not pulling the values from the screen.  When I insert a BREAK-POINT, the screen values in the FOX are displaying the same values as in the variable I am comparing it too.  I cannot figure out what I am doing wrong.
    I want to compare the dates (year and month only) entered on the screen against today.  If the date is less than today, then a message will be displayed.
    I am attaching the code.
    DATA MES TYPE STRING.
    DATA MONTH TYPE 0FISCPER3.
    DATA YEAR TYPE 0FISCYEAR.
    DATA MONTH2 TYPE 0FISCPER3.
    DATA YEAR2 TYPE 0FISCYEAR.
    MONTH = VARV(ZPSVFYP9).
    YEAR = VARV(ZPSVFY01).
    MONTH2 = OBJV().
    YEAR2 = OBJV().
    MES = 'PRIOR MONTH PURCHASES EXIST '.
    *BREAK-POINT.
    IF YEAR2 < YEAR.
    IF MONTH2 < MONTH.
       MESSAGE E001(00) WITH MES ' FOR  :' YEAR2 MONTH2.
    ENDIF.
    ENDIF.
    Thanks in advance for your assistance!
    Renee

    Sirni,
    Thanks for your reply!
    I'm glad you were able to get it to work.
    I am entering values on the screen that are less than this month (for example 12/2006).  At the break point, both the values YEAR2 and YEAR are set to 2007 and the two month values MONTH2 and MONTH are set to 01.  It will not show me the 012/2006.
    Field to be changed is Key figure name.
    Fields for condition are fiscal year, posting period and version.
    Do you have any other ideas on what I should check?
    Thanks!
    Renee

  • How to Get Value from a Variable to restrict a Key Figure ?

    I am trying to make a query in Query designer, we are running BI7.
    I have a user entry veriable on the Fiscal year period, the user will need to enter a period they want the report for, i.e. 07.2008 for July 2008 report and 04.2008 for April 2008 report.
    Based on what the user entered as the starting period (in the variable entry), I have to then use that initial value and show the Year to date value (of sales etc) in the next column.
    To Clarify, if user entered 07.2008 then all the data from 01.2008 to 07.2008 needs to be in the next column.   if user entered 04.2008 then all the data from 01.2008 to 04.2008 should be in the next column.
    So to summarise according to my understanding, I want to get the value from a variable and pass it onto another variable to restrict a key firgure (sales amount)...
    Can someone please clarify what i need to do here?  
    Many thanks in advance, points will be awarded accordingly.

    hi,
    please follow the below steps:
    1. Create a new varialbe , this variable should be processed by customer exit.
    2.  In the column section, create a new column and drag the sales key figure, also drag fiscal year period and restrict with the new variable.
    3. In the cmod tcode write a customer exit code to extract the value of the user entry and assign it your variable, you can refer to the below code.
      WHEN '< New VAR name>'.
        IF I_STEP = '2'.                                 "AFTER THE POPUP
          LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
            WHERE VNAM = '<Fiscal Year Period VAR Name>'.
            CLEAR L_S_RANGE.
            L_S_RANGE-LOW      = LOC_VAR_RANGE-LOW(4).
            L_S_RANGE-LOW+4(3) = '001'.
            L_S_RANGE-HIGH     = LOC_VAR_RANGE-LOW.       "LOW E.G. 2001006
            L_S_RANGE-SIGN = 'I'.
            L_S_RANGE-OPT = 'BT'.
            APPEND L_S_RANGE TO E_T_RANGE.
            EXIT.
          ENDLOOP.
        ENDIF.
    For ex- if the user enters 008/2008, this code will create as range assign 001/2008 - 008/2008 value to the variable.
    hope it helps,
    rgs,
    Parth.

  • Show the period value in column header using Text Variable

    We are using Posting Period & Financial Year to calculate YTD & MTD, for current year and previous years. These posting period and financial year characteristics are custom created characteristics we are using due to customer specific requirement.
    Input values are posting period, financial year and numeric value. To calculate previous year, I need to subtract numeric value from the input financial year. Every thing is working fine up to this.
    In the report I need to show the posting period and financial year values dynamically in each column header of the report for MTD, YTD for current year & previous year. I tried to achieve this using Text Variables, but I didn’t succeed. If some one can give me some idea to resolve this, it would be very helpful.
    I am excellent in ABAP coding. If you can specify me to code in User Exit, I can do it.
    Column headers should be 08.1999 Sales Qty, 08.2008 Sales Qty, 1999 Sales Qty, 2008 Sales Qty.

    Hi Abhinav,
    Try using the content text variables 0T_FYEAR and 0T_FPER3, when used in the head these variable should display the year and period specified in the RKF.
    e.g
    &0T_FPER3&. &0T_FYEAR& Sales Qty = 08.1999 Sales Qty
    If that doesnt work, try creating text replacement path variables referencing the variables you created for the year and period input. To do this click on the RKF and click on the dropdown by the yellow box next to the description on the general tab and select New Variable, enter the description, tech name and set processng by to Replacment Path, then select period as the ref. characteristic, then on the replacement path tab change replace variable with to variable and then select the variable you are using for the period input, save then hit ok, this is now a text representation of the variable your are inputing for period and can be used in the column headers, you will need to repeat the process for the fiscal year.
    Hope this helps
    Josh

  • Read a XML node value/attribute value from a CLOB

    Hello,
    I can write SQL/ - PL/SQL "straightforward" but now I have a problem what is to big for me.  I hop that someone can help.
    We create by code a xml structure and write these into the oracle database CLOB field. I'm sorry to say that a xml text structure is written into a clob in stead of a xmltype field. (it's a design failure?) It's a large xml structure. I believe I can't attach a file so I put at the end of this discussion a light example of the xml structure.
    It's a xml with quartervalue's, so there are 35040 detail rows (24h * 4 * 365days). I want to accumulate the the attribute Amount value 9. The amount value is in the Detail node a attribute but at the end you can see that for the DST are also 4 value's, but these are not attribute value's but node value's. (In this case it are four value's in some cases there is one DST amount value.
    Can somebody help me how to accumulate all the detail attribute value Amount with the node value Amount of the DST tag?
    XML structure:
    <?xml version="1.0"?>
    <Message xmlns:ns1="http://automaticdealcapture/">
        <BusinessDocument messageDateTime="2013-10-25T13:59:31+02:00" ediReference="LO-461967" messageName="New" businessSector="Z" documentFunction="Original">
            <DocumentData>
                <ns1:Adcs>
                    <ns1:Package>
                        <ns1:Deal>
                            <ns1:ProductCode>PWCODE</ns1:ProductCode>
                            <ns1:Action>NEW</ns1:Action>
                            <ns1:Memo1>MemoField</ns1:Memo1>
                            <ns1:Details>
                                <ns1:Detail Dates="2014-01-01" Datee="2014-01-01" Times="00:00:00" Timee="01:00:00" Amount="0.0153" Price="11.111"/>
                                <ns1:Detail Dates="2014-01-01" Datee="2014-01-01" Times="01:00:00" Timee="02:00:00" Amount="0.015" Price="22.222"/>
                                etc. 350040 detail rows.
                            </ns1:Details>
                            <ns1:DSTS>
                                <ns1:Year Val="2014">
                                    <ns1:DST Period="1">
                                        <ns1:Amount>0.0146</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                    <ns1:DST Period="2">
                                        <ns1:Amount>0.0222</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                    <ns1:DST Period="3">
                                        <ns1:Amount>0.0444</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                    <ns1:DST Period="4">
                                        <ns1:Amount>0.0146</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                </ns1:Year>
                            </ns1:DSTS>
                        </ns1:Deal>
                    </ns1:Package>
                </ns1:Adcs>
            </DocumentData>
        </BusinessDocument>
    </Message>

    From what I know, extracting the "Amount" values in the Details section and the "Amount" values in the DSTS section would be two different SELECT statements.
    Both of these will use XMLTable() to extract the values.
    BTW - If you need more information on this, post up in the XML/XML DB forum section for more complex help.  (eg getting YEAR with the DSTS Amount values)
    as far as XML size goes, I've seen oracle handle a 100MB XML document without problems.
    (just understand, it will be 'slow')
    This one will give you the Amount values from the DSTS section:
    with xml_data as ( SELECT
    XMLType('<?xml version="1.0"?>
    <Message xmlns:ns1="http://automaticdealcapture/">
        <BusinessDocument messageDateTime="2013-10-25T13:59:31+02:00" ediReference="LO-461967" messageName="New" businessSector="Z" documentFunction="Original">
            <DocumentData>
                <ns1:Adcs>
                    <ns1:Package>
                        <ns1:Deal>
                            <ns1:ProductCode>PWCODE</ns1:ProductCode>
                            <ns1:Action>NEW</ns1:Action>
                            <ns1:Memo1>MemoField</ns1:Memo1>
                            <ns1:Details>
                                <ns1:Detail Dates="2014-01-01" Datee="2014-01-01" Times="00:00:00" Timee="01:00:00" Amount="0.0153" Price="11.111"/>
                                <ns1:Detail Dates="2014-01-01" Datee="2014-01-01" Times="01:00:00" Timee="02:00:00" Amount="0.015" Price="22.222"/>
                            </ns1:Details>
                            <ns1:DSTS>
                                <ns1:Year Val="2014">
                                    <ns1:DST Period="1">
                                        <ns1:Amount>0.0146</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                    <ns1:DST Period="2">
                                        <ns1:Amount>0.0222</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                    <ns1:DST Period="3">
                                        <ns1:Amount>0.0444</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                    <ns1:DST Period="4">
                                        <ns1:Amount>0.0146</ns1:Amount>
                                        <ns1:Price>33.333</ns1:Price>
                                    </ns1:DST>
                                </ns1:Year>
                            </ns1:DSTS>
                        </ns1:Deal>
                    </ns1:Package>
                </ns1:Adcs>
            </DocumentData>
        </BusinessDocument>
    </Message>') as XMLDATA from dual
    select Y.amount
    from xml_data X,
      XMLTable(  XMLNAMESPACES( 'http://automaticdealcapture/' as "ns1"),
       '/Message/BusinessDocument/DocumentData/ns1:Adcs/ns1:Package/ns1:Deal/ns1:DSTS/ns1:Year/ns1:DST'
        passing X.XMLData
      COLUMNS
        amount Number PATH '/ns1:DST/ns1:Amount'
      ) Y;
    Replace the XMLTable() with the one below to get the Amount from the Details section:
      XMLTable(  XMLNAMESPACES( 'http://automaticdealcapture/' as "ns1"),
       '/Message/BusinessDocument/DocumentData/ns1:Adcs/ns1:Package/ns1:Deal/ns1:Details/ns1:Detail'
        passing X.XMLData
      COLUMNS
        amount number PATH '/ns1:Detail/@Amount'
      ) Y;

Maybe you are looking for

  • How to bring a Accordion  effect to a datagrid row?

    Actually i am working on datagrid. I have an issue of bringing some component in between the row. That is when i click a specific row i just want to get a panel as a drop down stuff between rows(Something similar to the one when we click on accordion

  • Making comments more visible on a print out

    I like how Dreamweaver highlights my comments in yellow when you are looking at it on the computer. Is there a "preference" I can set that does the same when I print out the code? It would make it much easier to find a particular piece of code if the

  • Can I stop two-finger scroll from stopping playback in 3?

    Does anyone know if it's possible for Soundtrack 3 NOT to stop playback whenever a two-finger scroll occurs, no matter how miniscule? I'm afraid my habit of editing, developed under Soundtrack 2, involves almost constant two-finger scrolling. Making

  • Mail mixes up messages

    Hi, Since a couple of days osX mail app mixes up my messages from different inboxes. The sender and subject of these messages are not the same. For example. Yesterday I send a message with subject "ssh access VPS" to person x. And when I select this

  • I just bought a few songs the other day and my i pod will not play some of them. what do i do about this?

    i just bought a few songs the other day and my ipod will not play some of them, they are there, but the name of the song isn't written in black. the name of the song is written in gray. plus i tried to figure out the problem and i plugged my i pod in