SAP Note 0407563: Key Figure Model versus Account Model in BW

I am reviewing a document on Key Figure Model versus Account Model in BW.
There are a number of references to "SAP Note 0407563", can anyone with access to this note post it here for me to review. Sometimes some otf there links prompt for password.
Thanks in advance.

Hi,
<b>SAP Note 0407563</b>
Symptom
You would like to design a data model for SEM-BPS and you are not sure, whether to use the key figure or the account model.
You are looking for proposals for data modelling.
Additional key words
bps0, key figure, characteristic, model, data modelling, consultation
Cause and prerequisites
In the following you find a simple example by means of which the terms key figure and account model are defined.
In the example we want to assign several key figures (for example revenues) to a characteristic (for example customer), whose units (for example currency DM) are identical.A modeling option, which is called key figure model, contains all key figures in one data record.
Customer Revenue_1 Revenue_2 Revenue_3 
A 10 DM 30 DM  50 DM 
In the account model, on the other hand, an additional characteristic is added, which separates the revenue types.
Customer Type Revenue
A 1 10 DM
A 2 30 DM
A 3 50 DM
Advantages and disadvantages from the point of view of data modelling
You can easily add an additional revenue type in the account model, because you do not have to change the data structure.In the key figure model, on the other hand, you must add an additional key figure to the structure.It actually depends on the frequency of these changes occurring.
A data record that is to be changed by a processor, is exclusively locked by SEM-BPS for this processor.A lock that only concerns individual key figures of a data record is not possible.As a consequence the different revenue types can be changed simultaneously by different processors in the account model, wheras in the key figure model one processor automatically locks all key figures exclusively for his own use.
If you use a planning function in the account or key figure model, a different Customizing is required in general. Consequently, a conversion of the data model leads to a change of Customizing in general.
Advantages and disadvantages from the technical point of view
The transaction data is stored in the BW.Analyses have shown that the read time basically depends on the number and not on the size of the data records.In the above example you can see that by changing the key figure and account model the number of records increases by factor 3, which means that you must expect longer read times.When determining the factor you must take into account that normally not all key figures are used in every record in the key figure model.As a consequence only those records are created when changing to the account model, for which the key figures are not equal to zero.
Example:
So if in the above example the key figure Revenue_1 is not used, only two records are generated and consequently the value of the factor is also reduced to 2.
After the transaction data has been read from the BW, it is stored in the application server's memory.The amount of memory required depends, among other things, on the number and on the length of the records.The length can be influenced by the data model you choose:in the key figure model the records are longer than in the account model and therefore consume more memory for each record. Therefore, the key figure or account model will require less memory depending on the relationship between record length and number of records.
When the data model is changed, also the planning functions must be revised.Depending on the type of calculation there might be advantages for one of the models.
Example and rules of thumb
The following example contains 30 key figures, which were mapped to 3 key figures and one additional characteristic with a maximum of 10 characteristic values when you changed to the account model.In both models a price calculation between three key figures each was executed.Consider the specifications in the table as relative specifications:For the number of data records you for example find a and a*10.This means that in the second case the number of data records is larger by factor 10 than in the first case.The determination of the relationships is based on 5000 data records in the key figure model.
Example: all key figures are used (100%)
measured size      :     Key figure model, Account model
Number data records:      a      ,     a*10
Read time       :     l      ,     l*10
Price calculation:      t      ,     t*9
Data record length:      d*4      ,     d
Memory requirement :     m      ,     m*3
Example: Key figures are partially used (20%)
measured size      :     Key figure model ,Account model
Number data records :          a      ,     a*2
Read time           :     l      ,     l*2
Price calculation      :     t      ,     t*2
Data record length      :     d*4      ,     d
Memory requirement      :     m      ,     m*0,8
How are the sizes determined?
Read the related notes for details on the use of the statistics.
1. a: In the statistics of SEM-BPS or BW this value is stored when you execute a planning function. The method has the name 0-DB1.
2. l: The above statistical record also contains the execution time.
3. t: In the statistics of SEM-BPS a record is stored for the planning function.The overall runtime of the planning function contains the database time. Therefore the database time must be subtracted from the runtime of the planning function to determine t.
4. d: The data record length corresponds to the data structure length (ABAP length), which is generated for every area.The name is made up as follows:
  Prefix:  /1SEM/_YS_DATA_
  Client: mmm
  Name of the area: gggggggg
