Difference between Formula, Formula Key Figure & Formula Variable

Hi Experts,
I have a basic question in my mind:
1) What is the difference b/w Formula, Formula Variable, Formula Key Figure?
2) What is the difference b/w Selection, Filter and Restriction?
Can you pls explain with some scenarios? That will be helpful.
Thanks in Advance.

Hi,
You are right, these are basic questions and can be learnt just by a little bit searching.So search the forum before posting such questions please.
Nevertheless :
http://wiki.sdn.sap.com/wiki/display/BI/CalculatedKeyFigure+RestrictedkeyfigureFilter
http://help.sap.com/saphelp_nw04s/helpdata/en/61/d0b143aa26b849b4e79a859ea1d7d1/content.htm
Scenario:
You want to see the revenue that you get from Product A,B,C in the country of D and E.You also want to calculate a bonus value that will be given to distributors and this revenue will be calculated based on the user's input.E.g user inputs 5 and you give 5% of the sales to distributors.Then here, to get the input 5  and TO USE IT IN THE FORMULA ,you must create a formula variable.You also  must a have key figure revenue to see the revenue of course and a calculated key figure(or a formula) called bonus value = formula variable*revenue/100 to calculate the bonus which will be given to distributors.
The other thing you must do is restricting product with A,B,C and country by D and E just by right clicking on them  in query designer.What remains is the selection.Let's say you also want to see the total sales of A and B.Then create a selection in the columns then restrict it by dragging and dropping A and B and the key figure revenue.
By the way, filter(tab) is used to restrict the data coming from cube and affects everything in the report(in contrast to the restricting  selection, because restricting selection affects only the selection, not other fields of the report)
Regards,
Güneş BÜYÜKTANIR

