Report on hierarchy with different levels for key figures

Within 1 BEx query report, is there a way to report on a hierarchy where one key figure is at level 6 and another key figure at level 5? Level 6 being the lowest leaf node. That is the key figure at the level 5 wouldn't have data at level 6 aggregated or summed up to level 5. Doesn't seem possible because how would the data be modeled in the IC but has this ever been done?

This could be easily done at the query level. If you are using 7.x query designer drag the key fig you want at level 1 (top) first. Then drag the key figure you want at level 2 and drop on the level 1 key fig. Now drag and drop level 3 key fig on level 2 key fig. This way you can create a sort of hierarchy for key fig, but the lower level key figures would not be aggregated to the upper level key figures.
If you use 3.x query designer, you have to use level up and level down options after right clicking on the key figure. Place all your key fig (all levels) in the columns. now right click on the level 2 key fig and choose level down option. right click on the level 3 key figure and choose level down twice.

Similar Messages

  • Different values for key figure in fm.

    Hi All,
    The following function modules giving different results in q and production.
    Pls tell me why different values?
    FOLLOWING ARE THE INPUTS I GAVE,
    I_DATE_FROM = 31.01.2011
    I_TIME_FROM  = 08:32:00
    I_DATE_TO =  31.01.2011
    I_TIME_TO = 12:24:13
    In Production iam getting 0
    But in Q iam getting A VALUE.
    PLS HELP ME HERE..
    *"  IMPORTING
    *"     VALUE(I_DATE_FROM) TYPE  D
    *"     VALUE(I_TIME_FROM) TYPE  T DEFAULT 0
    *"     VALUE(I_DATE_TO) TYPE  D
    *"     VALUE(I_TIME_TO) TYPE  T DEFAULT 0
    *"     VALUE(I_WERK) LIKE  /BI0/SPLANT-PLANT OPTIONAL
    *"     VALUE(I_FABKL) LIKE  /BI0/SFACTCAL_ID-FACTCAL_ID OPTIONAL
    *"  EXPORTING
    *"     REFERENCE(E_DURATION_INT) TYPE  F
    *"     REFERENCE(E_DURATION_EXT) TYPE  F
    *"     REFERENCE(E_UNIT_DAY) LIKE  /BI0/SUNIT-UNIT
      DATA:
        l_start       LIKE scal-facdate,
        l_end         LIKE scal-facdate,
      L_DURATION_S  LIKE MCQAVE-DLZEIT,
        l_duration_s  TYPE f,
        l_flg_error(000001)   TYPE c,
        l_delta_s     TYPE i,
        l_t001w       LIKE /bi0/pplant,
        l_dimension   LIKE t006-dimid,
        l_factcal_id  LIKE /bi0/pplant-factcal_id,
        l_delta_d     TYPE f,
        l_wd_end      TYPE scal-indicator,
        l_wd_from     TYPE scal-indicator.
      STATICS
        s_unit_day    LIKE /bi0/sunit-unit.
    *== Compute duration
      e_duration_ext
        =  i_date_to - i_date_from + ( i_time_to - i_time_from ) / 86400.
      IF NOT ( i_werk IS INITIAL )  OR
         NOT ( i_fabkl IS INITIAL ).
    *== Compute duration according to fabrics calender
      Read Calender ID
       CALL FUNCTION 'ZEW05_PLANT_READ'
            EXPORTING
                 WERKS  = I_WERK
            IMPORTING
                 STRUCT = L_T001W
            EXCEPTIONS
                 OTHERS = 01.
        IF i_fabkl IS INITIAL.
    *== Selektion der Fabrikkalender-ID abhängig vom Werk.
          SELECT factcal_id FROM  /bi0/pplant INTO l_factcal_id WHERE
                         plant = i_werk AND
                         objvers = 'A'.
          ENDSELECT.
        ELSE.
          l_factcal_id = i_fabkl.
        ENDIF.
        IF NOT ( l_factcal_id IS INITIAL ).
          CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
            EXPORTING
              date                 = i_date_from
              factory_calendar_id  = l_factcal_id
            IMPORTING
              factorydate          = l_start
              workingday_indicator = l_wd_from
            EXCEPTIONS
              OTHERS               = 01.
        ENDIF.
        IF sy-subrc = 0.
          CALL FUNCTION 'DATE_CONVERT_TO_FACTORYDATE'
            EXPORTING
              date                 = i_date_to
              factory_calendar_id  = l_factcal_id
            IMPORTING
              factorydate          = l_end
              workingday_indicator = l_wd_end
            EXCEPTIONS
              OTHERS               = 01.
        ENDIF.
        IF sy-subrc = 0.
    *--   Compute duration
          IF NOT l_wd_end IS INITIAL.
            i_time_to = '000000'.
          ENDIF.
          IF NOT l_wd_from IS INITIAL.
            i_time_from = '000000'.
          ENDIF.
          e_duration_int
            =  l_end - l_start + ( i_time_to - i_time_from ) / 86400.
        ELSE.
          e_duration_int = '0.0'.
        ENDIF.
        IF e_duration_int < '0.0'.                            "#EC PORTABLE
          e_duration_int = '0.0'.
        ENDIF.
      ENDIF.
      IF s_unit_day IS INITIAL.
        CALL FUNCTION 'DIMENSION_GET'
          EXPORTING
            time                = 1
          IMPORTING
            dimid               = l_dimension
          EXCEPTIONS
            dimension_not_found = 01.
        IF sy-subrc = 0.
          CALL FUNCTION 'UNIT_GET'
            EXPORTING
              denominator    = 1
              dimension      = l_dimension
              numerator      = 86400
            IMPORTING
              unit           = s_unit_day
            EXCEPTIONS
              unit_not_found = 01.
        ENDIF.
      ENDIF.
      e_unit_day = s_unit_day.
    ENDFUNCTION.

    check the table /bi0/pplant in your production system. and see if the attribute factcal_id contains value.
    Make sure that you have Plant master data loaded in your production system.
    --- Thanks...

  • Nesting of AGO or TODATE functions with differing level arguments is not supported

    I have a column in BMM which calculates the Year-To-Date Sales. This function uses the ToDate function to caculate the YTD.
    I need to develop another formula column which shows the last-year's YTD.
    I develop this formula in BMM by AGO on the YTD column which already uses a ToDate function.
    In BI Answers when selecting this column, results in the below message:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 22044] Nesting of AGO or TODATE functions with differing level arguments is not supported. (HY000)

    To reply to my own question. It appears I got it working, that is, the error message problem is solved, but I still have questions on how to use these functions.
    To get it to work, I added the primary key D_TIJD.TIJDKEY at the level of the lowest grain in my dimension (level tab).
    What I still wonder is how to make it select the right values. I have the following hierarchy: bookyear - bookperiod - week. A bookperiod contains 4 or 5 weeks (4,4,5 in a quarter), so 12 periods in one year. I defined a measure at period level and another at that level with the ago function, that should return the figures for that same period of the year before. My first question is, whether to go back 12 periods or 52 weeks (which is the lowest grain in my dimension)?
    The second question is how to use a combination of TODATE and AGO so that if I calculate the current period (of which only 2 weeks are passed), I also only want to include the same two weeks for that period one year ago in order to make a correct comparison. How do I do that???

  • Multiprovider - two infoproviders with different levels of summarization

    Hi Gurus,
                  I need to create a report which requires data from two infoproviders, I am thinking of building a multi provider on top of the two infoprovider . I wanted to know if its possible to create a multiprovider on top of two infoprovider with different level of summary. Any suggestions with be very helpful for me.
    Kindly let me know..thanks in advance...
    cheers,
    Tuck

    Hi
    Two different level of summarization will throw inconsistency in reporting
    It is not advisable
    Regards
    N Ganesh

  • How can I add donate page with different levels of giving such as $250, $150, $50, Other

    How can I add donate page with different levels of giving such as $250, $150, $50, Other.  I am using Foxy Cart…is this possible?

    From Muse end , you can add texts as donation value with paypal button which would take the users to paypal site for payment, with Foxy Cart you can try the suggestion mentioned here :
    https://forum.foxycart.com/discussion/4417/donation-page-radio-button/p1
    Thanks,
    Sanjit

  • IHC Cash concentration Account Hierarchy with different currencies - F9H1

    Hello Experts,
    Can someone please help me find out if it In Tcode: F9H1/F9H2, it is possible to create an account hierarchy with sub account in different currency than the Root account?
    I am getting the following error when I try to create an account hierarchy with different currencies in root account(USD account) and subaccount(GBP account)
    "Account XXXXGBPYYYY / GBP cannot be inserted; Currency not possible"
    Is this a system limitation or are we missing some configuration?
    Please advice

    Hi Anya,
    In the new version of IHC, which is available from EA-FINSERV 500 onwards, the cash concentration process generates 2 payment orders -
    1. BCA payment order ( or the OLD IHC payment order - can be viewed via F9I3)
    2. IHC payment order (or the payment order created in the new version - can be viewed via IHC0)
    This happens only when you configure the module IHC_BCA_EXTERNAL_PAYMENT in the BTE 10310 for application IHC.
    This would then call the new version of IHC and post a payment order which you can view from tcode IHC0.
    If instead of module IHC_BCA_EXTERNAL_PAYMENT, another module PAYMENT_EXTERN_IHC is configured in the BTE 10310 then it would look for an entry in the table TBKKIHB4 to create a PAYRQ (treated as external payment). And, on finding the table empty, it throws the error message as mentioned by you.
    Hope this helps!
    Best regards,
    Sidhartha

  • Problem with Revision level for a Material

    Hi All,
    I have a problem with Revision Levels for a Material.
    I want to know the Revision Level for a particular Material for BOM Creation.
    Can anyone please let me know from which Table or Funtion Module can I get the Rev Level, once I pass MATNR (Material) and AENNR (Change Number).
    <REMOVED BY MODERATOR>
    Thanks and Regards,
    Harish Kalla
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 4:30 PM

    HI,
    You can use table AEOI.
    Hope this helps.
    <REMOVED BY MODERATOR>
    Regards,
    Sipra
    Edited by: Alvaro Tejada Galindo on Apr 14, 2008 4:30 PM

  • Must I define abstract  interfaces with different names for BPM?

    Must I define abstract interfaces with different names for BPM?
    When interface appeared several times with different values and usage.
    Of course they are the same message type.

    Hi,
    Check this
    RFC Scenario using BPM --Starter Kit
    Regards
    Seshagiri

  • Invoice posting with different currency for the same PO

    Hi,
    Can we post the the Invoice with different currencies for the same PO.
    For example.
    PO has Qty 100 pcs.  amount 100 USD
    GR   Qty 100 pcs.
    Is it possible to post Invoice of 50 pc with 50 USD, and 50pcs with some other currency.
    Any sugggestions pls.
    Thanks,
    Satya

    Hello
    As per my knowledge, that is not possible.
    And in whjat scenario, we need to do that?
    In MIRO header itself we have the vendor currency, so it is not posbile to maintain different currency in different line items in MIRO.
    If you want, you can do MIRO in different currency that what is in PO.
    In the example given, you have o post 2 invoices, one for 50 qty in USD and the other 50 in different currency in other invoice transaction by giving the currency in basic data-invoice header and then only press ENTER after giving the PO number.
    Hope this helps
    Regards

  • Are iPads built with different configurations for different countries?

    Are iPads built with different configurations for different countries?

    deebeeque wrote:
    I live in the U.S. but am moving to Brazil. I would like to purchase an iPad here in the U.S. but want to have it set up for Brazil, ie: language, operation, WiFi. Can all of this be done by selecting the country specific configuration at the setup stage?
    You can certainly chose the language when you set it up. WiFi is an international standard, no difference between US and Brazil. You can further go into Settings - General - International and select language, as well as keyboards and region format.
    Also, Is it possible to order the iPad (to be shipped to me in the U.S.) with packaging material (ie: operation manual, etc.) in the Brazilian Portuguese language?
    There is no operation manual included - English, Portuguese, or any other language. You can find the one you need at http://support.apple.com/pt_BR/manuals/.
    Additionally, does Brazil have 4G?
    I'm not sure, but as of now the only countries where the iPad 4G will work are the US and Canada - other countries that have 4G use different frequencies.

  • More contracts (with different suppliers) for one item

    Dear MDM Experts,
    is it possible to make more contracts (with different suppliers) for one item?
    Thanks and regards,
    Ádá

    Hi,
    Thanks for your answer. If I set my shopping cart for a contract with a supplier A, and I select an item with a supplier B, then after pushing button Transport to SRM on the shopping cart webdynpro UI, I would get the an error message, and the item wouldn't come to the SRM.
    If the item doesn't have any supplier, and I make a contract with it, the supplier of the contract goes to the item, and after that I can't make a contract with an other supplier for this item, because of the uppers.
    The type of field Supplier in table Catalog Items is Lookup field, and it can't be modified.
    Could you please write to me which can I set our system to be able to make contracts with many suppliers?
    Thanks and regards,
    Ádám Horváth

  • Dynamic Texts from Bex ( for Key Figures ) not coming to WEBI Query

    Hi Gurus,
    We have a Query in BEx : Each  Key figure column text changes dynamically - Like based on Present month
    it will Display Month +1 Month +2  up to Month +12.  Used  dynamic Text variables .
    But when i created the universe and Webi report , i am missing the text in the column for Key figures .
    How should i get the column text in Webi which is same as in Bex : Points will be awarded for helpful
    answers.
    Thanks
    Magge

    Hi,
    text variables with replacement path are supported in BO4.0, see following document: SAP BusinessObjects BI4 - Supported BEx Query Elements
    As an example after entering 2012 in the prompts window, the name of the corresponding key figure will dynamically change:
    After refreshing and selecting 2013, the column name will update:
    Im not sure though if this is the case with unv universe access to BEx queries.
    Best regards,
    Victor

  • How to write conversion routine for key figure?

    Our customer has this requirment:
    we need to know the last time of some TV program in BEx report, If a TV program last 500 seconds, we need show the key figure like this:  00:08:20, If a TV program last 100000 seconds, we need show the key figure like 27:46:40 (27 hours and 46 minitues and 27 seconds), If we define a key figure as time,  BW system will report a error that say it is not acceptable time.  If we want to define a integer, but we need display it like hhmmss format.  We know we can write conversion routine for char.  but I don't how to write conversion routine for key figure.   Please give me any hint if any other solutions?
    Edited by: SY DONG on Dec 2, 2010 3:36 AM

    If you want to do in Transformation Layer :
    You can use routine ...break up the seconds into minute hour and seconds
    you will have to handle few cases in this:
    let say your variable lv_seconds holds the number of seconds you want to convert to hour min and seconds
    DATA: lv_seconds type i,
               lv_hrs  type  i,
              lv_sec type i,
              lv_min type i.
    lv_hrs = lv_seconds / 3600
    if lv_hrs >= 1.
    lv_min = (lv_hrs - trunc(lv_hrs))*60
    here again handle seconds if min >60.
    else.
    lv_hrs = '00'.
    lv_min = lv_hrs*60
    It is just hint ..how you can manipulate the seconds to get it...you will have to think about the complete algorithm
    Regards,
    RK

  • Can we do caluculated keyfigure with in a restricted key figure

    can we do caluculated keyfigure with in a restricted key figure give details

    Hi,
    Calculated key figures consist of formula definitions containing basic key figures, restricted key figures or precalculated key figures.
    The key figures that are restricted by one or more characteristic selections can be basic key figures, calculated key figures or key figures that are already restricted.
    For more help go to these links,
    http://help.sap.com/saphelp_nw04s/helpdata/en/61/d0b143aa26b849b4e79a859ea1d7d1/content.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/13/e072abaddb574284d22361f0b824bf/content.htm
    assign points if it helps
    Thanks & Regards,
    santo

  • Key figure description for key figure YKFRFCFGD does not exist in liveCache

    Dear SAP Gurus,
    We have upgraded our APO 3.10 to SCM 5.1,
    Sopport Pack details:
    SAP_BASIS 700 16
    SAP_ABA 700 16
    ST-PI 2005_1_700 6
    PI_BASIS2006_1_700 6
    SAP_BW 700 18
    SAP_AP 700 13
    LCAPPS 2006_700 4
    EA-IPPE 400 13
    SCEMSRV 510 7
    SCM 510 6
    SCMBPLUS 510 6
    SCMEWM 510 6
    SCMSNC 510 6
    SCM_BASIS 510 9
    BI_CONT 703 10
    QIE 200 5
    ST-A/PI 01K_SCM500 0
    and Live cache 7.4.02.29 from to 7.7.03.23
    We facing following issue during APO operation in live cache.
    Error details:
    "Characteristic combinations with liveCache anchor but without time series"
    "Key figure description for key figure YKFRFCFGD does not exist in liveCache"
    "There is an inconsisteny between the key figure descriptions in liveCache and in the database. The key figure description of key figure YKFRFCFGD exists in the database but not in liveCache."
    Kindly help me out on this.

    Please execute Live cache consistecny check:
    for Planning area , check all the option.
    /SAPAPO/TS_LCM_CONS_CHECK
    MPOS:
    /SAPAPO/TS_PSTRU_CONS_CHECK            
    Manish

