Keyfigures

Where we use transactional ods and transactional cube? and why shd we use?
In restricted kf "we hv to use variable value" only isn't it?
calculated kf is for using "formulas' only isn't it?
thanks,

<b>Standard ODS Object</b>
This object comprises of three tables (activation queue, table with active data, change log). It is completely integrated in staging process. In other words, data can be loaded into and out of the staging process.Using change log means all changes are also written and are available as a delta uploads for connected data targets. You can use these ODS objects directly in reporting if you wish.
<b>Transactional ODS Object</b>
An ODS object of this type only has the table with active data. This automatically means that it cannot be integrated in the staging process, since both the entry table (Activation queue) and the output table for conencted data targets (change log) are used. This ODS object type is filled using API's and can be read via a BAPI.
Transactional ODS objects are not automatically available for reporting. If you want to use them for reporting, ou need to define an infoset for them. Queries can then be based on these Infosets.
To Summarize
- Data storage for external applications, such as SAP SEM
- Direct update using APIs - no loading process
- Data available directly
- No change log - no data update for connected data targets
- Reporting only using infosets.
<b>Transactional Cube:</b> These infocubes are optimized to write data from SEM-BPS. You can store plan data using Transactional InfoCube.
Restricted Key Figure : Restrict a Key Figure using a variable value
CKF for formula
Regards
Naga Yadavalli

