Hiding different characteristic columns for 2 separate key figures - Part 1

Hi,
I am defining an input ready query for Integrated Planning. The aggregation level and layout in BEx Query Designer are as follows:
Company Code - Column
Business Area - Column
Chart of Accounts - Column (Hidden)
G/L Account - Column (with Hierarchy display based on FSV enabled)
Fiscal Year Variant - Column (Hidden)
Fiscal Year - Column (Hidden)
Fiscal Year / Period - Row
Budget (Custom Key Figure like 0BALANCE) - Row
LV Budget (Custom Key Figure like 0BALANCE) - Row
The output is as follows (for three months, without hierarchy display for ease of understanding):
                                         LV Budget                      Budget
CCode  Bus Area  G/L Account  FY/Period  Jan 2010  Feb 2010  Mar 2010   Jan 2010  Feb 2010  Mar 2010
ABC    1100      1022514                 1000.00   1500.00   2000.00    1200.00   1600.00   2200.00
ABC    1100      1022515                 1100.00   1600.00   2100.00    1300.00   1700.00   2300.00
So far so good. The KF are input ready and I am able to save values. The problem is that the business requirement is for a different number of columns to be displayed for LV Budget and Budget, i.e. LV budget is only maintained for, say the first 2 months and budget is maintained for 3 months. Ideally the output should be 2 columns (Jan and Feb 2010) for LV Budget and 3 columns for Budget (Jan - Mar 2010). Currently, I am getting 3 columns each for LV Budget and Budget (Jan - Mar 2010).
I have tried removing Fiscal Year / Period from the drilldown (across) and creating a structure with five selections, 2 for LV Budget and 3 for Budget with the appropriate selections accordingly:
Key Figure = LV Budget, Fiscal Year Variant = K4, FY / Period = 001.2010 - 002.2010
Key Figure = Budget, Fiscal Year Variant = K4, FY / Period = 001.2010 - 003.2010
The issue is that the query is no longer input ready if FY / Period is removed as a drilldown across. I have tried adding it to the new structure but it gives rise to three columns for each selection, two of them blank (the ones for other FY / Periods than the one specified in the selection), for example:
LV Budget   Jan 2010 Feb 2010 Mar 2010   Jan 2010 Feb 2010 Mar 2010
            1000.00                               1500.00

Hi,
Just try swapping Key figures with Fiscal/Year period in your basic structure (the very first one)
I hope it will help.
Thanks,
S