The client must always be specified with three digits, the area only in its actual length.The name for an area called 'MYAREA' which is in client 001 is for example /1SEM/_YS_DATA_001MYAREA.When you determine the length, note that there is the dictionary and the ABAP length (Transaction SE11 => Extras => Structure width => ABAP length) and that the total of the two structures contained must be determined.In the structure stated above, for example /1SEM/_YS_CHAS_001MYAREA and /1SEM/_YS_KYFS_001MYAREA are contained.The total is the length you are looking for.
5. m: After executing the planning function, start Transaction STAD and find the appropriate statistical record for the dialog step, in which you have executed the planning function.The record contains a memory specification, which is the desired value for s.
Solution
Bear in mind that the values from the example are not generally valid, but were determined from a specific example.We recommend that you determine the parameters (both the values of the variables and of the relationships) for your specific case and to use it as the basis for discussion.You should not choose too few data records, because the fixed memory consumers predominate otherwise.
Regards-
Siddhu
Message was edited by: sidhartha

Similar Messages

  • Problems in using a calculated key figure in the Clustering Model

    We have a problem in using a calculated key figure in the clustering model. With the limitation of the standard, in the Field tab, each calculated key figure cannot be selected from the selection screen directly. According to the SAP help, we have to use a dummy infoobject for a calculated key figure.
    Are there any other ways to use a calculated key figure without using a dummy infoojbect?

    Hi,
    Make use of aggragation property of the keyfigure, for summing the values of that KF.
    Regards,
    Rajkandula

  • How to transfer from key figure model into account model?

    Hello,buddies:
       If I have a datasource wich upload from FLAT FILE contains only key figures and I know every key figure's meaning,then I want to transfer it into account model.
       For example,I have data like this
      training fee salary   compensation
        20000          5000         5678
       then I want to transfer this to:
      training fee 20000
      salary       5000
      comp         5678
      because the source contains no cost element,and the target contain elements.
       How can I do this?

    Hi Martin,
    You can use result table functinality in routines of update rules.
    Assuming 0COSTELMNT and 0AMOUNT are the target fields
    in your cube, value1, value2, value3 represent fields
    form flat file/commstructure code for 0AMOUNT could be like this :
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value1.
    RESULT_TABLE-COSTELMNT = 'training fee'.
    append RESULT_TABLE.
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value2.
    RESULT_TABLE-COSTELMNT = 'salary'.
    append RESULT_TABLE.
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value3.
    RESULT_TABLE-COSTELMNT = 'comp'.
    append RESULT_TABLE.
    So you generate 3 records for Infoprovider from one out of commstructure.
    Regards
    Joe

  • Convert key figure model into account model

    Hi experts,
    I'm trying to extract data from table GLPCP, which is based on the account model, i.e. every month in the table is represented by a column:
    PC - ACC - AMTJAN - AMTFEB - AMTMAR etc
    123  1000  100      120      110
    Whereas in BW the data should look like this (key figure model):
    PC - ACC - PER - AMT
    123  1000  01    100
    123  1000  02    120
    123  1000  03    110
    What would be the most elegant way to do this?
    I think I would have to do the conversion in the Start Routine of the Transfer Rules?
    As I'm a hopeless case when it comes to ABAP, any code examples would be highly appreciated!
    Thanks in advance.
    Gerrit

    Hi Martin,
    You can use result table functinality in routines of update rules.
    Assuming 0COSTELMNT and 0AMOUNT are the target fields
    in your cube, value1, value2, value3 represent fields
    form flat file/commstructure code for 0AMOUNT could be like this :
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value1.
    RESULT_TABLE-COSTELMNT = 'training fee'.
    append RESULT_TABLE.
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value2.
    RESULT_TABLE-COSTELMNT = 'salary'.
    append RESULT_TABLE.
    RESULT_TABLE-Amount = COMM_STRUCTURE-Value3.
    RESULT_TABLE-COSTELMNT = 'comp'.
    append RESULT_TABLE.
    So you generate 3 records for Infoprovider from one out of commstructure.
    Regards
    Joe

  • Bex report does not display key figures

    Friends,
    Need help urgently.
    We have a report of a multicube(MC1). key figures of one of the infocube(IC1) in the multicube(MC1) does not showup on the report.
    If reported independly on that IC1 it does show all values. This sounds really weird but its taking up all my time.
    Please friends, need your inputs on what else could have gone wrong.
    FYI...earlier we had same problem but creating new report on this multicube resolved problem. But this time, we have a new KF added to the infocube(IC1). But no change to the reports are made. Even though problem occurs.  I even transported all the rules, multicube and infocube.
    Please help me identify what could be the cause for it.
    -Raj

    Gupta,
    Thanks, this resolved my problem.
    But here;s another issue that came up now.
    I have a keyfigure (conversion factoor to EA) as attribute to master data infoobject (zmatnr). I have this included in the multicube. On the query, I have created a replacement path variable for conv. factor and this works well with all reports except this sales report which has key figures included from multicube(from multiple infocubes in muticube. Any idea what is that i am doing wrong?
    thanks

  • What makes this a Key Figure Model (and not Account Model in BW) ?

    I am reviewing a document on Key Figure Model versus Account Model in BW.
    this example is said to be "Key Figure" Model
    Customer     Revenue     Deductions     COGS
    A            100 DM      390 DM         50 DM
    What makes this a Key Figure Model (and not Account Model in BW)

    Hi Amanda,
    Consider the simplified a company income statement:
    Sales
    COGS
    -- Gross profits
    Selling and Administrative expense
    Deperication expense
    -- Operating profit
    Interest expense
    -- Earnings before taxes
    Taxes
    -- Earnings after taxes
    Each of this lines is represented in BW as a key figure (lines with '--' represented as calculated KFs).
    Different persons or companies may use their own details of income statement. For example, someone want to see instead of one line "Selling and Administrative expense" two - separatly selling and administrative expenses, or even break down of these expenses by category. In the KF model every new introducted line should be represented by a new KF.
    In the Account Model every line is represented by one KF only. Let name it as 'Amount'. Another characteristic is telling us what kind of amount it is. Imagine that you have accounting trial balance that lists accounts, starting and ending balances, and debit and credit turnovers for each account.
    An accountant will tell you that a credit turnover in account #XXXX represent the company revenue (sales), a debit turnover in account #YYYY - cost of goods sold etc.
    Simplified inflow of transactional data will consist of:
    Account Amount
    XXXX    -12345
    YYYY    8765
    etc.
    In this model (assuming that you load data for all accounts) you can easily change the scheme of calculations and their presentations (groupping, regroupping etc.) in reports without creating new KFs.
    In your example you provide a KF model because every distinct type of amounts is represented by its own KF.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov
    Message was edited by: Eugene Khusainov

  • Key figures are not appearing in the reports ?

    Hi Guys,
    After integration process BW with Crystal 2008. I have tried to build a report on Bex query on top the Infocube. I could not fine key figures. Can you guys help me out ?

    Hi,
    can you run the BEx query in transaction RSRT without any issues and keyfigures are shown ?
    Ingo

  • How to derive a column (not key figure)

    dear all, i am hoping this is going to be a quick on.
    i simply need to derive or change a cell's data or description.
    it is not a key figure
    it's as if i need to access it via an exit and return the desired value.
    for example, if the cell says "A" i want to put in "1", if the cell is "B" a "2". as simple as that.
    i am stumped whether i do this via a global variable, replacement path, text variable or what ?
    any pointers and examples would be great
    thanks
    g

    this kind of requirement you cannot do via  global variable, replacement path, text variable .
    either do it at the backend in field routine.
    or
    THE BEST option is maintain text for values like A ,B etc.
    for the infoobject having value as A. MAINTAIN TEXT AS 1.
    similarly for  value as B. MAINTAIN TEXT AS 2.
    in query designer switch on text in display portion instead of key.

  • Trade Funds report to update Settled key-figure for rebate scenario

    Dear Experts,
    We have a scenario where we are triggering rebate creation in ERP from Trade Promotion in CRM.
    The rebate accruals are generated over a period of time based on sales orders.
    Now we have 3 standard SAP Trade Funds reports which helps us in extracting the accruals data from ERP rebates and updates "Accrual Balance" key-figure of the Fund associated with the Trade Promotion.
    Now in ERP once the rebate settlement is created, is there any standard SAP report which will update the "Settled" key-figure in the Fund.
    Please advise.
    N.B. Our scenario has TPM integrated with Trade Funds & we are using CRM 7.0 EhP1
    regards
    Animesh.

    Many thanks for ur replies!
    problem here is that, since i had declared this  particular fileld as a integer type key figure, it is not allowing me to enter characteristic values in  update formula .
    and venkat, how can i change that key figure to char? is that possible? they have specifically told to write as a key figure. and in this model we have only one key figure ( this particular field ).
    that infoobject is not available in BW as of now. so i had created it as a key figure as was told by them.
    Thanks,
    Ravi

  • How to get the key Figure values.!.......?

    Hi friends...
          I have a scenerio , where I have loaded the data from 3 different data sources say A  , B and C in to 2 different DSO s and in to 2 different Info Cubes. And I have built Multi Provider from this 2 Info cubes.
    In the data source B , I have BELNR (Parked document number ).WRBTR (for Amount). In the report I have to show a field called Nr of Documents Parked and Value of Documents Parked. Same thing for Data Source C,  for Blocked Documents. Now My question is there is no Key Figure in My Data Model to Count the Nr of Parked / Blocked Docs....So in the Reporting how can I show this ? Do I need to use Customer Exits ? Do I need to have CKF /RKF ? if so , from what Key figures ? or Can I get the Count from the Backend (Modelling itself by using a Keyfigure with any Code)?...not only this 2 , I have lot many custom things to do in my Model...If any one can get me some idea on this , remaining will be very easier for me as they all are similar things to do....
    Please let me know if you have any questions or I need to elabarate it more to get an Idea on this....
    Thanks in advance

    THANKS GUYS ,
         I wrote the transformation routiene to count all the parked documents as
      IMPORTING
        request     type rsrequest
        datapackid  type rsdatapid
        SOURCE_FIELDS-/BIC/ZPARKBEF TYPE /BIC/OIZPARKBEF
       EXPORTING
         RESULT type tys_TG_1-RSTT_IPTDA
    DATA TMP TYPE tys_TG_1-RSTT_IPTDA.
    IF SOURCE_FIELDS-/BIC/ZPARKBEF = 'Y'.
    TMP = TMP + 1.
    ENDIF.
         RESULT = TMP .
             But when I see the Infocube data its showing only 0 for Parked Before value 'N' and 1 for Parked Before vale 'Y'. But I want to calculate total number of parked documents ..How can I do this?
    Thanks

  • How to build new basic key figures in library 4FM for different local curre

    Hi Experts.  I am working my reports with library 4FM.  I need to create a new basic key figures in order to create a new report with severals currencies, like group currency or  transaction currency.
    Does anyone know how to do that ?
    regards,
    Ruth

    Yes I did.  they told me:   "availability control only works with local currency. Transactional currencies are not supported in availability control (neither BCS nor Former Budgeting).    The developer confirmed the information above. At this moment that thereare no plans to support transactional (non-local or non-FM area) currencies in BCS in a future release. I am really sorry, but I cannot provide you with a more positive answer,anyway, I propose you to refer to note 11.    11 Requested function is not in standard system.    Note 11 will guide you to request the suggested changes, this is the correct channel and the chance to provide the requested functionality asstandard.  Thank you very much for your understanding!  "
    I wrote them back and I said "we don´t need availability control in another currency, we only need that SAP add a key figures in FMAVCT table in order to have FM reports with different currencies"
    Should I say another thing?
    We are waiting for good news.  will see.
    Thanks a lot for you cooperation.

  • New Restringed key figure

    Hi experts!
    We would like to ask if it is possible to create a new calculated key figure within an BEX report in this way.
    If the key figure is between a range of two key figures calculated, we would like to make it have a value in letters.
    For example, we have the KF 1 with value and the KF 2.
         We would like to have two new key figures having into account KF1.
              If the difference of Key figure is +/- 1, we would like to see a value (ideally in text)
              If the difference of that key figure is supeior to 1, we would like to see other value (ideally in text)
         The the idea is: ¡
              KF3 =>If the value of KF1 is between +2 / -2 over KF2 ==> Value "OK"
                        KF 1 = 10
                        KF 2 = 10,5
                        Range (-1,+1)
                        As result => KF3 with value " OK"
              KF4 => If the value of KF1 is superior +2 / -2 over KF2 ==> Value " NO OK"
                   For example:
                        KF 1 = 10
                        KF 2 = 14
                        Range (-1,+1)
                        As result => KF4 with value "NO OK"
    In case that text is not possible, do you see any other alternative?
    Thank you very much in advance for your help!!

    Hi DieGasse,
    create two restricted KF with the above logic which you have mentioned.
    and then follow the below procedure
    1) click on the exception button in the tool bar
    2) you will get separate tab 'exceptions' .
    Rclick on the area, and click 'create exception'.
    3)Rclick edit --> New
    4)select Good(green)/average(yellow)/bad(red) and the values.
    5)in the definition tab of your exceptions, select your keyfigures
    6)save and activate the same
    let me know if you need more help in this.
    BR
    adlin

  • Cost key figure report

    Hi
    all
    cam some one told me the trs for cost key figure report
    i assign the value categories in pm to sap standard cost key figures
    how to get the report on the basis of this

    hi,
    all
    i want to settle maintenance order
    i know the maint activity type flows to maintenance equipment cost centre the work center work hours
    i don't understand the cost flow of material from sprees account to the equipment cost centre account
    when i settle the order.
    if itick the by cost element and receiver category cost centre
    how the assignments mentioned in allocation structure links with the spares material cost element
    can some body explain me

  • Problem with Overwrite for Key Figures in ODS

    A bit of a long explanation, but the problem is not so complicated...
    We have an ODS containing contract line items.  Each line item has a key figure "Total Contract Target" that is marked with update type "overwrite".  We have modified the extractor that delivers data for this ODS so that the key figure is set to a value from the contract header.  Since we don't want the key figure to be duplicated if there are multiple line items on the contract, the user exit for the extractor modifies only the first line item delivered.
    For example, overall contract target value = 100.  Contract has 3 line items.  Contract target value for line item 1 is 100.  Target value for line item 2 and 3 is 0.
    This all works fine for initial loads, but there is a problem with the business content extractor for deltas.  Whenever a single change is made, it delivers three sets of  records.  Continuing the example, we would receive 9 records for the contract (3 sets of 3 line items).  Each of the three sets contains the same records.  Only the first set has the correct contract target value.  Since the ODS key figure is set to overwrite, our method of setting the total contract value in the first record doesn't work, because the extractor delivers duplicates so the duplicates overwrite the total with a 0.
    Would setting the key figure for total contract value to update type "additive" solve this? (I'm concerned that additions would be made if there were only a change to characteristics and not the key figure).  Thanks for your assistance.

    Since we ought to post solutions to problems we discover for people who search this forum...
    Solved this by modifying the customer exit for the extractor to set the key figure for the first contract line item encountered AND for all subsequent records with the same contract number / contract line item.  Since the key figure in the ODS is set to overwrite, this makes sure that the last record written doesn't overwrite the key figure with 0.

  • Cumulative Key Figure (Running Total) - how to use in formula?

    We have a scenario where I need to use the cumulative value of a Key Figure in a subsequent formula. The “Cumulated” property setting at the Key Figure level in the query is a “Displayed Data Only” setting, however, so the cumulated values are not available for use in a formula  The individual values are used by BW as opposed to the cumulative values that are displayed in the column.
    I’ve tried using the “Cumulated” property at the characteristic level. I am then able to use the displayed cumulative values in a formula. However, I also need to display the individual (not cumulated) Key Figure values in a column. These individual values are no longer available for display if the “Cumulated” property is set at the Characteristic level.
    I thought that the “Define Cells” functionality could possible be used, but there is only one Structure in the query, so the “Define Cells” functionality is unavailable. I could not think of a way to use a second structure in the rows, as the rows need to be dynamic (two characteristics, populated based on user input variables).
    It may be possible to accomplish this requirement by adding a column using VBA in the SAPBEXonRefresh sub, but use of VBA is not a preferred option, as the query may be run in either the Excel Analyzer or the Web Analyzer.
    The infoprovider does not contain a Key Figure field for Cumulative Volumes.
    The scenario details:
    Rows (Characteristics):
    A: Plant (values based on user input variable)
    B: Calendar day (values based on user input date variables for start & end dates)
    So there is one row for each day within each plant.
    Columns (Key Figures):
    A: Cumulative Volume at Start of Period (uses user input date variable for start date, and “Constant Value” property. Hidden column.)
    B: Daily Volume (for each day in the period defined by the user input variables for start and end dates)
    C: Cumulative Volume at End of Each Day (formula, meant to be equal to the sum of the Cumulative Volume at start of period plus the total so far of the Daily volumes. In other words, equal to the sum of Column A plus the running total of Column B).
    Does anyone out there have any more ideas on how to accomplish the required Cumulative Volume computation?

    Thanks for your reply Jurgen.
    I've created a Global Calculated Key Figure (CKF), and have looked at and tried a number of settings in the Properties of this new CKF.
    I have not yet been able to make this work for me.
    The "Cumulated" property for a Global CKF is also a display-only property. The displayed running total is not used in any formula containing this CKF, only the individual values are used in the formula.
    If I select the 'Enhance' option, where exception aggregation can be done as I think you suggested, I do not see a 'cumulated' option. If I select the 'Summation' option for 'Exception Aggregation', then the 'Reference Characteristic' pull-down is not available.
    Is there a different 'Exception Aggregation' option I should be using for running totals at the calendar day level?
    Or am I unclear on the concept of your suggestion?
    Perhaps you're on a later version of BW that has more Exception Aggregation options? (We're on BW3.5)

Maybe you are looking for

  • BUG: apex_item.textarea default values

    ApEx Team.... I doubt this was intentional, but perhaps it was. I certainly won't discredit the idea. In 4.0.1.00.03, I describe the APEX_ITEM package spec and find that the TEXTAREA function has two parameters, p_rows and p_cols, which have defaults

  • Eclipse problem selection does not contain main type

    i m using eclipse3.3 and have set all the necessary paths in it but when i run a simple java program just for displaying hello world but the error comes selection does not contain main type

  • Safari crashes after clicking on certain links in yahoo pages.

    Mac 10.4.9 I have all the latest updates and permissions repaired. This crash only happens with my user account. This does not happen in another account. Firefox is fine. But I need to test our web pages with Safari. Please help! Date/Time: 2007-04-2

  • Group Messaging - What is the seting for?

    I have group messaging turned off in my Message Settings, but I can choose a recipient for a new text - then hit the blue + sign and choose another + another + another...etc.  Everyone on the list receives the text --> iphone users show the group tex

  • What happened to Mac OS X forum?

    I see you all talking about a "redesign." Well, the other day I returned (after some absence) to the gigantic "OS X forum" at http://www.osxforum.com/ and it was just a shell of what it used to be. Gone were the thousands of posts, and gone were most