Similar Messages

  • Difference between symmetric/Asymmetric keys

    what is the Difference between symmetric/Asymmetric keys?
    what is the advantages when using these keys through network (comparison)?

    Symmetric crypto uses the same key to encipher/decipher
    Asymmetric crypto uses the public key to encipher and the private key to decipher
    Symmetric crypto is orders of magnitude faster than asymmetric crypto
    Symmetric crypto usually requires a separate key distribution strategy, as you do not want to transmit the key unprotected.
    Implement the following as a baseline:
    Use Diffie-Hellman to generate a public-private keypair
    Generate a symmetric key
    Encrypt the message with the symmetric key
    Encrypt the symmetric key with the publc key
    Send both the encrypted key and message to the other party
    Receive encrypted key and message
    Decrypt encrypted key with the private key generated by DH
    Decrypt the message with the symmetric key decrypted in previous stepThis allows you to take advantage of Diffie Hellman and public-private crypto to exchange the symmetric key safely while still using the symmetric keys much faster processing rate (and normally strength) on the message itself.
    One final point: don't use DES (or 3DES), switch to AES for your symmetric cipher.
    - Saish

  • Difference between semantic and key fields in DSO

    Hello All,
    Please help me in understanding about difference between "Key fields" and "Semantic key" in write optimize DSO.
    thanks

    Hi,
    you dont have key fields in write-optimized DSO, key fields terminology is forin standard DSO.
    And semantic key is used in write-optimized DSO.
    As we know standard DSO is a flat structure similar to transparent tables that we have in R3/ECC system with key fields (combination of values which needs to be unique).
    Now, The system generates a unique technical key for the write-optimized DataStore object. The standard key fields are not necessary with this type of DataStore object. If there are standard key fields anyway, they are called semantic keys so that they can be distinguished from the technical keys. The technical key consists of the Request GUID field (0REQUEST), the Data Package field (0DATAPAKID) and the Data Record Number field (0RECORD). Only new data records are loaded to this key.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/e3/e60138fede083de10000009b38f8cf/frameset.htm

  • Key Figures in variable screen, to limit start up key figures

    Dear experts,
    This is BI 7 and the report / query is in portal.
    my query has 40 key figures. 5 is shown and 35 are hidden but can be shown.
    The user request that they can use a selection screen to pick up which key figures they want when the reports are executed. 5 keyfigures that I defined are considered "static" and each users has their own "set of key figures".
    So I need flexibility to give users option, that they can "preselected" some key figures before they executed the report.
    Many thanks and points will be awarded like usual.
    Regards,
    BWAS.

    Hi,
    That helps but is there any other way ?
    I directly publish my query to portal, then from PCD I assigned to a given role. I don't use WAD ...
    Many thanks anyway ...
    I still wait for other valuable inputs ...
    BWAS

  • Difference between Pre and Post Incrementing a variable

    I have a problem understanding the nuances between i++ and ++i.
    I have run several loops and changed the position of the "++". I noticed that sometimes the out put differs and sometimes the output remains the same.
    Is there a rule of thumb as to whether a variable show be post or pre incremented?
    Thanks

    Thank you all.
    After I asked the question, I did a little research and found this (from JGuru shortcourse):
    Note that x++ and ++x are equivalent in standalone contexts where the only task is to increment a variable by one,that is, contexts where the ultimate evaluation is ignored:
    int x = 4;
    x++; // same effect as ++x
    System.out.println("x = " + x);
    This code produces the output:
    x = 5;
    The next part after this is:
    In the following context, the placement of the increment operator is important:
    int x = 4;
    int y = x++;
    int z = ++x;
    System.out.println(
    "x = " + x + " y = " + y + " z = " + z);
    This code produces the output:
    x = 6 y = 4 z = 6
    ======================================================================
    I thought the out put would be x = 4, y = 6, z = 4.
    I totally lost! How do I interpet this correctly?

  • Restrict the Key figure to Variable number of days

    Hello Everybody,
    How can I achieve the following result in query??
    User enters date range e.g. 21.5.2009 - 2.6.2009
    Format for your reference
    Cal Day  Cal Month  LOB   Material      Item Cost    Next 90 Day forecast QTY Last 90 Day Usage QTY
                                                                               (Qty restricted to below range)
    21-May       May      LOB 1  Material A      6.20        21 May + 90 days              21 May - 90 days
    22-May       May      LOB 1  Material B      8.50        22 May + 90 days              22 May - 90 days
    2-Jun          June      LOB 4  Material C     53.35       2 Jun + 90 days                 2 Jun - 90 days
    I appreciate the responses in anticipation.
    Thanks

    hi chowdary ,
    could you tell me the var. creation in detail and  with which reference object i need to create ...
    whether i need to take LM_DATE / 0DATE while creating variable...
    and i kept this variables it in filter section, based on the LM_DATE Object.
    i have tried both.. y'day when i take 0DATE it giving me some results...
    But at the same time it is restricting the records..
    i think it could be a problem with var.. properties?
    need more inputs pls.
    Regards,
    VJ

  • Calculated Key Figures vs. Formulas

    Hello all,
    Can someone explain in a few words what's the difference between a Calculated Key Figure and a Formula? We know the CKF's are global to all the queries and the formulas aren't. But how can we decide when to use ones or the others?
    Many thanks,
    Inma

    Hi Inma,
    As you correctly mentioned, the CKFs are Global, which means that they can be used in different queries built on the same InfoProvider. Formulas cannot be directly reused, but if they are saved to a global structure, then the structure may be reused. If you are creating a calculation that will be widely used, it is best to create it as global...this helps a lot when you need to revisit the definition, and make changes as one chnage is reflected in all queries.
    However, there are some functions like SUMCT, SUMGT, SUMRT, %CT, %GT, %RT which are available only to the formulas (local), so if you need to use them, you cannot use a CKF.
    Hope this helps...

  • What is diffrernce between key figures and characteristics?

    Hi all,
    I am a newbie to SAP BI....i am doing Masters in ERP(SAP)....I have confusion about what is basic difference between key figures and characteristics?
    Why do we have to define attributes in characteristics?
    If any one can refer me a thread that answers my questions or explain with very lucid example I will highly appreciate it.....please answer this question as I have just spend 4-5 months studying BI and have not really implemented in the Industry but we do have access to SAP BI where we perform tutorials....
    Also please let me know the links to materials where basics of BI are explained in a very simple way.....
    Thanks,
    Regards,
    Rahul

    KF is anything which can quantitatively measured: Amount, Number, Value, Price... whatever you want to measure is called Key Figure. This key figures are also called KPI (Key Performance Indicator). If you want to know the number of sales orders, the number of deliveries, the amount of deliveries... all are key figures
    And to add to that, key figures are also divided into two:
    Cumulative KF: Like I said, amount, value, price
    Non-cumulative KF, this is different kind of key figures which shouldn't be summed up, for example: Age, Inventory, Number of Employees.  When  you measure this key figures, you don't add the age of every body, because that doesn't make any sense, but adding the sum of all deliveries, or adding all Sales does make sense, that is the difference between the two key figures.
    Characteristics: are anything which couldn't be quantitatively measured: material, customer, plant, employee ID and so on...
    Aways, in BI you measure the KF against the Key figures..
    thanks.
    Wond

  • Difference between keys Incoterms part 1+ 2 & Incoterms

    Hi experts,
    I am creating a freight condition record KF00. There are two variable keys assigned to it Incoterms part 1+ 2 and Incoterms.
    What is difference between these two keys?
    thank you

    Incoterms part 1 & 2 reads table 34 and has fields Incoterms 1 & incoterms 2.
    System takes incoterms 1 information from customer master record, sales area data tab billing document.
    Incoterms 2 is used if the primary Incoterm is, for example, FOB ("Free on Board"), then the second field provides details of the port from which the delivery leaves (for example, "FOB Boston").
    In pricing determination, system first checks from most specific to general and so it first searches for pricing record KF00 with key Incoterms part 1+ 2 to determine freight price.
    If record is not found by above process, then it searches for KF00 record with key Incoterms which has field incoterms 1.

  • Exact difference between tolerance key AN and AP

    HI,
    Can any one tell me exact difference between the tolerance keys AN & AP with examples?
    Thanks& Regards,
    Pushparaj S.

    Hi Swetha,
    So, do you mean that AN & AP are the same as per the functionality wise. but only AP can allow further filter of the items as per the additional setting for item category?
    For example:
    Custo:
    AN: upper limit 100 EUR
    MIRO:
    IR: Item 1: Item category: "L" exceeds 100 EUR
    IR: Item 2: Item category: "Standard" exceeds 100 EUR
    Result:
    In this case system will block both items...
    Custo:
    AP: upper limit 100 EUR
    Item category: "standard"
    MIRO:
    IR: Item 1: Item category: "L" exceeds 100 EUR
    IR: Item 2: Item category: "Standard" exceeds 100 EUR
    Result:
    In this case system will block only item 2...
    Please confirm this...
    Thanks & Regards,
    Pushparaj S.

  • Key Figure Monitor in Prod Superviosr business package

    hi,
    I am trying to set up Key Figure monitor in the Production supervioser business package. I am getting the below error
    Invalid/No Context ID
    The application 'Generic Key Figure Monitor' requires a unique context ID. The context ID is a four-character alphanumeric code that you must enter as the application parameter I_CONTEXT_ID in the starting iView in the Enterprise Portal.
    Contact your system administrator
    I have set up the I_CONTEXT_ID in the iview in Portal and defined the key figure categories and key figures in R3.
    I would like to knwo the relation between I_CONTEXT_ID and Key figure  and where is it set ?
    Can some one help in the steps to get this working.
    Appreciate your help
    Regards
    PN
    Message was edited by:
            Portal Newbie

    Not sure if you got an answer for this question. Just saw this..
    See SAP Help URL http://help.sap.com/saphelp_erp2005/helpdata/en/42/ef6861370a1bcae10000000a11466f/content.htm
    Excerpt below from SAP Help on Context ID:
    Including the Generic Key Figure Monitor in the SAP NetWeaver Portal
    Use
    You only have to carry out this procedure if you want to put together your own portal role using various parts developed by SAP or by yourself.
    Prerequisites
    ·        You are in the content administration for the Portal.
    ·        You have created a role in the portal.
    ·        You want to include the KEY_FIGURE_MONITOR iView from the Common Parts business package in the portal page of your role using delta link. The iView is called Key Figure Monitor.
    ·        In the I_CONTEXT_ID parameter, you have created a unique four-digit alphanumerical key for the generic key figure monitor that identifies an instance of the key figure monitor within the role. If you want to use the key figure monitor more than once in your role, you must create a unique key each time you use the generic key figure monitor in the role.
    You have created a role in the portal. This role contains two iViews, which contain the generic key figure monitor. iView aaa.bbb.ccc and iView xxx.yyy.zzz. Set the following values in the Property Editor for the iViews in the property category Application Parameters:
    §         For the iView aaa.bbb.ccc: I_CONTEXT_ID=1111
    §         For the iView xxx.yyy.zzz: I_CONTEXT_ID=2222

  • Key figure in selection screen

    Hi
    Is there a way where we can have a keyfigure as selection. Meaning when i open or refresh a query it should promt me to enter the Keyfigure value.Also let me know if it is not pssible
    Thanks a lot
    Sheetal

    Hi Sheetal
    As per my knowledge we can give the Key figure for variable entry.
    How ever we can higlight or restrict the key figures.
    just have a look @ the following URL
    <u><b><a href="http://help.sap.com/saphelp_nw70/helpdata/en/cf/579b3c494d8e15e10000000a114084/frameset.htm">VARIABLE TYPES</a></b></u>
    Hope itz Helps..!
    Regards
    R M K
    **Winners don't do different things,They do things differently...!**
    > Hi
    >
    > Is there a way where we can have a keyfigure as
    > selection. Meaning when i open or refresh a query it
    > should promt me to enter the Keyfigure value.Also
    >  let me know if it is not pssible
    >
    > Thanks a lot
    > Sheetal

  • How to display the single characterstics (top one) wrt  key figure

    Hi,
    I have got a reporting issue like::
    Values in Cube-
    GL     Fiscal year/period     Doc no    Amount
    1         2004.006                 1              10000
    1          2004.006                2               15000
    1          2004.007                3                20000
    i want to show in my report as--
    1      2004.006                  1               10000
    1       2004.007                 3                20000
    i.e it should pick only the first line from cube corresponding to the 2004.006 period..

    Hi,
    You have 2 options
    1. you can create a transformation and write a starteroutine so that it takes the first record of the document number. but in practical it is not advisable because the cube contains inconsistant data and you cant develope any other reports on it.
    2. Next option is
    Step1
    You  need to write the user-exit to populate Reporting related variables in the Enhancement assignment RSR00001 and select the FM EXIT_SAPLRRS0_001 and then in the include ZXRSRU01 we need to write the code. These are helpful especially we need to derive any varible. (here in your case you can create a customer exit variable for Document number not ready for input)
    Along with that:
    BEx User Exit allows the creation and population of variables and calculations for key figures and variables on a runtime basis.
    Step2
    After creating the variable , For populating the values use the Function module RSDPL_CUBE_DATA_READ to read the data for the cube and populate the same into the internal table.
    Step3
    For the internal table you need to sort the document number and the date so that it picks the top most record in displaying the data. and in the out you will get as you requirement is
    1 2004.006 1 10000
    1 2004.007 3 20000
    Last option but looks silly
    Develop one more Cube which is above your existing cube . and develope a start routine which takes the first record from the cube. and now you can develop the report based on the new cube ( in this new cube the data will be there for the first record)
    hope this helps
    Santosh

  • Difference in confirmation control key 0001 and 0004

    Hello,
    What is the difference between Confirmation control key 0001 and 0004?,and what is the use and when it can be used.?
    What is the Rough GR , and when it can be used , for what purpose.?
    Regards
    Sapman man

    Answered

  • Difference between GBB and BSX

    Hi,
    What is the difference between Transaction event keys GBB and BSX?
    which movements use GBB and which one uses BSX?
    Thanks
    Akkshaya

    Stock posting (BSX)
    This transaction is used for all postings to stock accounts. Such postings are effected, for example:
    In inventory management in the case of goods receipts to own stock and goods issues from own stock
    In invoice verification, if price differences occur in connection with incoming invoices for materials valuated at moving average price and there is adequate stock coverage
    In order settlement, if the order is assigned to a material with moving average price and the actual costs at the time of settlement vary from the actual costs at the time of goods receipt
    Because this transaction is dependent on the valuation class, it is possible to manage materials with different valuation classes in separate stock accounts.
    Caution
    Take care to ensure that:
    A stock account is not used for any transaction other than BSX
    Postings are not made to the account manually
    The account is not changed in the productive system before all stock has been booked out of it
    Otherwise differences would arise between the total stock value of the material master records and the balance on the stock account.
    Offsetting entry for stock posting (GBB)
    Offsetting entries for stock postings are used in Inventory Management. They are dependent on the account grouping to which each movement type is assigned. The following account groupings are defined in the standard system:
    AUA: for order settlement
    AUF: for goods receipts for orders (without account assignment)
    and for order settlement if AUA is not maintained
    AUI: Subsequent adjustment of actual price from cost center directly
    to material (with account assignment)
    BSA: for initial entry of stock balances
    INV: for expenditure/income from inventory differences
    VAX: for goods issues for sales orders without
    account assignment object (the account is not a cost element)
    VAY: for goods issues for sales orders with
    account assignment object (account is a cost element)
    VBO: for consumption from stock of material provided to vendor
    VBR: for internal goods issues (for example, for cost center)
    VKA: for sales order account assignment
    (for example, for individual purchase order)
    VKP: for project account assignment (for example, for individual PO)
    VNG: for scrapping/destruction
    VQP: for sample withdrawals without account assignment
    VQY: for sample withdrawals with account assignment
    ZOB: for goods receipts without purchase orders (mvt type 501)
    ZOF: for goods receipts without production orders
    (mvt types 521 and 531)
    You can also define your own account groupings. If you intend to post goods issues for cost centers (mvt type 201) and goods issues for orders (mvt type 261) to separate consumption accounts, you can assign the account grouping ZZZ to movement type 201 and account grouping YYY to movement type 261.
    Caution
    If you use goods receipts without a purchase order in your system (movement type 501), you have to check to which accounts the account groupings are assigned ZOB
    If you expect invoices for the goods receipts, and these invoices can only be posted in Accounting, you can enter a clearing account (similar to a GR/IR clearing account though without open item management), which is cleared in Accounting when you post the vendor invoice.
    Note that the goods movement is valuated with the valuation price of the material if no external amount has been entered.
    As no account assignment has been entered in the standard system, the assigned account is not defined as a cost element. If you assign a cost element, you have to enter an account assignment via the field selection or maintain an automatic account assignment for the cost element.
    Account determination of valuated sales order stock and project stock
    Note that for valuated sales order stock and project stock (special stock E and Q) and for the transaction/event keys BSX and GBB, you must maintain an account determination to avoid receiving warning messages when entering data (purchase order or transfer posting) for valuated stock.
    During data entry, the system attempts to execute a provisional account determination for GBB for valuated stock. The system will only replace the provisional account determination for GBB with the correct account determination for the stock account (BSX), in the background, if you enter the data for valuated stock at a later point in time.
    Regards,
    Indranil

Maybe you are looking for

  • E-mail Discussion Ident

    Not a question, nothing awsome to catch the attention of the Pages Team peering over their cubicles, I'm a happy Pages camper not griping, but being glued to Pages Discussions, the daily input of e-mail is horrendous and takes up the in-box, sometime

  • BDC- problem in uploading more line items

    Hello friends, I am using BDC to upload data for TXN ME31L. At item level I am able to upload only 15 records. After that it gives error. While doing recording i have entered items only for two material  So can anyone help me? What i think is after 1

  • One button click call function more than once

    I have a function I call from a button (onClick) which inserts a record in mySQL via a PHP page. For some odd reason it tends to insert more than 1 record. The extra records tend to be duplicates of previous records. I do not know of SPRY is calling

  • Advice on upgrading processor for HP A6010n (P5LP-LE Leonite MOtherboard)

    Hi i did some searching around and yes i did find some results but most of those were posted back in 2006 so i am sure there are many new products and information since then. I am currently attempting my first real pc rebuild and i am using my old Hp

  • Photos duplicating upon import

    After upgrading to iPhoto 5 recently, all my pix have begun to duplicate upon import. Why is this and how can i stop it?