Similar Messages

  • Hiding different characteristic columns for 2 separate key figures - Part 2

    This is the case even if I hide display for FY / Period. I have even tried saving the query as a workbook and hiding the blank columns, but they are displayed again each time the workbook is refreshed. The workbook remains input ready, but before any values can be entered, the system asks for a refresh amd when I refresh, the hidden columns are displayed again.
    Is there any solution to this problem (maybe via SAP exit, etc.)? I am on the verge of providing the users with two different input ready queries, one for LV Budget and one for Budget, but this is not a good solution and these figures are related and we would like to input them in one place. Sorry for the long post, hope I have made myself clear. Any help provided is sincerely appreciated, thanks.
    Regards

    Hi,
    If you are trying this option then check the workbook settings for column width/ display format after refesh. Select the appropriate.
    I hope it will help.
    Thanks,
    S

  • BEx report -two different calculations for a result for one key figure how?

    All,
    Maybe someone could help me with the following, we have a requirement to setup for one key figure two calculations for result rows. One result (average) for one level, and on a higher level -grand total have a (sum), as for our business it makes sense to do it this way. We have setup average for this KF, we get correct results (see below values 7,5 & 6,5) however for the grand total (across multiple products) so for one level up we need to have a different calculation. How could we achieve this?
    Here is an example:
    location     product          inventory     
    AAAA     11111          5     
    AAAA     11111          5     
    AAAA     11111          10     
    AAAA     11111          10     
    AAAA     Result          7,5      ---> average
    AAAA     22222          5     
    AAAA     22222          6     
    AAAA     22222          7     
    AAAA     22222          8     
    AAAA     Result          6,5       -
    > average
    AAAA     Result (across products)          14      ---> here I want to have a sum of averages

    This could be achieve only IF you upload a hierarchy for product inventory with different levels, wherein each level show subtotals and finally grand total will be shown at the end of the results.

  • Display Units in separate column next to key figure

    Hello All,
    Could someone please explain step by step how to display the key figure results in one column and the mapped unit in the next column using bex analyzer 3.5.   An example would be:
    Now:
    Order# 1  Cost Element1       100Lbs      $100
    Order#2   Cost Element2            5Pcs        $50
    Should be:
    Order#1  Cost Element1        100   Lbs        100    USD
    Order#2  Cost Element2          5     PCs          50    USD
    I should mention that I've tried displaying the characteritic for units in both the rows and columns with no success  when I displayed it in rows I received the following results:
    Order#1  Cost Element1     Lbs          100           
    Order#1  Cost Element1     USD                                 100
    Order#2  Cost Element2     Pcs                    5
    Order#2  Cost Element 2    USD                                    50
    In summary I would like to display the unit key whichever it may be for the key figure for quantity in one column.  Any help would be appreciated.
    Thanks

    I get crazy .... I can't find that table view icon !!!
    My top menu from left to right is:
    New Query.., Open Query ..., Save Query ..., Save All, Execute, Check, Query Properties, Cut, Copy, Paste, InfoProvider, Filter, Rows/Columns, Cells, Conditions, Exceptions, Properties (Open), Tasks, Messages, Where-used, Documents, Technial Names
    Edit:
    Doesn't matter anymore...I just found a note that "Table view" is not supported anymore in 7.x
    Check SAP note 1002271.
    Thanks
    Edited by: Heiko Hafenmaier on Jun 2, 2010 4:53 PM

  • Fiscal year in the columns outside the key figure structure

    Dear Experts
    I have a report requirement to show the keyfigures in the columns from year 1 to year 10 and in each year there are 4 keyfigures each restricted to 1 quarter for 4 quarters.
    So, there are too many keyfigures to create.
    I am using fiscal year in the columns outside the Key figure structure containing the keyfigures restricted at each of 4 quarters.
    So, when the report displays, all the 10 years will automatically be displayed.
    The problem is one of the 4 quarter level keyfigures needs to be restricted by calendar year.
    How can I read what is the fiscal year for each column at runtime so that I can reference this value to determine the calendar year ?
    As you know, each FY spans 2 Calendar Years. So, i need to restrict this on the 4th keyfigure by calendar year but while having the FY outside the keyfigure structure i can get all the FY, I am not sure how to access this value at runtime so that eg.
    if FY for column 1 is 2010, i can set calendar year to be 2010 to 2011.
    Hope you can give me some clues.
    Thanks you Gurus!
    Best regards
    John

    Dear Sunnybt
    Copy Riyes,  I find your response interesting. Please could you elaborate your idea of using condition in more detail.
    Sorry for my late response.
    Allow me to clarify my statement, which you are right, is unclear.
    By :
    "if the current QuarterFY is less than the current QuarterFY"
    I mean :
    eg. user enters FY range : 2009 to 20NN  (eg. 2017)
    KF_column1_FY2009_Q1______KF_column2_FY2009_Q2____KF_column3_FY2009_Q3______KF_column_FY2009_Q4______KF_column_FY2010_Q1______KF_column2_FY2010_Q2____KF_column3_FY2010_Q3______KF_column_FY2010_Q4_____KF_column_FY_NNNN_Q1
    For each column, where the FY can be any year range entered by user,
    the Text Description of the Column should show either 'Actual' or 'Plan' based on what is the current FY Quarter at runtime.
    If the FY Quarter (eg. 1st column is 200101) is before current FY Quarter (i.e 201103), then the Description of this column should be "Actual" , else "Plan".
    In my current design, I am unable to use customer exit text variable to meet this requirement.
    So, I like to check with you for fresher ideas.
    If not , I would use a workbook, which I am avoiding as the user needs to drilldown and I believe drilldown is not possible in workbooks where report layout needs to be rigid or cell positions fixed. Of course, unless there is a way out of this which I do not know.
    Best regards
    Bass

  • Calculate total and average for same key figure

    Hi Experts,
    I have a requirement where I need to calculate total and average for same key figure no of employees.
    eg:                
    If I enter 03,2009 as Input the reuslt should give from financiual year starting to current month.
         11.2008      12.2008     1.2009     2.2009     3.2009        average
             11          10       12       10        10         10.6
             10         10       11       12        10         10.6
    total         21         20       23       22        20          21.2
    we have only one characteristic in rows... companycode.
    Waiting for your Inputs.
    Regards
    Prasad Nannuri

    no it will work for u
    you have to use variable on 0calmonth or fiscal period depending on what Time characteristic u are using.
    lets say that variable is zcalmonth
    it is based on 0calmonth for e.g.
    now u restrict keyfigure with this variable zcalmonth with time char. = 0CALMONTH
    copy and paste the restricted keyfigure
    now set offset for variable in  variable selection screen dialog box = -1
    repeat this until u want
    make this variable mandatory
    now at query execution user will select any value for month/year
    and u will see all 5 months in result set
    now there can be maximum 12 months in a year, so u end up creating only 12 restricted keyfigures.
    use YEAR in restricted keyfigure too, and restrict it with YEAR VARIABLE processing by CUSTOMER EXIT = CURRENT YEAR
    in this case it will automatically removes any additional values...
    for e.e.g
    YEAR = 2008 only
    User entered 6/2008
    so lets say ur financial year starts in  april 2007 and ends in april 2008
    so u expect to see
    4/08
    5/08
    6/08
    but u created 12 restricted keyfigures , so it will show upto
    4,5,6 months only

  • Exception aggregation for calculated key figure

    Is it possible to have exception aggregation for calculated key figure in BW 3.5? As per Note 1151857, it is possible, however this note applies to BI 7.0.
    As per note 152638, it is possible in older version only simple ckfs like 'CKF = Base key figure'.
    Is there any workaround to define exception aggregation for complex CKFs in BW 3.5?
    My requirement is like this -
    CKF = (sales quantity - forecast) %share (sales quantity).
    Aggregation for CKF over time should be sum whereas, for all other characteristics calculation of CKF should be done after aggregation(normal scenario).
    So, defining exception aggregation of CKF as 'Summation' over time should fulfil my requirement.
    I can not use calculate result as 'summation' setting for CKF because of following design of report.
    Report contains structure(characteristic)
    Elements of structure are -
    Last 3 months(April - June)
    Last 3 months - 1 (Mar - May)
    Last 3 months - 2 (Feb - Apr)
    and so on...
    When data is aggregated for each element of structure, base KFs will be aggregated and calculations will be done on that.
    Changes in the backend are also not possible because, normal aggregation of CKF-alike in backend will be summation for all characteristics.
    Is there any way in BW 3.5 to model such a scenario?
    Thanks and Regards,
    Anup Kulkarni

    Sum of individual values of CKFs is not same as the Calculation on 'sum of basic key figures(result of basic key figures)'.  - Yes, you are right.
    I need to aggregate CKF over time as SUM. However, calculation for result of all other characteristics should be based on results of basic key figures and not the 'Sum of individual values of CKF'.  -
    What i understood is that whenever the time char is in row, then result should be simple on the sum what ur getting but when other char are there then it should go for calculation based on the sum of key figure.
    If im not wrong in getting ur point.
    How can two differenct activites be perofrmed on same key figure depending on the characteristic .....!. For this u have to think some other possibility or let somebody else update the thread.

  • Currency Translation for Calculated Key figures

    Hello Friends I want to use the Currency Translation for Calculated Key figures.
    But when I go to Query and go to conversion tab it is always greyed out. Does that mean we can set the fixed conversion type for calculated key figures. like ZSAD Total debit - credit -flow value.
    What is the way to do fixed currency translation in query for calculated key figures.
    All the below is done now just want to specify this in query but I can'nt since it is greyed out.
    All the below is done
    I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
    2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
    3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
    which is beginning of period.

    Hi soniya
    Your calculated KF is result of some calculation ...so system will not allow u to do any translation on it...to get CT on CKF you should do it on base key figure...still if you wish to do then you can create a formula variable having processing type a customer exit...write code in cmod to rad exchange rate and multiply ur CKF by this formula variable....
    Thanks
    Tripple k

  • Do we write variable customer exits for virtual key figures in Bex?

    Hi all,
    Am I thinking the right here " We write variable customer exits in CMOD for virtual key figures in BEx " or am I totally wrong. If thats the case where do we write it.
    Thanks,
    JB

    Nevermind

  • Add update rule for new key figure in one info struc

    Hi, everyone
    I would like to know how to add update rule for new key figure in one info struc.
    Thanks ahead.
    Eric

    1)I have created the update rule for one info structure
    2)add one key figure in the info structure due to business requirement
    3)then I use MC25 to add update rule for the new key figure, but I find that there no relevant menu to do such operation.
    Can anybody tell me how to do with it?
    Any answer will be appriciated.

  • How to create Variables for the Key Figures

    Hi All,
    How to create Variables for the Key Figures
    Thanks
    Bhaskar

    Hi,
    It is not possible to create the variables on Key figures directly. But we can create a formula variable with processing type 'User Entry' ,SO that the user entered value can be used in the calculations of the query.
    With rgds,
    Anil Kumar Sharma .P

  • ABAP-Coding for EVERY Key figure in infocube 0RT_C02

    Hello gurus;
          Does anybody know which is the reason for Abap-coding for every key figure in infocube 0rt_c02 from InfoSource 2lis_13_vditm?
    Thanks in advanced!
    Csr

    Hi,
    this is done like this in the business content because the extractor is providing the data with a process key; this process key is then translated into meaningfull business objects (key figures);
    fro instance ProcessKey 202 in application SD is reflecting Credit memos:
    * Credit Memo
      IF COMM_STRUCTURE-PROCESSKEY = '202'
        AND COMM_STRUCTURE-BWAPPLNM EQ 'SD'.
    * currency convert
        IF COMM_STRUCTURE-COST <> 0.       "Value in document UNIT
          PERFORM LOC_CURR_CONVERT
            USING    COMM_STRUCTURE-COST   "Value in doc UNIT
                     COMM_STRUCTURE-TRANS_DATE     "Date for exchange
                     COMM_STRUCTURE-DOC_CURRCY     "Document Currency
                     COMM_STRUCTURE-LOC_CURRCY     "Local currency
    *                COMM_STRUCTURE-EXCHG_RATE     "Exchanging rate
                     COMM_STRUCTURE-/BIC/ZEXRATEAC "Exchanging rate Acctn
            CHANGING RESULT.
    * the KPI's must be turned to positive because the SD-extractors
    * allways deliver them neg. if it's a process back (e.g. return order)
          RESULT = RESULT * ( -1 ).
          UNIT = COMM_STRUCTURE-LOC_CURRCY.
    * if the returncode is not equal zero, the result will not be updated
          RETURNCODE = 0.
        ELSE.
    * if the returncode is not equal zero, the result will not be updated
          RETURNCODE = 4.
        ENDIF.
      ELSE.
    * if the returncode is not equal zero, the result will not be updated
        RETURNCODE = 4.
      ENDIF.
    the above routine is quite self explaining the code.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • Property u201Czero allowedu201D must be identical for all Key Figures.

    I am having the following error message when trying to run a Statistical Forecast in the Background.  The job cancels out and I receive the error message:  Property u201Czero allowedu201D must be identical for all Key Figures. 
    When I look in RSA1 under Key Figures Details "zero allowed" appears to be checked for all Key Figures.  Can anyone point me in the correct direction I've already tried searching and did not find the answer.
    Thanks.

    HI,
    The setting is not in RSA1 but is in /SAPAPO/MSDP_ADMIN - Administration of Demand Planning and Supply Network Planning
    choose the relevant Planning area right button click on the Planning area choose change key figure settings. From here you can check the flag Zero allowed for the key figure that Stat. FCST is generated.
    Best Regards,
    Ivo Stoyanov

  • Create Badi for Virtual Key Figure

    Hi experts,
    i have to create badi for virtual key figure in BIW for dat i m creating Badi in BI development but its asking for Access Key.
    Badi name is RSR_OLAP_BADI
    i want to know while creating classic Badi with Implementation Name do developer need access key or thr any othr way to develop Badi for Virtual Key Figure.
    Tell me for creating virtual key figure in biw we use Badi and for dat we have to create the Badi in BIW Dev. or in R/3 Dev.
    it first time dat i m creating BAdi.
    Ankit
    Edited by: ankit375 on Feb 3, 2011 11:14 AM
    Edited by: ankit375 on Feb 3, 2011 11:14 AM

    To see how to create this BADI see here:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/90b2babc-15ad-2d10-c4b2-bd3af67d86b1
    You you need to be registered as developer (you have to have dev.key) to do the coding.

  • Planning book values for certain key figures show doubled up numbers

    currently on SCM 7.0, we are facing a strange intermittent issue of doubled up values in planning book for certain key figures when compared to the underlying Infocube.
    This happens when the Input process step happens, some times when the process step fails in chain and is run again.
    After its run then we load data to the planning book , then when the key figures show up for the current week bucket they show Doubled up values
    We tried to run a consistency check /SAPAPO/OM17 (DP time series option) but no result.
    Can anyone mention what could be the reason ?

    Hi,
    Please check the data in the cube for the codes . There could be double request for the same keyfigure. When you copy from cube whatever value avilable in the cube gets into Planning book.
    Transaction : LISTCUBE
    Solution : Delete the old request and check the value agina in cube. Execute the TSCUBE.
    Thanks,
    Jeysraj

Maybe you are looking for