Maybe you are looking for

  • Adding multiple items at once to a SharedCollection

    I'm playing around with Cocomo for the first time. I like it a lot, but haven't yet got enough understanding of the API. So I'm sure I'm missing something obvious. Anyway. I want to build an application that share an array of items between clients. T

  • Issue while installing HP System Insight Manager on Windows Server 2008

    Hi everybody, as I wrote in the subject, I'm having trouble while trying to update my HP SIM vers. 6.1 to HP vers. 7.1 on my server running Windows Server 2008 Enterprise SP1. I encounter the errore message: "HP System Insight Manager Installer detec

  • Safari vs. Firefox and Other Browsers

    As already posted in these Safari forums, a number of people can not visit certain web pages using Safari under Leopard, while Firefox and similar browsers, and also Safari under Tiger, can. Some people can not visit certain pages at all, and some pe

  • Opening a tab-delimited file in numbers

    Hello, I have a tab-delimited file with the extension .srt to open in Numbers. I can do this easily in Microsoft Excel by going to the Open menu. It then gives me the option to say how the file is delimited and then it opens it. I can't seem to do th

  • Problem in importing BAPI into XI environment

    Hi, I am trying to import BAPI_SALESORDER_CHANGE into XI. When I try to import it just hangs. Other thing is when I try to import Z function module, it give me following error + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: The function modu