Similar Messages

  • A keyfigure is not getting displayed in the DSO and query

    hi friends,
    i have newly developed a DSO with 11 keyfigures and with some 10 characteristics. i created DTP , transformations etc., and i loaded data into it and activated it succesfully.
    now when i select  display data of this DSO one of my keygure is not getting displayed.
    even tht same keyfigure is not appearing in the query  too.
    but when  i check the active table of this dso in SE11 , tht keyfigure is displayed with values.
    could anyone help through this issue.

    Hi
    Even I faced such an issue earlier. I could resolve it simply by readjusting the DSO i.e. to delete the keyfigure and add it in the structure once again, before this you have to delete the data in the DSO. Also, if you have a multiprovider on the DSO make sure that the keyfigure concerned is identified.
    Let us know if this works for you. Thanks.

  • Few keyfigures are not getting updated in the backup cube

    Hi,
    We run the daily backup process chain which extract data from planning
    area and store in the cube & ods.
    There are infopackages which update cube & ods, the datasource & info
    source is same for both ODS & backup cube.
    But a few keyfigures do not get updated in backup cube where as we see
    ODS getting updated for those keyfigures. Also there exist data in the
    planning area for these keyfigures.
    There is direct mapping between the keyfigures in cube & planning area.
    We tried to debug it and noticed that data gets updated in update routine table but not get updated in cube.
    There are total 25 keyfigures in the cube , out of this only 5 keyfigures are not getting updated.
    Need expert opinion on this.
    Regards,
    Chetana

    Hi Chetana,
    Check the backup step in your process chain. The Data Selection tab may have certain conditions on account of which certain keyfigures in your Backup Cube are not getting updated.
    Check if any ABAP routine or any selection conditions are maintained which are causing certain keyfigs to be excluded.
    ~Rishi

  • Adding keyfigures to a cube

    Hi friends,
    Can i add two keyfigures additonally to an infocube which already has a delta scheduled?please help me with the process also.
    Thanks in advance.
    venkat

    Hi Kiran,
    1.First make sure you have the new Key figures in the datasource.
    2.Now go the cube and add the two key figures.
    3.Now add the 2 ket figures to the communication structure.
    4. Replicate the datasource if it is from R/3.
    5. Assign the R/3 fields to the 2 info-objects in the Transfer rules and activate.
    6. Set the update rules as per your business logic for the 2 new KF.
    Loading steps:
    Re-init steps:
    1. Right click on the data target -> Delete data. - This would delete the contents of the data target.
    2. Go to the init infopackage -> initilization options for source system and delete the init request.
    3. Load the new init again.
    4. From there do your regular delta loads.
    Hope I have made things clear.
    Bye
    Dinesh
    (Do not forget to assign points!!)
    Message was edited by: Dinesh Lalchand

  • Is it possible to display keyfigures in italics format in report output

    Hi All,
    Is it possible to display keyfigures in italics and bold format in report output?
    Thanks,
    Sri Arun Prian

    you can edit the CSS - there is a CSS class assigned to the key figures.... this is for WAD....
    Edited by: Arun Varadarajan on Feb 5, 2009 2:43 PM

  • How to use previous year keyfigure data in current year for other keyfig

    Hi Expert,
    I have 1 requirement wherein I need to use previous year data for some keyfigure calculation.
    Details are as follows:
    I have designed query with CKFs Turnover & UVG (in rows) & Fiscal year period in columns.
    Suppose Keyfigure Turnover data is displayed from Apr2009 to Mar 2011. In UVG: for Apr 2010, i need Turover data of month Apr 2009, for May 2010 turnover data of May 2009 similarly for other months.
    As per my understanding, I need to use customer exit which will store kf turnover data in internal table & in turn it will be used for UVG.
    But I'm not able to put it into syntax.
    Kindly suggest your inputs in this scenario.
    Thanks,
    Shamkant

    Hi
    Note that the variable ZCALCCALMTH is exit type and variable ZCALMTHREF is ready for input.
    WHEN 'ZCALCCALMTH'.
    IF i_step = 2. "après le popup
    READ TABLE i_t_var_range INTO loc_var_range WITH KEY vnam = 'ZCALMTHREF'.
    IF sy-subrc = 0.
    CLEAR l_s_range.
    year1(4) = loc_var_range-low(4).
    year1(4) = zyear1(4) - 1.
    zmonth1(2) = loc_var_range-low+4(2).
    CONCATENATE zyear1(4) zmonth1(2) INTO loc_var_range-low(6).
    zyear2(4) = loc_var_range-high(4).
    zyear2(4) = zyear2(4) - 1.
    zmonth2(2) = loc_var_range-high+4(2).
    CONCATENATE zyear2(4) zmonth2(2) INTO loc_var_range-high(6).
    l_s_range-low = loc_var_range-low(6).
    l_s_range-high = loc_var_range-high(6).
    l_s_range-sign = 'I'.
    l_s_range-opt = 'BT'.
    APPEND l_s_range TO e_t_range.
    ENDIF.
    ENDIF.
    bye
    Boujema

  • How to give color to the display of keyfigure based on condition using exception.

    Dear Friends.
       I am trying to color "BAD3" in exception based on condition but my problem is in exception I can have only formula variable to compare the value, How to assign a value to formula variable in BEx Query designer.
    What I am trying to do is :
       in Query designer :
       I have PO Quantity and Delivered Quantity. 
      if PO Qnantity > Delivered Quantity
        then Delivered Quantity field should be colored as "BAD3" in exception.
    but here proble is in exception
      I have alert level , operator, and  value fields for Delivered Quantity keyfigure ( Under definition tab - Exception is defined on = Delivered Quantity ).
    but for value field I dont have PO Quantity for that I have to supply one formula variable,
    When I created a forumula  and did this way
    FV_PO_QUANTITY = PO_QUANTITY formula editor throws errors. I dont understand How to assign a value of key figure to formula variable and use it in EXceptions.
    Please help me How I can solve my problem
    I will greatly appreciate your any help.
    Thanking you
    Regards
    Naim

    Thank you so much for your replies,
      I did following way and it helped me to solve my issues.
      I created one formula and under formula I use boolean < funtion to compare the values.
    like following way.
    ( 'PO Quantity' > 'Delivered Quantity' ) * ( FV_PO_QNT + PO_QUANTITY')
    here fv_po_qnt is formula variable I supply that variable to exception and since I have the value in it.. it compares with Delievered Quantity value and colored the perticular cell.
    Thanks again for your replies
    Regards
    Naim

  • How to display attributes as keyfigures in a report?

    hi experts,
                   i have a master data like ID is ref.char., under the ID attributes are NET and GROSS, when i am generating the report or query these two attributes ( NET and GROSS) should display as keyfigure which means we can drag these two attributes in column box only not in rows box.is it possible, if yes pl give step by step procedure.
    thanks & regards
    venkat

    Please correct me I understood you wrongly.
    You haev master data object "ID" and under attrubutes tab you have two attributes as "Net" and "Gross". Now if you want to use this attribute seperately, in other temrs you have to make these attr to act as individual characteristic so that it can be drag and drop in rows/colm. Please check the navigation box under attr tab. This way these attr will be navigational attr.
    Regards
    Pankaj
    ******Assign pts if helpful

  • Keyfigure fixing at aggregate level

    HI,
    I am using APO V4,
    1. I  am planning to fix my keyfigure only at aggregate level,  My keyfigure is open at all levels like plant or material group or material, i can enter the data at any point manually. but when come to keyfigure fixing, i want to fix the keyfigure only at aggregate level, i mean if the keyfigure is at material level i need fix, any other level it should not allow me to fix.
    I was thinking for a drill down macro, but my keyfigure should open at all levels irrespective of keyfigure fixing, is it manageable any how that keyfigure can only be fixed at material level?
    2.  this is a different issue from above, i have fixed the keyfigure for a month, after that i had run a copy macro to the fixed key figure, but the fixed values are overwritten once the copy job is completed, and when i check in the planning book, it is visible as fixed agian. do i need to have any macro specific setting for this during the copy macro?
    Thanks in Advance
    ARUN R Y

    Hi Gurus,
    I am having some problems with Key Figure Fix.
    The business requirement:
    Some fields must be kept fixed and locked during the interactive planning performed in tc /SAPAPO/SDP94.
    What was done in order to do it:
    We created macros using standard features in order to fix and block some cells in accordance with the business requirements. The first macro disaggregates the planning to the last level available for collaboration. Another macro using FIX_CALC and ROW_INPUT functionalities fixes and locks some cells (3 levels). After these activities the planning view is aggregated and it will be ready for collaboration.
    These macros run automatically every time that the user open an specific planning view.
    The problem:
    After the aggregation when the disaggregated level is called again all cells have been showed fixed and locked. If we perform the fix and lock manually the system run correctly, i.e., only the cells fixed and locked are kept in this status after an aggregating and disaggregating processes.
    Step-by-step
    u2022 Set the macro in /SAPAPO/ADVM u2013 MacroBuilder. To use the macro FIX_CALC in aggregated level. The first attribute set with ROW ATRIBUTES, the second attribute set with VALUES. FIX_CALC (Cota de Vendas; Cota de Vendas). With this setting, the aggregated line will be fixed.
    u2022 Set the macro in /SAPAPO/ADVM u2013 MacroBuilder. To use the macro FIX_CALC in level 1. The first attribute set with ROW ATRIBUTES, the second attribute set with VALUES. FIX_CALC (Cota de Vendas; Cota de Vendas). With this setting, the level 1 line will be fixed.
    u2022 Set the macro in /SAPAPO/ADVM u2013 MacroBuilder. To use the macro ROW_INPUT in aggregated level. Cota de vendas = ROW_INPUT ( 0 ). With this setting, the aggregated line will be locked.
    u2022 Set the macro in /SAPAPO/ADVM u2013 MacroBuilder. To use the macro ROW_INPUT in level 1. Cota de vendas = ROW_INPUT ( 0 ). With this setting, the level 1 line will be locked.
    u2022 Now, go to in /SAPAPO/SDP94.
    u2022 Disaggregated the planning view.
    u2022 Run the FIX_CALC and ROW_INPUT macros.
    u2022 Aggregated the planning view.
    u2022 Disaggregated the planning view again. You can see the problem.
    Thanks,

  • Customer Exit Variable in formula to get values for multiple keyfigures

    Hi to all,
    I have query as defined in following scenario:
    CHAR_X     C_KF1 (based on KF1)     C_KF2 (based on KF2)     u2026     C_KFn (based on KFn)
    Value1                    
    Value2                    
    u2026                    
    Valuem                    
    C_KF = calculated key figure
    I need to create a customer exit variable that will search through selection e.g. CHAR_X/KF1 and give some result. I need this variable for every keyfigure (KF1-KFn). Using customer exit variable is the only solution.
    My question is: do I have to create formula variable (customer exit) representing every keyfigure separately (VAR1 u2013 VARn, like in below example)?
    CHAR_X     C_KF1 (using VAR1)     C_KF2 (using VAR2)     u2026     C_KFn (using VARn)
    Value1                    
    Value2                    
    u2026                    
    Valuem                    
    Or is it possible to create one general formula variable since the way to retrieve the value in variable is always the same (like in below example)? In this case, how do I pass the value of the respective keyfigure to this variable?
    CHAR_X     C_KF1 (using VAR_X)     C_KF2 (using VAR_X)     u2026     C_KFn (using VAR_X)
    Value1                    
    Value2                    
    u2026                    
    Valuem                    
    Thanks for your replies, points will be awarded!
    Cheers

    That is my concern, the value of variable is not the same.
    What variable should do is:
    take KF1 id, go through values for CHAR_X, get back one value
    This value would always be different, and also "KF" part in code of variable should be different, based on the column where the variable is being used (so, in column C_KF1 ,variable should "pick up" id of KF1, etc.).
    I hope it makes it more clear. For now, I do not have the code for variable yet, I am just interested in concept whether it is possible to pass the ID of keyfigure dynamically so I can make decision how to model this request.
    Thanks

  • Problem with keyfigure in Bex

    Hi all,
    i have two charactristics location and product in the rows and keyfigures,stock on hand ,inventory carrying costs in the rows.In the coulmns i have calweek.For stock on hand keyfigure i had applied the cumulative property so that it shows the net stock on hand for every week, the inventory carrying cost is a calculated keyfigure and it is calculted using stock on hand and a formula variable based on master data 0APO_LPROD(LOCATIONPRODUCT).
    In the report the inventory carrying cost is getting calculated after calculating the stock on hand for all the calweeks which shouldnt happen.The inventory carring cost should get calculated for every week separately. So can anyone of you suggest why this is happening and how to solve this.

    Hi,
    Are you getting correct output for Stock on hand  for every week. ???
    I hope ur reporting structure is as below:
    Loc Prod  Calweek
                   Sotck | Inv. CC
                Mon |                Ssun |                     Tue
              Stock | Inv CC     Stock | Inv CC          Stock | Inv CC
    A   B   10 | 20              15  | 5                       30 |  8
    Now ur Inv cc is having Stock value for every week as
    10 + 15 + 30. = 55
    Correct me if i am wrong.
    As per your query structure this thing should not happen.
    First of all please update about the stock value that ur getting for every week is correct or not ??
    Thanks
    dipika
    Edited by: Dipika Tyagi on Jun 30, 2008 9:08 AM

  • Keyfigure values are incorrect in BEx Query based on infoset

    Hi Experts,
    I have created a infoset using 3 DSO's . 1 main DSO( from which i rquire all the data) is linked with other 2 DSO's using left outer join. DSO is linked with other 2 DSO's with a field return GUID .
    Now when i am executing a query , key figure values are coming incorrectly because suppose if there is 1 record related to
    RETURN GUID in main DSO and there are 4 reords in 2nd DSO with the same RETURN GUID then in infoset data 4 rows are getting created with the replication of all the fields from first DSO against those 4 rows. So in query result amount field is getting 4 times of its original value because of aggregation of all those 4 rows.
    I don't have set of key fields by which i can link the all the DSO's to get unique linking of records.
    How can i get the amount only one time in query result?
    Hope i am clear.
    Please help. I need to create report urgently.
    Regards,
    Ajay

    Hi Ajay:
    Please take a look at the blog series provided by Sunmit Bhandari.
    Infoset Keyfigure multiplicity Part 1
    /people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-1
    Infoset Keyfigure multiplicity Part 2
    /people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-2
    Infoset Keyfigure multiplicity Part 3
    /people/sunmit.bhandari/blog/2009/04/14/infoset-keyfigure-multiplicity-part-3
    Regards,
    Francisco Milán.

  • Getting syntax error while executing keyfigure routine BI 7.0

    Hello,
    I am writing a very simple keyfigure routine to calculate sales revune using sales quantity and sales price, I am getting error as follows
    - I am in 'Rules Details' screen and I have selected 'Routine' as the rule type. I enter the following code in routine
         RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *
         SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    - I hit the check button on the routine page, it says no syntax errors
    - Now I am back in the 'Rules Details' page and I hit the 'Check' button it gives me the following error
    Rule(target IO_VB_REV, group: Standard Group): Syntax error in routine
    Please tell me what is wrong. what should i check

    Hi Vaibhav,
    Here are the details
    - I am loading data from flatfile to an Infocube with 3 keyfigures: IO_VB_PRC (Sales Price) , IO_VB_QU (Sales Quantity), IO_VB_REV (Sales Revune). Getting values for IO_VB_QU and IO_Vb_PRC from flatfile and calculating for IO_VB_REV using routine
    - I created Transformations, and under  Rule Group: Standard Group box I see 'X' sign against 'IO_VB_REV' field, meaning not mapped to any datasource field
    - In rules detail screen, I add two source fields of Rule , IO_VB_QU and IO_VB_PRC. I see IO_VB_REV already added under 'Target fields of Rule' section
    - I then add the only following line to routine
    RESULT = SOURCE_FIELDS_RULE-/BIC/IO_VB_QU *    SOURCE_FIELDS_RULE-/BIC/IO_VB_PRC .
    Clicking on check button it gives no syntax error message. I save and exit back to Rule Details page.
    - I specify 'USD' as the Conversion Type and then click on check button it initially gives me 'Incorrect Input'  written in an information message box and then error that Syntax error in routine
    Let me know what is that I am missing
    Thanks for helping

  • How to maintained the Text  language for CKF keyfigure

    Dear All,
    Please let me know how to maintained the text language for CKF I am using only keyfigures in CKF.
    Issue is text is not showing in Spain language when user exeuted the report (longin Spain) for CKF keyfigures .
    As per report design there are formuals and direct keyfigures and CKF has defined and we keep it under in Row struture in the report.
    After exeuted the report (Login Spain)Text has converted in all languages along with spain except for CKF keyfigures.
    Issue in text CKF's:
    There is a main  CKF (Cost) under this again we defined two sub CKF's those are total cost and average cost. We able to see the text in Spain language for Main CKF(cost) and also cheked in RSZELTTXT(Texts of reporting component elements) for the same.
    We can able to see the text in all languages for main CKF(cost) and enteries are there in RSZELTTXT table.
    We can see only  the text in english for  total cost and average cost and also enteris are there only in EN in RSZELTTXT table.
    It would help to me if any one can answer my question.
    Thanks in advance .
    Regards,
    MQ

    U can fetch the texts for the items using
    Read_text.
    Example:
        g_f_tdname = xvttp-vbeln.
        g_f_obj = p_obj.
        g_f_langu = 'DE'.
        REFRESH g_t_lines.
        CLEAR g_t_lines.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    The Required fields are,
    Text-id ,language,name,object.
    Let me know if you further require help.
    Regards

  • How to find the list of Keyfigures in a particular Extractor RSA3

    Hi,
    I have a list of extractors where I need to find out Keyfigures for all the extractors.
    do we have any table or program to list the keyfigures for a particular extractor.
    That would be really a great helpful.
    Thank you in advance.
    Regards,
    Prem

    Hi Prem ,
    1. Go to tcode - RSA2.
    2 . Give the extractor name in the datasource field  and choose display.
    3.  you can view the keyfigures of the extractor over there .
    Regards,
    Lokesh

  • Creation of virtual keyfigure.

    Hello All,
    Please lookinto the below requirement...
    my requirement is One keyfigure available in cube and one more key figure available in multiprovider.
    we need to calcule the total vale.
    For example total value menas in our case : SR_Co/SR_coff.
    we need this calcucation based on the company code.
    company code available in multiprovider and cube.
    sR_CO available in multiprovider.
    SR_coff availble in Cube this loaded throgh IP function.
    how to write virtual keyfigure on this case.
    regards,
    ch.

    Hi
    Yes i think this can be done using VKF which is similar to CKF but more dynamic as data populates at run time.
    Newly created VKF will be added to the cube , but it would nt have any mapping but would derive data at run time using a custome code. Add a new Virtual key figure and write the logic in Either CMOD ZXRSRU02 enhancement or you can try implementig a BADI. Once implemented you can use this in the query in Place of the CKF you were using earlier.
    Go through the following articles they shall help you in implementing the same:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c?quicklink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f0aa5390-eb7c-2c10-06a1-908f4849ad2a?quicklink=index&overridelayout=true
    Regards
    Raj Rai

Maybe you are looking for