Display Units in separate column next to key figure
Hello All,
Could someone please explain step by step how to display the key figure results in one column and the mapped unit in the next column using bex analyzer 3.5. An example would be:
Now:
Order# 1 Cost Element1 100Lbs $100
Order#2 Cost Element2 5Pcs $50
Should be:
Order#1 Cost Element1 100 Lbs 100 USD
Order#2 Cost Element2 5 PCs 50 USD
I should mention that I've tried displaying the characteritic for units in both the rows and columns with no success when I displayed it in rows I received the following results:
Order#1 Cost Element1 Lbs 100
Order#1 Cost Element1 USD 100
Order#2 Cost Element2 Pcs 5
Order#2 Cost Element 2 USD 50
In summary I would like to display the unit key whichever it may be for the key figure for quantity in one column. Any help would be appreciated.
Thanks
I get crazy .... I can't find that table view icon !!!
My top menu from left to right is:
New Query.., Open Query ..., Save Query ..., Save All, Execute, Check, Query Properties, Cut, Copy, Paste, InfoProvider, Filter, Rows/Columns, Cells, Conditions, Exceptions, Properties (Open), Tasks, Messages, Where-used, Documents, Technial Names
Edit:
Doesn't matter anymore...I just found a note that "Table view" is not supported anymore in 7.x
Check SAP note 1002271.
Thanks
Edited by: Heiko Hafenmaier on Jun 2, 2010 4:53 PM
Similar Messages
-
How to display subtotals in separate column in alv report?
hi,
I am displayed the subtotals for QUantity field BDMNG in Reuse_alv_grid_display in the same column.
but I want to display subtotal in separate column.
How to display subtotals in separate column in alv report?
thanks®ards.
samba.kHi
As far as i know you can't do this,the option you have is to create one more column (subtotal) and populate it by manual calculation at every subtotal (not alv subtotal but yours) .
Best Regards
Yossi -
Fiscal year in the columns outside the key figure structure
Dear Experts
I have a report requirement to show the keyfigures in the columns from year 1 to year 10 and in each year there are 4 keyfigures each restricted to 1 quarter for 4 quarters.
So, there are too many keyfigures to create.
I am using fiscal year in the columns outside the Key figure structure containing the keyfigures restricted at each of 4 quarters.
So, when the report displays, all the 10 years will automatically be displayed.
The problem is one of the 4 quarter level keyfigures needs to be restricted by calendar year.
How can I read what is the fiscal year for each column at runtime so that I can reference this value to determine the calendar year ?
As you know, each FY spans 2 Calendar Years. So, i need to restrict this on the 4th keyfigure by calendar year but while having the FY outside the keyfigure structure i can get all the FY, I am not sure how to access this value at runtime so that eg.
if FY for column 1 is 2010, i can set calendar year to be 2010 to 2011.
Hope you can give me some clues.
Thanks you Gurus!
Best regards
JohnDear Sunnybt
Copy Riyes, I find your response interesting. Please could you elaborate your idea of using condition in more detail.
Sorry for my late response.
Allow me to clarify my statement, which you are right, is unclear.
By :
"if the current QuarterFY is less than the current QuarterFY"
I mean :
eg. user enters FY range : 2009 to 20NN (eg. 2017)
KF_column1_FY2009_Q1______KF_column2_FY2009_Q2____KF_column3_FY2009_Q3______KF_column_FY2009_Q4______KF_column_FY2010_Q1______KF_column2_FY2010_Q2____KF_column3_FY2010_Q3______KF_column_FY2010_Q4_____KF_column_FY_NNNN_Q1
For each column, where the FY can be any year range entered by user,
the Text Description of the Column should show either 'Actual' or 'Plan' based on what is the current FY Quarter at runtime.
If the FY Quarter (eg. 1st column is 200101) is before current FY Quarter (i.e 201103), then the Description of this column should be "Actual" , else "Plan".
In my current design, I am unable to use customer exit text variable to meet this requirement.
So, I like to check with you for fresher ideas.
If not , I would use a workbook, which I am avoiding as the user needs to drilldown and I believe drilldown is not possible in workbooks where report layout needs to be rigid or cell positions fixed. Of course, unless there is a way out of this which I do not know.
Best regards
Bass -
Not able to display data in separate columns using Unicode encoding
Hi,
Iam using Unicode encoding in my Java appln to support Japanese characters while downloading CSV report. But using the Unicode encoding displays all data in the first column of Excel sheet.
Please let me know how to display data in different columns using Unicode encoding in Excel sheet.
This is an urgent need. Please help me out.Hi,
I have no problem with item :P15_EV_LCL this is having a value my probem here is i am using java script to display the value in different color based on the condtion case
eg:
select
case
TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2)
= :P15_EV_LCL
then
span style="background-color:lightgreen"
|| TRUNC((
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
else
span style="background-color:yellow"
|| TRUNC(
( (NVL(Z."AEWP",0) - NVL(Z."BEWP_Final",0) ) / DECODE(Z."BEWP_Final",0,NULL,Z."BEWP_Final") ) * 100
),2) || '%' || /span
end "Effort"
from actuals Z
If i dont use this <Span style="Background-color:color"> i am able to generate data in excel sheet if i use this color coding i am not able to get data in spread sheet.
Please suggest
Thanks
Sudhir
Edited by: Sudhir_N on Mar 23, 2009 10:00 PM -
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 -
How to Filter Key Figures in Columns Based on a Selection
Hello,
I am trying to get my columns to dynamically filter based on some selection and would like to know what is the easiest way to make this happen. My scenario involves displaying 12 months of data for an actual / budget view. So we may need 8 months of actuals and 4 months of plan, 9 months of actuals and 3 months of plan, 10 months of actuals and 2 months of plan, etc. The row is cost element and my columns are restricted key figures. I want the user to be able to easily select an 8/4 look and the dynamically remove the unnecessary columns. Same with a 9/3 or a 10/2. Besides these 12 months of Act / Bud, I have 12 months of plan, 12 months of actuals for other years, so I have lots of key figures. Just doing the basic filter can be too cumbersome.
Thanks,
CherieHi Cherie,
This is exactly the type of problem that I'm currently trying to figure out. I'm trying to following your solution but I'm not clear on how you actually achieved this in you last note. I want to dynamically select actuals/budget column fields based on what period I enter. I thought about creating 12 separate RKF fields for actuals and 12 separate RKF fields for the budget reforecast and outputting these all and then doing some VBA to hide the fields not required based on which period was selected... how is your variable ZFYAPER7 defined and calculated?
Cheers -
Restricted Key figure - Displaying as normal number instead of currency
Hello,
I'm creating a restricted key figure using 0AMOUNT which of course is currency, however in the cube that I'm using 0AMOUNT is used for both Dollars and Quantities. The problem is 1) it is always displaying a $ symbol in front of the key figure and 2) it seems when I try to create a calculated key figure and try to add the 0AMOUNT to another 0QUANTITY infoObject I get an error (I'm presumming because I'm trying to add a number to a currency infoObject).
So my question(s) are 1) Can I format my new restricted key figure to always display as Quantity even though it's a currency info object
and 2) Can I do a calculated key figure adding a Currency InfoObject to a Quantity infoObject?
Thank you very much!
-Patrick1) For your first question, u don't to have the currency dollar displayed for the restricted 0amount instead you want the unit of quanity.?if you want to do this,you could make use of Excel's format options i.e go to
format-->.Style->Select the stdBexInput item and make the appropriate settings.
2) You can use NODIM() function to add two different keyfigures. -
Displaying a symbol in key figures
Hello all
In the query i want a column in the key figures which displays either blank or the symbol | for all the rows.
I tried giving it a value 0 and then using the global setting suppress zero values but it is suppressing the 0 values even for other key figures which i dont want. Any idea how to do it?
Regards
MansiHi Mansi,
Can you explain your req in more detail. -
Display Problem with the Key Figures
Hi,
I working on the query where i need to display three Key Figures. I have no problem with the first two Key Figures , but the third Key figure values need to be display by day wise. (0Calday). i.e., the third key figure value should be displayed based no of days 0Calday has.
For Example if 0Calday is holding 4 days... then third keyfigure Value should be display as 4 columns with their respective values by dividing into day wise, remaining first two key figures should not be changed.
When i am trying to call the 0Calday into the Column, all the three Key Figures values are displaying as many as no of days 0calday has.
For Example if 0Calday has 2 day....the three Key Figures are values are breaking into two days values and displaying, so totally we can see 6 Key figure values. But i need first two values should not break but the last key figure should be divide into two days as values and display.
Thanks & Regards
Agama.Hi Venkat
This can be achieved by supressing 0 values.
1) In the Query Designer: Go toquery properties
2) Select Suppress Zeros
3) Select option Active
4) Under Effect On : try with Column or row o (Not infront of system , so cannot exactly remember)
This will allow you to get the exact result as per your requirement. We had the same issue and we could resolve this by following this.
Hope it helps.
Cheers -
Can not extract currency/unit from cell/column
In analysis for excel i have a column called Amount which is in diffrent currencies, now i want to extract only currencies in a diffrent column not the numerical figures,tried lot of things on excel to pick currency but unable to do that formulaes in excel can not read currencies it is kind of inbuilt format. Is there any way by which i can pick currrencies from a column?
e.g.
AMOUNT
12EUR
32AUS
43SEK
I want two columns:
Amount Curr
12 EUR
32 AUS
43 SEK
Thanks.
PrateekHi Prateek,
I'm wondering which type your "Amount" key figure has? Did you save the value and the unit in one?
Usually every key figure in BW has an assignment of a unit or currency characteristic, e.g. 0UNIT or 0CURRENCY. See: https://help.sap.com/saphelp_nw04/helpdata/en/57/f2dc37f0f12313e10000009b38f8cf/content.htm
When you use your currency Infoobject as free characteristic in your query you can do a drill-down for it and e.g. apply a filter on any of the available currencies.
I guess this would be the only working solution.
Regards, Martin -
Key figure units in fact tables of InfoCube are blank
I run RSRV - Key figure units in fact tables for my cube and found the following error message. I found one SAP note 941895 - RSRV test fails with unknown error, but our system status is SAPKW70020, so this note is not useful to our case. Pls advise!
System message:
The test Unit of key figures in fact tables for InfoCube XXX initial had to be terminated due to an unknown error (RSRV320).
Many thanks!
rajatina.Hi Raja,
Check that in your transformation you have mapped Unit from source system to this key figure. If not then you will have to do the mapping and reload the data. If you are not able to get unit from source system then atleast you will have to assign some constant Unit if possible.
Regards,
Durgesh. -
APO key figures - units of measure
I am using APO V5.1.
Via RSA1 I have created a key figure of data type Quantity and unit = 0UNIT.
I have assigned this key figure to my planning area and planning book.
The planning area has unit of measure = CAS, and this is the unit of measure shown for my new key figure in interactive planning.
How can I change the unit of measure for my new key figure to D(ays)?
Thanks for any advice...Datta,
Thanks for this reply.
I have followed your advice...
I have a key figure with data type 'Number'.
In interactive planning, this key figure is appearing with a blank uom.
In the planning book design, on the 'key figure attributes' tab, I cannot however make any changes to the key figure attributes including uom, as they are greyed out.
Any ideas on this?
Thanks... -
3 Decimal place values for Amount Key Figure
Hi Experts,
I have created an ODS in BI 7.0. This has a amount key figure which is getting calculated by a routine. Now The value that is getting calculated is getting stored into the ODS with only two decimal places.
For example if the value that is gettig calculates is 0.187 by the code, the values that is getting stored is 0.19.
This is not related to Bex display. We need to store the values 0.187 in the system and not 0.19.
The Amount key figure that we are using is of unit 0DOC_CURRENCY . In Additional properties, 'key figure with maximum precision' check box is ticked is . We have not defined any decimal places for the BEX Display.
Kindly help us in this matter.Hi Saurabh,
If you wish to change the decimal precision for your 0DOC_CURRENCY... you can use t.code CUNI to change the number of decimal places. But, then this would be global effect wherein whereever this infoobject is used it would be reflected with the changes you made in CUNI. Also check if you have authorization to change this.
Regards,
Kishore -
Key Figure in Queries migrated to BI 7.0 front-end
Hello Experts. We are currently migrating queries from 3.5 front-end to 7,0 front-end. Some queries that used to work in 3.5 withoug key figures no longer work after migrating to 7.0. Can someone tell me if there is a way to resolve this? Changing the query is out of the question. Can someone point me to any forum document or Blog if there is any? Thank you for your help.
Hi Sree,
I did encounter an error - the error said that a key figure needs to be specifiied. The other thing is, the query does have a formula which means it does have a key figure. It migrates in spite of the error but does not execute and displays the same error message about a key figure needs to be added.
We are on Pacth Level 13.
On a side note, there is a way to restore the query from 7.0 back to 3.5 Abap program 'Component_Restroe' will do it.
Thanks for your help. -
BEx Query key figure sum different at monthly or at docu number level
I have a query designed in Query Designer. The report is summarized at the monthly level , but the document number is available for drilling down. What's strange is that the sum of the key figures is different when running at the monthly level or when drilling down at the document number level. Can someone share your insight on what how to solve this problem?
Thanks,
SharonHi Sharon
Which key figures give you an incorrect picture or discrpancies in the two displays ?
Check the properties of these key figures. Are any of the key figures posing an issue calculated as 'Formula'. If yes, then what is the Calculate Result as for this KEy Figure ? Is it TOTAL ?
Cheers
Umesh
Maybe you are looking for
-
Error creating a web service client from th WSDL document (soamanager)
Hello everyone, we have generate with the wizard a web-service using the function module BAPI_CONTROL_RECIPE_GET_LIST. Then we have generated with SOAMANAGER the end point. As test, we have used a web-service explorer of Eclispe and we can retrieve w
-
I have a 27" iMac and want to play Windows games with optimal performance. What do I need to do?
-
10.9.3 update "less than a minute" - 60 mins ago
Hi I installed the updates for 10.9.3 which required a reboot. After the reboot the Installing Software Update dialog shows and the progress bar moved swiftly towards the end, then stuck at about 95% with the "Less than a minute" message. That was
-
I download a file with Win Rar, how do I open it with Mac book pro.
-
Error at the time of Marketing Attributes Assignment to BP
Dear Experts , I am facing some problem at the time of assignment of marketing attributes to a BP. it is giving me an error saying "Inconsistent characteristic value assignment". Please guide me how to go about it. Regards, Nikhil