Creating Key Figures

Hello everyone,
I'm currently trying to build my own AR Aging Report as the standard one does not include a couple extension fields that I need. I've already created my Data Source but the Key Figure Group that is in the standard AR Aging Report is something that I need to recreate for my new report. I have no problem recreating these Key Figures but I have no idea which formulas/Key Figures/etc SAP used in building them. Is there a way to find out how SAP built these? Specifically, I need the details for the Key Figure Group 'Aging List Structure'.
Thank you!
Charles

Hi Charles,
I had to re-create some SAP core key figures in the past as well. The only way to get the calculation rules was to request them by an incident report. As far as I know there is still no other solution to view calculation rules of core key figures.
Best regards,
Eugen

Similar Messages

  • Creating key figures in report writer

    Hello,
    i'm making a new report painter/ writer and i find a problem. The process that i've made already is:
    1- create a view table with the tables i need.
    2- make the corresponding entries into T804A and T804E tables.
    3- I create the library for my Z table.
    4- then i go to GS32 to create key figures and i get nothing. We are in 4.6C.
    I tried to import/ export key figures from other libraries and SAP says that all is imported, but in GS32 i have no one either.
    If i go to GR22 and push 'key figures' button for my library i get a dump. It says:
    ABAP runtime errors    DYNPRO_ITAB_ERROR
    What happened?
                                                                                    The current screen processing was terminated, since a situation
    occurred from which it could not continue processing.
    This is probably due to an error in the current screen of the ABAP
    program.
    Error analysis
                                                                                    Program "SAPMGRWL" was terminated.
                                                                                    The following error occurred: (short text of error cause)
    "FX100: An attempt was made to read beyond end of internal table."
                                                                                    Affected:
    Screen name..............."SAPMGRWL"
    Screen number.............0613
                                                                                    This is an error that occurred during processing of an internal table in
    conjunction with field or variable "INDEX_FROM".   
    Some help??. I will reward.

    I have now resolved this issue.
    I had to manually update TablesT804B and T804F. 
    I've added entries to T804A in the past without the need to update T804B or T804F manually so it appears that the way these tables work together has changed following an upgrade or application of support packs.
    Regards
    Mel

  • When creating Key figures

    Hi gurus,
    When creating Key Figures in Adminstration workbench
    in the tabs <b>AGGREGATION</b> and <b>ADDITIONAL PROPERTIES</b>
    can somebody kindly explain the below contents and how do they affect and where do they affect, if we select.
    <b>AGGREGATION</b>
    aggregation----> sum, maximum, minmum
    <b>Exception Aggr</b>----> summation
    first value
    last value
    no aggregation (x if more than one record occurs)
    no aggregation (x if more than one value occurs)
    no aggregation (x if more than one value not= 0 occurs)
    standard deviation
    summation
    var
    <b>agg. referen.char</b>
    <b>cummulative/non-cumulative values</b>
    non *** value with ncum value change
    ncum value with in and out flow
    i will be very greatfull if somebody can give me some clear explaination and with some examples
    thanks and regards
    H.B.

    hi Dinesh,
    thanks for the quick response.
    With the info i got ...i am assuming that...
    if we set the settings of aggregation when creating key figures they will be displayed in the query results row.
    but if we want to have this effect in the data targets then we have to do these settings in the update rules
    plz can you tell me where to do these settings and is the affect same as the properties of key figures do in the query results row.
    thanks and regards
    H.B

  • How to create Basic Key Figure, Key Figure and Characteristic

    Hello Gurus,
    I have copied a standard layout of KP06, named it as a Z- layout and made changes to it, like defined the plan data upload field as Object Currency enabled.
    However I want to add a Z-Field , tax holiday unit as a column to this layout which I am not being able to do. The reason is when I go to Insert a new element from Edit > Element > Insert Element and click on 'Key figure with Characteristics' I do not get the Z-Field as a key figure.
    I want to define the Z-field as a key figure, so that I can add it as an element.
    Would be really nice of you if you can let me know the t-code/menu path to do that.
    Regards.

    Hello Gurus,
    I wanted to share this information with you, hoping this will help you to help me.
    I also tried to create a Key Figure in t-code GS32. In the table I mention --> FAGLFLEXR and hit enter. It says no Key figure has been defined for FAGLFLEXR. Then I put the cursor on the 'Reference Entry'and click on copy. Then give the name of the Key Field I want to create.
    'Create Key Figure' dialog box appears. When I input the 'Row Text' 'Column Text' and click enter, I am getting an error 'The basic key figure  entered for table FAGL is not defined'. I go back and do an F4 on 'Basic Key Figure' field, then I do not get any options.
    I would be highly grateful if you can let me know how to create this 'Basic Key Figure' for table FAGLFLEXR.

  • Key figure schema in CO-PA reporting

    Hallo SAP Gurus,
    Is there any method to copy the key figure schema created in one operating concern to other operating concern in the same client?
    In our company, we have 18 operating concerns for 18 company codes.
    I have created one key figure schema for one of the operating concern ( Since as per my knowledge, key figure schema can be created only at the operating concern level. )
    Now, since the schema is common to all the operating concerns, I want to copy the same to the other 17 operating concerns.
    Expecting your help since creating key figure schema 18 times and updating any changes is very much time consuming.
    regards,
    Viswanathan T R

    Hi Vishwanathan,
    I have a same requirement, I want to do KECP because this is asking us to give the transport request and I know when we create key figure scheme we save it under a transport request.
    Did KECP help you in doing that? If not, please let me know how did you copy key figure scheme from one operating concern to other.
    Thanks
    Srinath

  • Show the different key figures

    Hi,
    Can we define a query, and show the different key figures, base on the different value of the characteristic?
    Let's say, in the query, it contains a characteristic called "store", and if the store = A1,i want to only show key figure K1, K2, and a formular =K3/K2;
    and if store = A2,then i want to show key figure K1,K2,and a formular = K4/K2; otherwise(for other store <>A1, or A2), i want to only show K1, K2 and a formular =K1/K2.
    Is it a way fo rme to do that, pls advice.
    Thank you,
    Ping

    Hi Anil,
    I read through the link you given, but still not sure exactly what i should do to get my report done ¡V I am sorryƒ¼
    What I need is: for store S034 and S035, they has a ¡§store
    Open date¡¨ last year which are as below:
    S034          09/4/2004
    S035          09/18/2004
    And for other stores, their ¡§store open date¡¨ are all in 2003.
    So in the query, I have two key figures: MTD (sales value month to date this year), and MTDL (sales value month to date last year). If I run the query today, which is 21 of Sep 2005, then the date range for MTD will be from 09.01.2005 ¡V 09.21.2005; and the MTDL will be base on the range from 09.01.2004 ¡V 21.09.2004; and I have another formula key figure ¡§percentage¡¨, which compare ¡§this year¡¦s sale month to date ¡§ with  ¡§last year sale month to date¡¨, eg: ¡§percentage¡¨ = MTD/MTDL
    But since for store S034 and S035, the store only open on 09.04.2004 and 09.18.2004 respectively (that means there is no sale value existing before their store open date last year). So for store S034 and S035, we will only use the MTD partially to calculate the ¡§percentage¡¨.  Eg: the date range used for calculation for this year¡¦s Partial sales will be from 09.04.2005 ¡V 21.09.2005 for S034 (K3); and 09.18.2005 - 21.09.2005 for S035 (K4). I have already created key figures for K1, K2, K3, K4, based on the different date range above.
    So the report will look like below (of course, K3,  k4 will be hidden once the calculation of ¡§Percentage¡¨ is done)
    Store     K1(MTD)    K2(MTDL)   Percentage    K3(Partial MTD for S034)   K4(Partial MTD for S035) 
    S031     10            20                10/20   
    S032     15            21                15/21 
    S034     30            35                28/35                   28
    S035     40            39                36/39                                                                        36
    So my main concern is how is formula ¡§Percentage¡¨  can be done based on the different value of store.  Eg, if store is S034, it will take K3/K2; and if it s S035, it will take K4/K2; otherwise, it will take K1/K2.
    I looking forward for your advice please,
    Ping

  • Need Method to Look Up Prices from a 8 X 7 Grid for BW Query Key Figures

    Hello.
    I have Material Groups that have various costs associated with them in the format of an 8 X 7 Excel Grid.
    Rows:
    Shipping
    Packaging
    Labor
    Etc.
    Columns:
    Cost if sales were above 10,000 per month.
    Cost if sales were above 15,000 per month.
    Cost if sales were above 20,000 per month.
    etc.
    I need to figure out a way to have a BW Query lookup the price from the row and column based on the monthly volumes.  (kind of like a VLOOKUP and an HLOOKUP in Excel).
    I thought about simply creating Key Figures for every possible combination, but I would've ended up with 56+ key figures on my ODS object.
    Does anybody have a suggestion for me to do this in a cleaner manner?
    Thanks.

    Hi kenneth,
    If i've understood ur prob correctly than you can use the conditions function in the query...create separate conditions for your criteria and display the output ....
    Ajay

  • Key figure is not displayed in info area

    Hi experts,
    I have a customer created  key figure. I see it in RSD1 but it is not displayed at any info area. Normally when we create any info object and don't assign any info area, it must be displayed at " Unassigned Nodes ". But it is not displayed. When i search it in info objects, i can't find. But i can see it in RSD1.  Anyone knows its solution? Thanks in advance
    FIRAT KAYIRAN
    MM&BW Consultant
    Istanbul, Turkey

    Hi All,
    Firstly thanks for your reply.
    1- In key figures i know it can not be marked as infoprovider. But also i searched in modeling-infoprovider section. But i can not find it.
    2- My key figure is active. But again i can not see it.
    3- I've searched all nodes(assigned key figures and non-assigned key figures)
    Waiting for your reply.
    FIRAT KAYIRAN
    MM&BW Consultant
    Istanbul, Turkey

  • Manipulate key figures using CMOD

    Hello All,
    I would like to know if we can write a customised user exit using CMOD and manipulate the restricted/calculated key figures for a particular BeX query..or is it that these exits manipulate only the standard key figures?
    Regards,
    Dipali

    Thanks for the prompt reply.
    I would like to explain the scenario in brief.
    The requirement is that I have some calculated key figures and some restricted key figures.I need to further create key figures based on these calculated/restricted key figures to dynamically achieve results based on the user input because of which some customisation on these key figures needs to be done.I therefore felt that through some ABAP code placed through CMOD would solve this purpose.
    Would it be possible?
    Regds,
    Dipali

  • On what occasions do the key figures become attributes of characteristics?

    hi all,
    On what occasions do the key figures become attributes of characteristics? can anyone explain me with an example.
    regds
    hari

    Hi,
    When we create key figures also we can define the keyfigre as attribute, in the additional poperties tab by selecting attribute check box.
    (or)
    Once we created KF and activated, the same can be placed in Char attribute tab. In the Char creation, we can assign attributes as per our requirement. So the attributes may be be char/kf.
    Best regards,
    Ramakrishna

  • How to create a key figure in SNP plannignbook which generate FA type order

    Hello
    trying to create a Key Figure in SNP planning book which generates FA type orders
    could kindly suggest how to do it?
    thanks
    elena

    Hi,
    You would be having different key figures in SNP. The type of orders that you see in Key figure is driven by type of categories or category group that you assign in planning area to each key figure. You can modifiy these cateogry groups in IMG settings.
    When you manually create a forecast through a report then automatically you will see those orders in key figures where you have assigned the category FA.
    Hope this helps.
    Regards
    Alhad

  • How to create a document on a characteristic and key figure combination?

    Hello,
    I will need to create for my customer a document on a characteristic and key figure combination. I don't know yet which BW objects will be concerned, but I'm trying to understand how it works.
    1) I call the document screen in RSA1.
    2) I select InfoProvider data.
    3) I click on Create, enter a name and a description and go to the next register (Log.DOc.Properties).
    Question: What do I need to select here?
    According to SAP Help, the following has to be maintained:
    InfoProvider: How can I get my cube diplayed in the list?
    Query: Same question. But is it necessary to select a query?
    Key Figure: OK
    All characteristics for which the Characteristic is Document Property indicator is set: OK
    Hide Name: OK
    Thanks in advance for you help, Nathalie

    There's a link on the main support.mozilla.org page under "Customizing Firefox", to this article: [[How do I customize the toolbars?]] in case it helps you or anyone else finding this topic. It has a section on adding a new toolbar to Firefox.
    I can't help you on creating your own button, textfield and a combo box for the new toolbar but I see you (Dinesh) asked this question on Jan 5, here:
    http://groups.google.com/group/mozilla-labs-jetpack/browse_thread/thread/0d877e5afcbfe745# ''how to create a toolbar using add on sdk''

  • Creating a restricted key figure in BI7 reporting

    Hi
    I am creating a restricted key figure globally in BI7 query designer, whenever I try to restrict Calender Year /Month, an error message pops up showing:
    Runtime error '457' (This key is already associated with an element of this collection), when I click ok another message opens
    Runtime error '429' (Active X component can't create object)
    and finally Microsoft VB runtime error
    Automation (The callee(servernot server application) is not applicable and disappeared; all connections are invalid. The call may have executed.
    I am working in BI 7, SAP gui 640 what could be the problem in BI 7???because the same thing is working in BI 3.5 environment.
    Regards
    Indraneel

    Hi Indraneel,
    Try to look for the patch level you are using for SAP GUI, it should be level 14. If lesser than this apply and check. And always disable VB macros.
    Assign points if helps.
    -Harshal

  • Difference in key figures while creating queries based on infosets and MP?

    Hi all,
    I have created a multi provider using 4 ods. and my keyfigures looks like
    Material    cost        tax amount
    mdb1001  14.58     219.18
    and i have created an infoset using the same 4 ods and my keyfigures looks different like
    Material      cost      tax amount
    mdb1001  21,698       1,433.42
    And i have created the query with the same options. But the key figure values are different why is that so ?
    Can anyone help me on this!!!
    thanxs
    haritha

    hi,
    check your created infoset on the same ods used in multiprovider for reporting.
    are you doing any delta loading to the ods check that also.
    hope this help you
    regards
    harikrishna N

  • Problems with creating badi implementation for virtual key figures

    Hi,
    I'm running BI 7.0 (unicode).
    I have been trying to follow this blog to calculate the virtual keyfigure in my infoset - Using Virtual Key Figure and Characteris in an InfoSet
    My infoset includes 1 infocube, and 3 master data infoobjects. I have created everything the blog was referring to, and activated fine. However, it seems that when the field symbols are assigned from the c_s_data structure, they do not get referenced correctly, so that no correct memory area is assigned and instead the whole c_s_data structure is assigned to the field symbol, which prevents me from referencing the right mem area correctly.
    For example, in this statement
    ASSIGN COMPONENT P_CHA_ZMYINFOSET___F120 OF STRUCTURE c_s_data
                                                                           TO  <fs_ZMYINFOSET___F120>.
    the component p_cha_zmyinfoset___F120 of c_s_data supposed to be assigned to the field symbol (point to the correct place in structure c_s_data). In other words when this statement is executed, the program looks at structure c_s_data, finds the component zmyinfoset___F120 in it, and assignes the position of that component in the structure to the field symbol, so that it could be referenced in the code. However, the correct assignment does not happen.
    When I debug the code and view the structure c_s_data, I can never find any component with any of the names I can find in my BEX query like ZMYINFOSET___F120. All I see are the components that are named like these: Z____5179 (C_S_DATA-Z____5179), C_S_DATA-S____5150, etc. I see the correct values, but components all have weired names like that. I thought in Infosets the components are named in the following fashion: INFOSETNAME___FXXX which you can see from your BEX query designer. Why is this happening? Why don't I see the correct names in the c_s_data structure? If instead I try to assign those components with their weired names directly, I still get incorrect assignment.
    what am I doing wrong?
    I was reading abap help on this statement:  assign COMPONENT comp OF STRUCTURE struc
    and the following I found:
    With this expression for mem_area, the memory area of a component comp of a structure struc is assigned to the field symbol. While the structure struc is specified directly, a data object must be specified for comp. The evaluation depends on the data type of comp:
    If the field comp has a non-text, elementary type, the content is converted to the type i and interpreted as a position of the component in the structure. if the value for comp is 0, the storage area of the entire structure is assigned to the field symbol.
    From what it says above, my value for comp is always 0, so that the entire structure is always assigned to my field symbol instead of a specific position in that structure.
    please let me know what is wrong here.
    thanks.
    Edited by: AG on Oct 11, 2008 10:41 AM
    Edited by: AG on Oct 11, 2008 10:42 AM

    Hi,
    I am facing the similar issue. Can you please tell me how you solved this problem in more details?
    which sample code and how u can find that in SE24 and where to copy that code.
    Thanks in advance..
    vamsi.

Maybe you are looking for