Table fields used for basic key figures in report writer/report painter

Does anyone know how I can find which <u>table field</u> is actually being used for SAP defined <b>basic key figures</b> in report writer report? For example, <b>HSL</b> is a basic key figure for income statement, library 0F1, report 0F-GUVV. It only shows data is coming from table GLFUNCT. How does the report writer program knows which fields to select? What is the logic behind the basic key figures?
Any advice is appreciated!!
Minami

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

Similar Messages

  • Report Painter - new Basic Key Figure for Currency Translation

    Hi,
    I need a report painter report which allows to translate the company code currency HSL in GLPCT into several target currencies. Theoretically I need to translate each month with an own translation rate and possible different translation keys.
    In table T804B I tried to create a new basic key figure for GLPCT in order to translate the HSL amount with a second TCURR rate. I copied the original basic key figure GLPCT - CC_HSL. I selected structure GLBDZ and fields CCH++ as data source and assigned new variables for the TCURR selection.
    The report painter report is setup with three columns : one in HSL, one with CC_HSL and one with the new key figure. In the selection screen of the report painter report I can enter two rates. But after execution the translation of the new basic key figures is done with the same rate as the CC_HSL column is using.
    Did anybody encounter an equal problem?
    Many thanks and regards
    Markus

    have you created a new calculation routine in form pool SAPFGRWG equivalent to E06_CALC_CURR_CONV_HSL? doesnt this explicitly get the company code currencies

  • 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.

  • Can I di Inner Join on 2 tables by using only 1 key field?

    Hello,
    I hv 2 Std. SAP tables, KNVV, KNKK.
    - KNVV - does hv 2 key fields (KUNNR and some other, say X)
    - KNKK - does hv 2 key fields (KUNNR and some other,say Y)
    I want to build a inner join on these 2 tables.
    So, Can I do a INNER JOIN on these 2 tables by using ONLY one key field (its KUNNR)? bcoz, there is ONLY common field!!
    thank you

    Hi,
    The correctness depends on your bussiness requirement. If the common key field is not a primary key, you may end up fetching duplicate entries which you may have to delete after the select query. You dont have to take of any extra precautions in a inner join select query compared to a ordinary select query. Just make sure you use most of the primary key fields of both the tables  in the where clause of the select query for better performance
    Vikranth

  • 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.

  • How to get data from COSP table, field HRKFT as the key to data from PM?

    Dear ladies and gentlemen!
    I need to get data from COSP table, field HRKFT as the key to data from PM tables (AFKO and AUFK).
    The problem is that it is a key field to the COSP, and all non-key fields as an alternative to HRKFT are not suitable for this task.
    All this is necessary for the extractor, which loads the data from the R \ 3 systems in the BW-system. I need to perform SELECT from a table COSP and maybe also JOIN, most likely between tables COSP and AUFK.
    What should I do in this case?
    Thank you very much in advance!

    From information on help.sap.com I've made a conclusion that one of possible solutions in theory is to modify standard extractor PM_OM_OPA_1 in order to make HRKFT field available for work, because by default it is hidden by SAP and not available for use as a key field.
    Of course, it's not a very good solution, but for now I know no other way to solve this problem.
    Maybe someone knows better ways? In this case I will be very grateful for any help!
    Moderator: You'd better post it on BI forums

  • Basic Key Figures in Report Painter.

    Hello:
    Im working with report painter. I already did a report and in every columns I used (HSL-Local currency) as Basic Key figure. But now, I need to add a column and use Basic Key Figure (MSL-Quantity).
    If I check in the library (tcode GR22) this Basic Key figure exists, but when I try to create the column I don't have this Basic Key figure as available.
    Does anybody know what is missing?
    Thanks a lot.
    Regards,
    Adela.

    You are right Sue. But unfortunately way back in the 90's when our company implemented SAP, those company codes did not activate the 2nd LC as USD. Thus, these companies only have figures updated in the 1st LC which is USD.
    Subsequently, we acquired new companies overseas and then for these co's we switched on the 2nd LC as USD with the 1st LC as the country specific currency.
    Vishal.

  • The use of restricted key figures in real time scenario

    Hi all,
    Please let me know the use of restricted key figures in real-time business scenarios....plz someone explain it with <b><u>example</u></b>...
    Also, can restricted keys be defined globally with same infoprovider...???????????
    Your response is thankfully acknowledged,
    thanks and regards,
    shalini.

    Hi,
    You can restrict the key figures of an InfoProvider for reuse by selecting one of more characteristics. The key figures that are restricted by one or more characteristic selections can be basic key figures, calculated key figures or key figures that are already restricted. Which means you can define and use them globally in reporting for a particular infoprovider.
    Example:
    You have to show the sales for different product typessay 1, 2, 3, 4, 5, 6, for a company code.
    now you can define a RKF with company code and sales keyfigure.
    In the report, in columns, you use this RKF in new selection and restrict it with product type in 6 diff columns.
    New Selection.
    Restrict it with RKF
    Restrict it with product type 1.
    similarly for others..
    Hope this helps you....

  • Exception aggregation for calculated key figure

    Is it possible to have exception aggregation for calculated key figure in BW 3.5? As per Note 1151857, it is possible, however this note applies to BI 7.0.
    As per note 152638, it is possible in older version only simple ckfs like 'CKF = Base key figure'.
    Is there any workaround to define exception aggregation for complex CKFs in BW 3.5?
    My requirement is like this -
    CKF = (sales quantity - forecast) %share (sales quantity).
    Aggregation for CKF over time should be sum whereas, for all other characteristics calculation of CKF should be done after aggregation(normal scenario).
    So, defining exception aggregation of CKF as 'Summation' over time should fulfil my requirement.
    I can not use calculate result as 'summation' setting for CKF because of following design of report.
    Report contains structure(characteristic)
    Elements of structure are -
    Last 3 months(April - June)
    Last 3 months - 1 (Mar - May)
    Last 3 months - 2 (Feb - Apr)
    and so on...
    When data is aggregated for each element of structure, base KFs will be aggregated and calculations will be done on that.
    Changes in the backend are also not possible because, normal aggregation of CKF-alike in backend will be summation for all characteristics.
    Is there any way in BW 3.5 to model such a scenario?
    Thanks and Regards,
    Anup Kulkarni

    Sum of individual values of CKFs is not same as the Calculation on 'sum of basic key figures(result of basic key figures)'.  - Yes, you are right.
    I need to aggregate CKF over time as SUM. However, calculation for result of all other characteristics should be based on results of basic key figures and not the 'Sum of individual values of CKF'.  -
    What i understood is that whenever the time char is in row, then result should be simple on the sum what ur getting but when other char are there then it should go for calculation based on the sum of key figure.
    If im not wrong in getting ur point.
    How can two differenct activites be perofrmed on same key figure depending on the characteristic .....!. For this u have to think some other possibility or let somebody else update the thread.

  • No split for particular key figure while "Time Distribution in Update Rule"

    Hi experts,
    I wanted to have data in the infocube at day level. Currently it has only week level data. So I used "Time Distribution in Update Rule". Due to this am able to split 0Calweek data at 0calday.
    But while using   "Time Distribution in Update Rule" all key figures are getting split by same way. For e.g. key fig1 has week level data as 100. so after getting split in calday, it is apperaring as (100/7) 14.285 . for every day.
    But i dont want to happen this split for every key figure. For some key figures value "100" should be as it for every field in calday. for e.g. 100 should not get divided by 7 and posted as 100 only for all seven days.
    How can i achieve this? Is it possible if i write formula or routine for particular key figure so that split should not take place for that particular kay figure? Or is there any other to keep exception?
    Please help.
    Thanks

    Hi,
    This is one of the limitation of Time Distribution that you can not have it by individual key figure. Check the below article for more information,
    [http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0e1096a-e058-2c10-06b7-c66f9a82a9c8?QuickLink=index&overridelayout=true]
    I think in this case you will have to write individual routine for each key figure instead of Time Distribution approach.
    Regards,
    Durgesh.

  • 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

  • Currency Translation for Calculated Key figures

    Hello Friends I want to use the Currency Translation for Calculated Key figures.
    But when I go to Query and go to conversion tab it is always greyed out. Does that mean we can set the fixed conversion type for calculated key figures. like ZSAD Total debit - credit -flow value.
    What is the way to do fixed currency translation in query for calculated key figures.
    All the below is done now just want to specify this in query but I can'nt since it is greyed out.
    All the below is done
    I have created a Currency Translation Type " FiscperConversion" "ZVHGR" now this has Exchange Rate Type from Variable "ZVARN" (Which is a variable single value manual input on 0RTYPE Infoobject for exchange rate.)
    2. Now Currency Tab: Target Currency is selected from Variable placed in the Report. ZRPVAR.
    3. Now the Variable Time Reference is used. Standard Infoobject 0FISCPER
    which is beginning of period.

    Hi soniya
    Your calculated KF is result of some calculation ...so system will not allow u to do any translation on it...to get CT on CKF you should do it on base key figure...still if you wish to do then you can create a formula variable having processing type a customer exit...write code in cmod to rad exchange rate and multiply ur CKF by this formula variable....
    Thanks
    Tripple k

  • No table entries found for specified key

    Hi All,
    I have developed a program to upload data from flat file with the help of GUI UPLOAD. It is succesfully updating data in my Z-table.
    Whenever I tried to view the content of table for specific field, message shows No table entries found for specified key. However if I add * as a suffix, it shows the data & when I directly Execute table it also displays the data.
    I have also cross checked the spaces before or after the specific content, no space found.
    Only two fields are creating this issue Individually (one of them is key field)
    Regards
    Mukul Maheshwari

    Hi Dear ,
    Here i had implemented program go through it you can understand easily.
    While creating table give one field as primary as you know that.
    tables zdata1.
    data it_tab type TABLE OF zdata1 WITH HEADER LINE.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\Documents and Settings\E50039\Desktop\data.txt'     ***************File path
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = it_tab
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT it_tab.
    zdata1-no1 = it_tab-no1.
    zdata1-name = it_tab-name.
    zdata1-empid = it_tab-empid.
    insert zdata1.
    ENDLOOP.
    Flat file
    1 name1 empid1
    2 name2 empid2
    note: Give the tabspace between values in flat file.
    Edited by: Aditya.G on Oct 12, 2011 10:22 AM

  • "new selection", restricted key figure and basic key figure

    Hi,
    I have a test report and i have a basic keyfigure "ZRevenue" and "restricted key figure"(its defined over "ZRevenue") and
    a "new selection"(its defined over "ZRevenue").
    Now that i have "material number" and "material color" and "request id" in the rows. ("Material color" is a navigational attribute of material number).
    In the column level i have a basic key figure  "ZRevenue" and "restricted key figure"(its defined over "ZRevenue")  and
    a "new selection"(its defined over "ZRevenue") .
    In a "restricted key figure" or "new selection", we can include a basic key figure or new formula or calculated key figure or an already restricted key figure into it, then we restrict it, with one or more characteristic values. In the report output we get KF values only for those characteristic values, with which it has been restricted. Please correct me if my understanding is wrong.
    Initially i restricted the "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4).
    In the cube i have material numbers 1 to 11. Now all the values were displayed from 1 to 11, but for the
    "new selection" (with material number 1 to 3) and "restricted key figure" (with material number 1 to 4) i got values only for 1 to 3 and values for 1 to 4 respectively. This is as expected and is working fine.
    Now i tried to restrict the basic keyfigure  "ZRevenue" with material number 1, the output was only until the material number 4 (this is the greatest value of the material number defined over the "restricted key figure").
    Then i tried to restrict the "new selection" (with material number 1 to 9) , then the output was from 1 to 9 material numbers.
    If i remove the restriction over the basic keyfigure  "ZRevenue" , then i get all the material numbers from 1 to 11, for "new selection" i get values for the material number 1 to 9 and for "restricted key figure" i get values for the material numbers 1 to 4.
    Can some one explain me why this behavior?
    Edited by: sapbi enthusiastic on Jan 31, 2012 11:48 AM

    Hi,
    This is where set theory comes in handy
    So what you have is a basic KF (BKF), a selection (SEL), and an RKF.
    When producing an output, BEx seems to be looking for the union of all the restrictions you place on these. So when your BKF is not restricted, the union comes out to everything in the underlying DSO. When you restrict the BKF for material number 1, this is how the restrictions might have been processed internally
    BKF: Restriction on material 1
    RKF: Restriction on material 1-4
    SEL: Restriction on 1-3
    Union of these three: 1-4
    When you remove the BKF restriction and make SEL restricted to 9, this is how it plays out
    BKF: NO Restriction on material
    SEL: Restriction on material 1-9
    RKF: Restriction on 1-4
    Union of these three: everything.
    As the union ends up giving you everything, you get 11 records. However, as SEL is restricted for 1-9, the SEL will have values for the materials 1-9. Likewise for RKF, you'll get values only for materials 1-4. Hope this clears things up!
    Regards,
    Suhas

  • Problem in using characteristics as key figure

    Hi,
    I have a situation where I need to display booked site and closed site sales value and number of sites created in a particular period.
    There is a job id under which multiple SO's can generated. First SO created for a particular job id is indicated by 1 in an indicator (say, ind-1) (which is a keyfigure) and other all SO for that job id are marked as 0 in that indicator. Not booked site can be identified by summing up the indicator values job id wise. Say I have 5 job ids, then my sum will be 5. No problem in that.
    Now the invoice generated for the last SO will be marked as 1 and other all as 0. But the indicator (say, ind-2) used here is characteristic of type numc. So I have created a formula variable using replacement path as processing type and reference characteristics as ind-2 which can be used as a key figure. But the result I am getting is in two rows for each job id, i.e., 0 and 1. How to resolve these into single row for each job id and get the result as 1.
    Regards,
    Sumit

    Hi Sumit,
    Until this point you have just done nice. Now at this point you can create a selection; include ind-1 kyf in the selection and ind-2 characteristic as cosntant selection. Then add a condition on mark to show values greater than 0. Then you can get a result with one row each 1.
    Regards
    Yasemin...

Maybe you are looking for