Regarding Keyfigures
Hi,
How are you experts., for keyfigures to segregate what are the data types., the few i know is
amount, unit, currency and if any others please let me know on it., As i have to design datamodels based on reporting
requirements where for infocubes dimensions contains and it holds only characterstics info-objects.., Can you please let me know what datatypes does keyfigure holds other than amount, unit, currency.
Hi,
You can create Keyfigures of these following types:-
1. Amount--- CURR & FLTP
2. Quantity--- QUAN & FLTP
3. Number--- DEC & FLTP
4. Integer-- INT4
5. Date--- DEC & DATS(YYYYMMDD)
6. Time--- DEC & TIMS(HHMMSS)
FLTP is floating point.
Regards,
Pavan
Similar Messages
-
Question regarding having two keyfigures in one line
Hello
I have a requirement. I need values of two keyfigures from one cube in one row in the BEX Report. Basically depending on the month i want 6 months of history keyfigure value and 12 months of forecast keyfigure value in BEX reporting in one row. Can i do that? if yes, how....?? The calendar month already has a variable to drive the report.
Hoping to hear some suggestions !
Thanks,
Justin HeadMy understanding was that you meant, the history is for a month X -6 to X and forecast for X+1 to X +12?
So, is the current variable evaluating range of 18 months as X-6 to X+12?
If yes, then this should be possible.
As suggested earlier offset may not work as the cal month variable is a range and not a single value.
I assumed cal month is a single value and hence was the proposal.
Now try capturing the low or high value of the current cal month using a customer exit code. This should be evaluated at I_STEP = 2 and then offset the result.
We are not expecting mulitple user inputs. This whole excercise is going to work with only one input by the user and using that, we are going to evaluate the hsitory and forecast.
Also, there is no such limitation that we have only one restricted key figure with a particular selection.
Moreover our restriction also is different, in terms of offset.
Naveen.A -
Regarding restricted keyfigures
Hi Gurus ,
can any one tell me about restricted key figures and steps in BI.
How can we see which keyfigures are restricted navigation plz.
Thanks
ShilpaShilpa,
Restricted key figures are global. they are not specific to the querry. If u create the RKF then they will be available for all the querries which u create on that data target.
If u create the New selection then that will be the specific to qurry. New selection is LOCAL and RKF is GLOBAL.
Follow the below steps to create RFK
1. In the InfoProvider screen area, select the Key Figures entry and choose New Restricted Key Figure from the context menu (secondary mouse button).
If a restricted key figure has already been defined for this InfoProvider, you can also select the Restricted Key Figures entry and then choose New Restricted Key Figure from the context menu.
The entry New Restricted Key Figure is inserted and the properties for the restricted key figure are displayed in the Properties screen area.
2. Select the New Restricted Key Figure entry and choose Edit from the context menu (secondary mouse button.
The Change Restricted Key Figure dialog box appears.
You can also call the Change Restricted Key Figure dialog box from the Properties screen area by choosing the Edit pushbutton.
You make the basic settings on the General tab page.
The text field, in which you can enter a description of the restricted key figure, is found in the upper part of the screen.
You can use text variables in the description (see Using Text Variables).
Next to that, you can enter a technical name in the Technical Name field.
Underneath the text field, to the left of the Detail View area, the directory of all objects available in the InfoProvider is displayed. The empty field for defining the restricted key figure (Details of the Selection) is on the right-hand side of the screen.
3. Using drag and drop, choose a key figure from the InfoProvider and restrict it by selecting one or more characteristic values. See Restricting Characteristicss.
You can also use variables instead of characteristic values. However, note that you cannot use the following variable types in restricted key figures for technical reasons:
○ Variables with the process type Replacement with Query (see also Replacement Path: Replacement with Querys)
○ Variables that represent a precalculated value set (see also Detailss)
You can use these variable types to restrict characteristics in the rows, columns, or in the filter.
4. Make any necessary settings for the properties of the restricted key figure on the other tab pages. See Selection/Formula Propertiess.
5. Choose OK. The new restricted key figure is defined for the InfoProvider. -
Regarding vrtual keyfigures.
Can anyone let me know of virtual key figures and non-cumulative key figures with a scenario, as i have interview.
Hi ,
Virtual key figure
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 (the same is true for virtual characteristics).
You can find an example for a implementation of virtual key figures in the how-to paper "How to Use variable time references in currency conversions" (just ignore all the stuff around currency conversion and look at the ABAP coding).
Example
Virtual Key Figure
Non-Cumulative Key Figure
A non-cumulative is a non-aggregating key figure on the level of one or more objects, which is always displayed in relation to time.
Example
Examples of non-cumulatives include headcount, account balance and material inventory. How you model the folder for non-cumulatives in the BI system depends on your scenario. According to how often non-cumulatives change and the total number of objects for which you want to calculate non-cumulatives, you should choose one of the following two options: Non-Cumulative Management with Non-Cumulative Key Figures: If the non-cumulatives change infrequently, you should choose non-cumulative management with non-cumulative key figures. If you use non-cumulative key figures, an absolute non-cumulative value (the marker) and all non-cumulative value changes are saved in the fact table of the InfoCube. In this way, the retention and volume of data in the data loading process is optimized. A data record is then only loaded to the InfoCube if a non-cumulative changes because of a transaction. Non-cumulatives can then be evaluated at any time in queries, using non-cumulative key figures.
-VIkram -
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,
ChetanaHi 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 -
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
NaimThank 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
venkatPlease 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 -
Regarding text variable with replacement path.
Hi Friends,
Please can any one tell me good scenario where we can use text variable with replacement path..
i have already searched in forum,but that scenario's i did not under stand.
Please send.
i will assign points.
Thanks in advance.
Thanks & Regards,Hi,
There is a scenario:
One has to show, a Period like May 2008 for a report. i.e the report which u r showing is common for May 2008. So u create a text variable on this Fiscal Year Period. When u do this, the Text appears on the Top of the report. So later, whenever u execute a report for a particular month, u get that Header as Jue, July etc etc.
Its just a header. Text Variable promts u to display the Header with our own uploaded Desire Data.
Steps.
1) Edit your query
2) Right click 'keyfigures' or other structure, choose 'new selection',
3) beside description there is 'variable' button, click and then choose 'new', a variable screen will come out, type in your variable name, description, choose 'replacement path' for processing by. click 'next'.
http://help.sap.com/saphelp_nw04/helpdata/en/ac/789b3c4d4d8d15e10000000a114084/content.htm
Assign Points if helped
Thanks
Edited by: Noor Ahmed khan on Jul 21, 2008 5:43 PM -
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,
AjayHi 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. -
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,
MQU 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,
PremHi 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 -
Unable to carry out calculation of keyfigure with it's total summation taken on keyfigure
Hi,
For a requirement, we are trying to calculate division of a keyfigure with it's total summation of key figure.
For example:
Sales Office
Order Reason
Invoice Volume
MRV Volume
% of MRV Volume to total invoice volume
% of MRV Volume to total MRV volume
1504
A1
10
2
(2/90) = 2.22
(2/27) = 7.40
A2
5
3
3.33
11.11
A3
20
10
11.11
37.03
A4
30
5
5.55
18.51
A5
25
7
7.77
25.92
Total
90
27
30
100
Here, Sales office and order reason are dimensions.
Invoice volume and MRV volume are key figures.
Following are the formula used to calculate other two keyfigures.
% of MRV Volume to total invoice volume = MRV Volume / Total ( Invoice Volume ) * 100
% of MRV Volume to total = MRV Volume / Total ( MRV Volume) * 100
Kindly help us to get calculation of above two keyfigures to be carried out through BEx query designer.
I tried out aggregation at order reason on Invoice volume, MRV Volume by creating two new formula keyfigures with the aggregation, but couldn't get desired output.
Regards,
Antony Jerald.Hi Antony,
Use the same formula for these two keyfigures in BEx with SUMGT instead of Total.
% of MRV Volume to total invoice volume = MRV Volume / SUMGT ( Invoice Volume ) * 100
% of MRV Volume to total = MRV Volume / SUMGT ( MRV Volume) * 100
Regards,
Srilakshmi B -
Help needed in creating a calculated keyfigure/query exit
Hi Reporting Gurus
Please someone give me a solution for my issue.
I have two keyfigures
Plan Finish Date(PFD)
Actual Finish Date(AFD)
I have one calculated keyfigure
Delivery Status = (AFD<=PFD) . When this condition is met it returns 1 else 0.
But Delivery Status = (AFD<=PFD) returns 1 if AFD and PFD both exists and if the condition is met and also works (returns 1) for the scenarios mentioned below.
1. if AFD is blank and PFD is filled
2. if AFD and PFD both is blank.
So I need a solution for my issue in such a way that
Delivery Status = (AFD<=PFD) should return 1 only if AFD and PFD both exists and only if AFD<=PFD.
For rest of all the scenarios my calculated keyfigure should return 0 , i.e.,
1.if AFD is blank and PFD is filled
2.if AFD and PFD both is blank.
3.if AFD is filled and PFD is blank.
How to achieve this?
Should I have to write a customer exit variable and incorporate ABAP codes or should I have to write VB macros or can we have a calculated keyfigure with a necessary logic or is there any other way to achieve it.
Please help me out.
Thanks in Advance,
Have a nice day
Regards
SamYou can create a new calculated key figure which calculates the result which looks as follows...
= ((AFD<>0) AND (PFD<>0) AND (AFD<=PFD)) * 1 + 0
Please check the syntax when done. You can refer to the below link for more info abt using IF ELSE operations in calculated keyfigures. Please let me know if you come across any issues.
http://help.sap.com/saphelp_nw04/helpdata/en/23/17f13a2f160f28e10000000a114084/content.htm -
Can anyone help with me on characterstics and Keyfigures in BPS Planning
Hi,
How are you folks ?. I am seeking for help for characterstics and keyfigures for Inventory planning, production planning and for headcount planning. Can any one help me with the data.
I would appreciate if anyone let me know on it.
Thank you.hi
u hv standard planning cubes for all the planning applications u mentioned. u can activate business content and get it.
For production planning: The characteristics are Product, Division, Plant , Product Manager, Fiscyr, Fisper, Version, Value type & KF's Planned Qty, Average TCD, Noofdays etc.
Regards
Srin
Maybe you are looking for
-
Error when calling Web Service from Adobe Form
Hi all, I need to invoke a Web Service from my Adobe Interactive Form. I have merged the WSDL files, following the steps in this document: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/148ec26e-0c01-0010-e488-decaafae3b26 But wh
-
Bluetooth Driver For Win 8.1 - ideapad S510p
When will there be a new qualcomm atheros driver for Windows 8.1? The bluetooth stopped working when Windows 8.1 was installed. The Lenovo website doesn't show a new driver for this. Very frustrating. Is it out there somewhere? Is there an altern
-
Maybe sorry for the bad English xd
-
Dblink errors from 11gr2 to 8.1.7
Hi, I created a DB link on 11gr2 to connect with old version 8.1.7. there is ORA-03113: end-of-file on communication channel. I've checked with other related threads and make sure my creation with right global_name setting and password case. I unders
-
Issue with border around submenu when a flash movie is under it
I've searched the forum and although I found posts about flash movies covering spry menu items, I couldn't find this exact thing. I have a spry menu with a submenu which has a 1px solid border around it. On the pages linked to by the submenu items,