Keyfiguers

Hi all,
           What is the difference between the Virtual KeyFigures and Calculated Key Figures?
thanks in advance.
revathi.

Hi Revathi,
Refer these links:
http://help.sap.com/saphelp_nw04/helpdata/en/13/e072abaddb574284d22361f0b824bf/content.htm
How to implement Virtual Characteristics or Virtual key figures
Re: Virtual Characteristics
Virtual Characteristics and Virtual keyfigures
virtual key figures & charecteristics
Bye
Dinesh

Similar Messages

  • Virtual Chars  and Keyfiguers

    Hi friends,
       how can we define  virtual charecterstics and Virtual keyfigures.. in the info object creation screen there is no  option to  define that object as a Virtual.. then how can we define that object as  virtual..
       and in what situation we can declare as  virtual... can you plz  give me a brief explination abt this... plz dont suggest any links... i did't got any conclusion by seeing those links..
        help ful answers  will be  highly appriciated...
    regards
    Babu

    hi babu..
    virtual key figures are key figures within an InfoProvider that are not filled with data. Instead the key figure value is determined at runtime of the query using custom ABAP coding .(or)
    Virtual characteristics and Key figures are useful if you want to dynamically pouplate data from the fact table to the field which doesn't have any data in the fact table and also used to build an internal security model before the data gets passed to DATA_PROVIDER.
    Virtual Characteristics and Virtual key figures are not part of data targets.
    By Virtual Characteristics and Virtual key figures Query performance is going to impact.because these are not part of the data targets.
    Ex: you have keyfigures profit,sales
    You are going to create a Virtual key figures say COST = sales - profit.
    so these cost is a Virtual key figures which is not part of a data target.
    when you execute particular query your OLAP processor is going to pick the data by caluclating the COST.& it impacts the query performance.
    You can get more information if you review the documentation for enhancement RSR00002.Go to SMOD type in RSR00002 and select the documentation radiobutton..
    /people/sap.user72/blog/2005/02/14/logistic-cockpit--when-you-need-more--first-option-enhance-it
    /people/sanyam.kapur/blog/2005/04/30/custom-fields-and-bw-extractors-making-a-mixed-marriage-work-part-ii
    Also check these threads tooo.
    Virtual Characteristics and Virtual keyfigures
    Virtual chars and key figures
    sampel code for virtual key figures
    Virtual Key Figure
    Virtual Key Figure
    Virtual key figure
    Code for Virtual keyfigure
    virtual key figures
    See this:
    https://forums.sdn.sap.com/click.jspa?searchID=3080291&messageID=3366412
    https://forums.sdn.sap.com/click.jspa?searchID=3080291&messageID=3371606
    and
    https://forums.sdn.sap.com/click.jspa?searchID=3080292&messageID=3309795
    In SAP BW, values of key figures and characteristics do not necessarily have to be stored permanently in an InfoCube or in a master data attribute table. Virtual key figures and virtual characteristics allow the dynamic computation or derivation of values for key figures and characteristics at query execution time.
    Examples 4 Virtual Characteristics
    Dynamic categorization of key figure values such as age groups and price ranges, where the basis for calculating the categorical values is variable (as for the age).
    2.Computation of complex compound values, combining information read from the InfoCube
    with current information retrieved from other sources (e.g., master data attributes).
    Virtual key figures can be used to perform complex computations on the fly that are
    beyond the scope of the formulas available in the BEx Query Designer.
    Examples include
    1.Dynamic computation of the current age of a customer based on the current date and the birth date of the customer or the number of days on back order.
    Both virtual key figures and virtual characteristics are rarely used, as they impact query performance and the degree of flexibility in defining aggregates significantly.
    hope this helps..

  • Inventory problem

    Hallo friends..
    I am in a big mess with inventory data.... I loaded the data using HOW TO INVENTORY PDF.
    I am using three infoobjects in the cube
    0CPTOTSTOBU (Last Valuated Stock Total/BUn) - Non cumulative
    in this infoobject two more KF are used ie
    0CPTSTREBU (Receipts to Valuated Stock Total / BUn)  as INFLOW
    and
    0CPTSTISBU (Issues from Valuated Stock Total / BUn') as OUTFlow
    when i see the cube content after loading the data I see the values coming finely in both the inflow and outflow fields.
    but in report when i put these 2 key figures ie (0CPTSTREBU and 0CPTSTISBU ) its blank.
    Also I have created one calculated KF using above 3 keyfigueres ie
    Opening Balance = 0CPTOTSTOBU (Last Valuated Stock Total/BUn) + 0CPTSTREBU (Receipts to Valuated Stock Total / BUn) - 0CPTSTISBU (Issues from Valuated Stock Total / BUn')
    But the result doesnt pickup values of 0CPTSTREBU and 0CPTSTISBU.
    Pls advice... is there anything i am missing??
    why is that i can see values in cube but not in report for inflow and outflow KFs.

    Hi Christine,
    Unfortunately it is quite involved. You need minimum of two info sources: 2LIS_03_BF and 2LIS_03_UM.
    Most important is 2LIS_03_BF. It delivers material movements quantities and values. The second one, UM delivers the “revaluations”. Normally revaluations happen once each end of month (period). Roughly this is when they change the price of the stock.
    Concentrate on BF and make it work. After extracting all available movements (this is LO extraction, you have to be familiar: 1) delete setup table data, 2) init without data, 3) load setup tables, 4) load with repair full, 5) load delta… transactions LBWQ, LBWE, RSA7, in the Dev system you can just load all available data…, I assume…)
    In the development system you should be able to see inventory qty same as in R/3, transactions MB53, MMBE, etc.. Pick a material number and work with it.
    You will need UM also, values will not be correct without UM data.
    The 2LIS_03_BX extractor is provided in case your material movements table is very large and you would like not to start from the beginning but from a certain moment of time. It essentially loads the current inventory and then you need to load the movements in the past and in later in future(the deltas). I suggest, leave this for the end. If you are ok with loading all material movements no need to load this data.
    There are delivered cubes you should start with. Cube 0IC_C01, 0IC_C02…
    Look at OSS note 586163. Lot of useful stuff there…
    Yes, it is scary, but eventually all works nice...

  • Formula on multi planning layer not working

    Hi all,
    I am facing a problem with a formula based on an complex multi planning layer.
    Aggr. Level is based on a multi provider covering 2 basic cubes, 1 DSO and on planning cube.
    The formula is supposed to retrieve data out of the planning cube and the DSO and then calculate and write back calculated results to the planning cube.
    Tracing the sequence with the planning function it shows that data form each source (Cube, DSO) are retrieved in seperate blocks.
    Allthough the values get lost with start of each new block. Therfore the calculation is allways producing a "0".
    How can I leave all values available through all blocks the system goes through?
    what do I have to change coding or data model ?
    I would be very happy if someone can drop some help.
    Dirk
    Code Exerpt..........................
    DATA WVO TYPE F.
    DATA WVO_PCT TYPE F.
    DATA SALES_IST TYPE F.
    DATA SALES_PLAN TYPE F.
    DATA POC TYPE F.
    DATA POC_SALES_PLAN TYPE F.
    DATA OVHP1 TYPE F.
    DATA OVHP2 TYPE F.
    DATA OVHP3 TYPE F.
    DATA OVHP4 TYPE F.
    DATA OVHV1 TYPE F.
    DATA OVHV2 TYPE F.
    DATA OVHV3 TYPE F.
    DATA OVHV4 TYPE F.
    DATA PLANR TYPE PT_PLANNR.
    DATA WBS TYPE PT_SUBWBS.
    DATA WBS1 TYPE STRING.
    DATA WBS2 TYPE STRING.
    DATA WBS2A TYPE STRING.
    DATA WBS3 TYPE STRING.
    DATA WBS4 TYPE STRING.
    DATA WBS5 TYPE PT_SUBWBS.
    DATA PRJ TYPE 0PROJECT.
    DATA KOA TYPE  0COSTELMNT.
    Data from Planning Cube
    SALES_PLAN = {0AMOUNT, #, PT_PC01, 003055,  300, 020, #, PLANR, WBS}.
    SALES_IST = {0AMOUNT, #, PT_PC01, 003055,  300, 010, #, PLANR, WBS}.
    WVO = {0AMOUNT, #, PT_PC01, 003050,  300, 020, #, PLANR, WBS}.
    POC = (SALES_IST/SALES_PLAN).
    POC_SALES_PLAN = ((SALES_PLAN + WVO) * POC).
    WVO_PCT = (WVO * POC).
    Data from DSO -- that are in a different block
    OVHP1=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, ADM, #, #}.
    OVHP2=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, CMF, #, #}.
    OVHP3=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, SAL, #, #}.
    OVHP4=  { ZPT_OVH, #, PTD_OVH1, #,  #, #, DEV, #, #}.
    This calculation allway results in "0" since OVHPx and WVO only can be calculated in different blocks
    either one or the other is "0" and 0 multiplied by somthing = 0
    OVHV1 =  OVHP1 *  WVO_PCT.
    OVHV2 =  OVHP2 *  WVO_PCT.
    OVHV3 =  OVHP3 *  WVO_PCT.
    OVHV4 =  OVHP4 *  WVO_PCT.
    ****Final result to be written back to laning cube
    {0AMOUNT, 0000930300, PT_PC01, 001000,  000, 020, #, PLANR, WBS5} = OVHV1.

    Hi There,
    thanks for response.
    I ended up and splitted the whole thing into separate steps with own aggregation levels and saved interims results in the cube.
    I tried to incorporate the DSO data into the planning cube and to cover the character differences that resulted in teh differnet blocks. But since the keyfigueres are different types (amount, integer) the currency remained.
    So i made a FM for getting the numbers directly form teh DSO table.
    what still bugs me that there is not way of taking values from one block to the next via variable.
    Cheers
    Dirk

  • How can we restrict Key Figure in the BI System

    Hi All,
    Can any one explain How can i restrict key figures in BI system.
    So when i create a query a specific user  can only execute it if a specific key figure is a part of query otherwise he is not allowed to execute a query.
    For Example:
    A user TEST123 is allowed to execute a query with keyfigure Quantity he is not allowed to execute the query if any other key figure is present in the query
    Regards,
    Deepak

    Hay Diogo,
    Bravo...
    Your suggetions always work for me. The scenario was that
    A user TEST_PLD08 should only allow to see output for the querys which consist of the keyfigure PLDQUACMP and not for other keyfigures while other user TEST_PLD07 is allowed to see the output for  querys consist of any of the keyfiguers.
    so I have assign a authorization profile  PLD_TEST07 to the user TEST_PLD08 with KeyFigures authorization as mentioned below and it is working fine
    I     EQ     :
    I     EQ     PLDQUACMP
    You can forward me more scenarios like this if you can think of more it will be really helpful for me
    Regards,
    Deepak

  • RE: all abapers

    Hello friends,
                  Some people are not giving points. They are just taking help.  So this is not good.  Please assign points after getting help.

    Hi Tarak,
    Okay thanks for the information. My report accepts calender year/month as an intervel.
    I  just want to get it right. So to get YTD values for order received ,cost key figures. I just need to restrict the keyfigures with the calender year/moth variable entered  for the YTD  values of CY ofthe key figure.
    To get  YTD values of last year just restrict the keyfigures with calender year/month variable and give the offset as -12 for the variable right?
    I also specified that for a calender year/month value entered in the selection i need to get all the Keyfigures values from Jan to Dec for the calender year/month entered.
    Like i may need to have 12 keyfigueres,each showing the value of keyfigures for that calender year/month period,
    I just have the calender year/month as the variable in report.
    Kindly advice.
    Regards
    Madhuri

Maybe you are looking for

  • Capture problems please help

    I was using FCE 1.0, an old Mitsubishi U70 twin digital SVHS VCR with S-video out cables, a Canopus ADVC-55 converter and my G4 running OS 10.3.9. I was able to capture just fine. Then I upgraded. I upgraded to FCE HD and Quicktime v.7. Now I cannot

  • Custom Instruments Not Saving

    I'm having an issue with GarageBand/Logic that just doesn't make sense to me.  I have several aiff files that I want to use as samples for a custom instrument.  I have followed the steps found here to the letter: http://www.macprovideo.com/hub/logic-

  • How do I create JUComboBoxBinding.createLovBinding ?

    Hello, I want to create a combobox with values from another view Object . For example. I have a view Object Person (PersnView) and another Departement (DptView). I have a frame with the combobox comboManager. In this combo I would like to display the

  • Sending photos via iCloud

    I have been trying to sent photos packaged as a 31.2 MB PDF file, using iCloud and it will not send it.  It says connection error with server.  Is this file to large? 

  • Event for page down

    Hi, I would like to know if there is any event that is triggered when we press page-down in alv list display