Currency (unit) conversion in Spotlight?
Hi!
With Leopard came the ability to use Calculator.app within Spotlight. Brilliant. But is there any way to use Calculator's awesome unit conversion in Spotlight, too? I find myself going to google every time (d'uh).
Peter
HI Peter,
Not sure if Spotlight supports the calculator application but a work around might be a Dashboard widget.
Go here.
http://www.apple.com/downloads/dashboard/calculate_convert/
Carolyn
Similar Messages
-
Problem in 2 level Unit conversion using ref IO
Hi All,
I am doing UoM conversion using conversion types - dynamic conversion using reference info object.
Now in the UoM DSO, which stores the conversion factors, I have relation between 2 units say PC (pieces, dimensionless) and KG (kilogram, dimension = MASS) for some material.
For e.g I have 1 Pc of material A = 2 KG.
So if the existing qty key figure has unit PC in IC and the reporting unit given by me is KG, successful conversion takes place using the UoM DSO.
E.g. 4 PC of Mat A is displayed as 8 KGs.
Also if existing unit in IC is KG, and RU is 'g' conversion is taking place usion tghe system CUoM table T006.
E.g. 2 KG is displayed as 2000 g.
I selected the third option when creating Conv Type, i.e. first look in ref IO then T006. Hence the above results.
But if the existing qty key figure has unit PC and if the reporting unit given is 'g' or some other MASS unit, conversion is not taking place. Ideally it should first look into the DSO table to convert 'PC' to 'KG', then look the T006 table to convert 'KG' to 'g', but this is not happening.
E.g. 4 PC of mat A isn't shown as 8000 g. It is still shoeing as 4 PC.Hi Shai,
It sometimes show without all the screens, I guess u should refresh.
Anyway,
Try running the query thorugh RSRT with Debug, with a breakpoint on currency/quantity conversion. I would suggest to restrict the test query to show only one record that should be converted so the debugging would be easier.
Anyway, Have fun. -
Function modules for unit conversion
hai gurus.
what is the function module to make one qty to the same unit as other qty.
if one is in kg and other in pounds
i want to make both in pounds.
pls help me with thisHi
chk UNIT_CONVERSION_SAMPLE
also chk this
CF_UT_UNIT_CONVERSION
Some Insights-
Unit conversions
with NW2004s the HOW-TO GUIDE for qty conversion is obsolete.
http://help.sap.com/saphelp_nw2004s/helpdata/en/27/b65c42b4e05542e10000000a1550b0/content.htm
As of SAP NetWeaver 2004s you can create quantity conversion types using transaction RSUOM.
The business transaction rules of the conversion are established in the quantity conversion type. The conversion type is a combination of different parameters (conversion factors, source and target units of measure) that determine how the
conversion is performed.
In terms of functionality, quantity conversion is structured similarly to currency translation.
Quantity conversion allows you to convert key figures with units that have different units of measure in the source system into a uniform unit of measure in the BI system when you update them into InfoCubes
http://help.sap.com/saphelp_nw04s/helpdata/en/27/b38c4284a8c353e10000000a1550b0/content.htm
It is entered in ODS table linked to info object (0material)
What you need to do basically is-
1 ) Goto your infoobject for eg- 0material
2 ) In Info object Maintenance- Tab page- Bex Explorer
3 ) Enter 0BASE_UOM in Base unit of measure
4 ) Generate UOM ODS (System generates it with prefix UOM)
It is made of 4 fields (1 more in case of compounding) with SID for them. This is the place where you enter numerator and
denominator to calculate conversion factor
5 ) Load the UOM ODS with conversion from 0MAT_UNIT_ATTR or flat file
6 ) Define conversion type
7 ) In the conversion type, then you can select 0Material in the dynamic determination of conversion factor
8 ) Select source unit and target unit
For more help refer SAP help file on NW2004s. It is comprehensive and even explain - How to do unit conversion in
transformation rule?
http://help.sap.com/saphelp_nw04s/helpdata/en/4f/707242df019c60e10000000a1550b0/content.htm
Check this sample code,
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
* CLIENT = SY-MANDT
DATE = pdate
FOREIGN_AMOUNT = p_amt1
FOREIGN_CURRENCY = p_curr1
LOCAL_CURRENCY = p_curr2
* RATE = 0
* TYPE_OF_RATE = 'M'
* READ_TCURR = 'X'
IMPORTING
EXCHANGE_RATE = w_rate
FOREIGN_FACTOR = w_fact1
LOCAL_AMOUNT = w_amt
LOCAL_FACTOR = w_fact2
* EXCHANGE_RATEX =
* FIXED_RATE =
* DERIVED_RATE_TYPE =
EXCEPTIONS
NO_RATE_FOUND = 1
OVERFLOW = 2
NO_FACTORS_FOUND = 3
NO_SPREAD_FOUND = 4
DERIVED_2_TIMES = 5
OTHERS = 6.
IF SY-SUBRC <> 0.
write: / 'Conversion to loc.curr. failed:',
p_curr1, '->', p_curr2, 'err.code=', sy-subrc.
ELSE.
write: / 'to Loc.curr:', p_amt1 currency p_curr1, p_curr1, '->',
w_amt currency p_curr2, p_curr2,
'(', w_rate, ')', w_fact1, w_fact2.
ENDIF.
http://www.geocities.com/victorav15/sapr3/examples/currconv.txt
Check this
CONVERSION_FACTOR_GET
Measurement unit conversion: Get measurement unit conversion factor Not for Dimensionless Units of Measure
UNIT_CONVERSION_SIMPLE Measurement unit conversion by table T006, with rounding
UNIT_OF_MEASURE_SAP_TO_ISO
UNIT_OF_MEASURE_ISO_TO_SAP
MATERIAL_UNIT_CONVERSION Material quantity conversion from Base Unit of Measure to Alternative Unit of Measure and vice versa. For Dimensionless Units of Measure (Each, Piece, Box etc.) conversion depends on the given Material (see table MARM). For other Units of Measure (Length, Weigth etc.) conversion can be calculated from the T006 table or via CONVERSION_FACTOR_GET.
CONVERSION_EXIT_CUNIT_INPUT Conversion exit for commercial (3-char) measurement unit INPUT
CONVERSION_EXIT_CUNIT_OUTPUT Conversion exit for commercial (3-char) measurement unit OUTPUT
CONVERSION_EXIT_LUNIT_INPUT Conversion exit for technical (6-char) measurement unit INPUT
CONVERSION_EXIT_LUNIT_OUTPUT Conversion exit for technical (6-char) measurement unit OUTPUT
UNIT_OF_MEASUREMENT_HELP Input help for measurement units of a predefined dimension
http://www.geocities.com/victorav15/sapr3/abapfun.html
Reward all helpfull answers
Regards
Pavan -
No display of currency - unit in bex
Hi,
I have a problem regarding currency translation - coversion. I have made a currency translation type from USD to EUR with fixed target currency EUR. When I use the conversion in BEx query it works, but it does not show the currency unit EURO into the scaling factor.
Does any body know how to solve the problem?
THX
MihaHi
Go to the BEx query designer and check query properties in the header of the query....find whether dispaly scaling factor is tick marked .....
Assign points if useful
Regards
N Ganesh -
Unit Conversion issue for same material with Diff KPI
Hi,
i have a report with multiple key figures which form a structure.
Unit conversion for this report and all the key figures are defined at report level.
Below are the settings in place
Source currency: Data record from target
Target Currency: From variable ( Input variable in BeX report)
Conversion factor: Dyanamic Determination of conversion factor
Using Reference Infobject if available otherwise use T006
Reference Infobject: 0Material
Issue: For 1 Key figure conversion to TO is happening, however for other Key figure conversion is not happening for the same material.
Note: Conversion to TO is defined in BEX settings for Info object 0material and stored in DSO UOM0MATE.
Why for same material some key figures convert to target unit correctly and not the others?
See the attached screenshot. Sales Quantity is convertin to "TO" while Volume third party shows figue in"ERR" for same material.
Thanks
NayabHi,
Following reasons cause to your issue,
1. Unit Conversion is not maintained for that particular material in source system Material itself, so that conversion data data may not updated in DSO (UOM0MATE).
2. For particular transnational data record key figure value don't have any base unit or units measures, that case also you may get that error.
Request check the transnational data in your InfoProvider and 0Material Master data and DSO data (UOM0MATE) . Correct the data based on that.
Check the Master data test in RSRV for 0Material, if any SID generations was missed or not.
I hope this can be help to find the cause of error , based on that you can resolve problem.
Thanks & Regards,
Leela Krishna. -
Hi Experts,
I have an inventory report in which i have three columns (Total cost per unit, Stock Quantiy and stock values)
Total Cost per unit is in EUR -- currency conversion exists in the report level.
Stock Quantity in KG/PC/LB - Unit conversion exists at report level.
Stock value in EUR -- Multiplication of Total cost per unit and stock quantity.
In my case, Total cost per unit and Stock quantities are coming from different Infocubes on top of which a MP is designed.
When i change the UOM from KG to G or PC or LB, Stock Quantiy values are changing accordingly.
However the Stock value is also changing which should not happen because realistically Stock value in EUR for a specific material and plant combination should always be same irrespective of any UOM(KG/G/PC/LB) for the keyfigure "Stock Quantity".
I am wondering if it possible to change the "Total cost per unit" value in the report according to the change in UOM.If so can you provide me your valuable inputs?
Quick help is highly appreciated.
Best Regards
Naghi,
Please use CKF's for all the three values, currently it might be changing as it might be a simple formula i.e. a = b*c.
if b changes then a is bound to change.
create CKF without any currency conversion. apply the calculations in CKF.
In the end use CKF in the report and apply the conversions after adding them in the query column.
regards,
Arvind. -
Hi I am having some issues in unit conversion.Let me brefly explain the scenarioa below
Coversion Type Settings:
Source currency: Data record from target
Target Currency: From variable ( Input variable in BeX report)
Conversion factor: Dyanamic Determination of conversion factor
Using Reference Infobject if available otherwise use T006
Reference Infobject: 0Material
Now for 1 material "Conversion to ton" attribute is zero as below. But at report level conversion to TO is happening correctly.
However for other material Conversion to TO is zero and at report conversion aint happening. (Target currency appears as ERR).
Why is conversion not happening for 20053110, because in both the cases above 0Material infobject is referred to read conversion factor.
ThanksHi Nayab,
In both cases, the value in the "Conversion to TON" attribute is irrelevant.
The option you have selected in RSUOM will basically do the following
1. Check the unit conversion DSO for 0MATERIAL. You can see the DSO name if you open 0MATERIAL in RSD1, check the BEx tab. Normally it is UOM0MATE, but it may be configured as something else in your system. This DSO defines the conversion rates at a material level. For instance, it could say the conversion rate for Material ABC for Pieces -> KGs is X... i.e. 1 piece = X KGs.
2. If the above fails (i.e. no conversion exists for the material in the above DSO), then it tries to convert the quantities based on the T006 table. This second step only works for conversions within a physical dimension. For instance, the second step will work for conversions from Ton->KG, KG->lbs, metres->feet, litres -> gallons etc, but it will not work for say gallons -> tons or pieces -> kgs.
Regards,
Suhas -
Hi, this i have already posted but i didnt got helpful suggestions...
plz help me to resolve this...
I am using BW7.0's feature - Quantity Conversion (TCode: RSUOM).
I am Traying to Convert all the Quentity Units to one Unit , I have followed the following Steps.
Steps :-
1) In the BEx Tab page of Characteristic 0MATERIAL, maintained the field "Base Unit of Measure" as 0BASE_UOM
2) In the BEx Tab page of Characteristic 0MATERIAL, maintained the field "Unit of Measure for Char." by click on the New button, it will generate a DataStore Object, which will store information for calculating the conversion factor.
3) I have created Transformation from 0MAT_UNIT_ATTR to Generated DSO
4) The Mapping is
MATNR ---> 0MATERIAL. ( Material )
MEINH ---> 0UNIT ( Unit of Measure )
UMREZ --- >0UOMZ1D ( Counter )
UMREN ---> 0UOMN1D ( Denominator )
MATNR -
> 0BASE_UOM ( This is Lodead through Master Data )
5) Fill in the DataStore generated with data, using the DataSource 0MAT_UNIT_ATTR Using Transfermation and DTP.
6) Data is Loaded Successfully AND the Data is in Active.
7) Then I Created the Quantity Conversion Type through TCode RSUOM ( Eg: ZUOM ),
In the Conversion factor Tab , The Dynemick Determinetion of Convertion Factor Option 3 I have selected with reference to 0MATERIAL InfoObject.
8) In UoM Tab, I have selected radio button
Source : Info Object for Determining the Unit of Measure ( 0MATERIAL and Quantity Attribute 0BASE_UOM )
Target : Fixed Unit of Measure ( CAR )
9) Then in Query Designer , Quantity Key Figure Properties ( Eg: 0QUANT_B ) --- > In Unit
Conversion I have selected Conversion Type ZUOM
When I execute the Query , it is not Converting the Units.
I am Trying to Convery all the units in to CAR ( Cartons )
Eg : 10 Kg = 1CAR
1000 kg = 1 MT
Where I am missing ? what are the Radio Buttons I have to select in RSUOM
Thanks
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/define%2bunit%2bof%2bmeasure%2bconversions%2bin%2b0material%2bdefinition
I check this link , i didnot find all the screens..
Regards,
SHAIK
Message was edited by:
shaikHi Shai,
It sometimes show without all the screens, I guess u should refresh.
Anyway,
Try running the query thorugh RSRT with Debug, with a breakpoint on currency/quantity conversion. I would suggest to restrict the test query to show only one record that should be converted so the debugging would be easier.
Anyway, Have fun. -
Query Performance with Unit Conversion
Hi Experts,
Right now my Customer ask to me to do a improve in the runtime of some queries.
I detect a problem in one related to unit conversion. I execute a workbook statistics and found that the time is focusing in step conversion data.
I'm consulting all the year and is taking around 20 minuts to give us a result. I too much time. The only thing in the query is the conversion data.
How can I to improve the performance? what is the check list in this case?
thanks for you help.
JoseHi Jose,
You might not be able to reduce the unit conversion time here and try to apply the general query performance improvement techniques, e.g. caching the query results etc.
But there is one thing which can help you, if end user is using only one of the unit for e.g. User always execute the report in USD but the source currency is different from USD. In such cases you can create another data source and do the data conversion at the time of data loading so that in the new data source all data will be available in required currency and no conversion will happen at runtime and will improve the query performance drastically.
But above solution is not feasible if there are many currencies and report needs to be run in multiple currency frequently.
Regards,
Durgesh. -
Currency unit in Report painter
Hi,
I met a problem when i maintain a report using report panter. Table FAGLFLEXT is used for the library, and I want to using currency translation function. I use Basic key figure "HSL local currency" and CC_HSL translation local currency for the report. But when i run the report, there is a problem, system tell me that can not find the unit of source currency, so can not translated to target currency. The data of local currency can be displayed.
i set the format of the local currency column, find that even i click "print the unit", there is no currency unit of the data, so I think there is some problem.
What is the problem? thank you!Hi Amir,
Thank you for your answer.
I changed the key figue to "Crcy Transltn TransCrcy (Act.)" as told, and run the report again, but still have problem.
No valid exchange rate for currency translation from to USD
Message no. GR640
Diagnosis
The system could not find a valid exchange rate for the currency translation.
System Response
The system could not translate into the target currency.
Procedure
Check the target currency, the exchange rate date and the exchange rate type.
I am sure i have maintain the exchange rate type and related rate.
The setting of "Define Currencies of leading Ledger" is "1 Translation taking transaction currency as a basis".
I think the problem is that the system cannot find the unit of the currency, so the error massage display as "No valid exchange rate for currency translation from to USD". If can find the unit of currency, i thought the message should be like "No valid exchange rate for currency translation from EUR to USD".
If the unit can be found, I think after set the format of the column "print the unit", in the report the unit can be displayed. But in my system, can not display the unit.
What do you think about this? thanks in advance. -
Unit Conversion in Info Set Query
Hello Experts
I have create a query on infoset in which I want to show the qty field with the unit conversion factor . but I am not able to do so.
It is giving an error message while saving the query
0Material is not a valid characteristics for Info provider ZINFOSET
Diagnosis
Customer enhancement RSR00002 or the implementation of BAdI RSR_OLAB_BADI delivers 0MATERIAL as the characteristic to be calculated. 1. is, however, not a valid key figure for InfoProvider ZIS_BILL.
System Response
The information from 0MATERIAL is ignored.
Procedure
Check the exit.
Procedure for System Administration
Please help me out
Thanks
NehaHi,
You can try unit conversion planning function,create planning function and add it at the back of button.
Can refer to link below:-
Not sure if it can solve your problem.As it also depends upon source and target keyfigure used.
http://help.sap.com/saphelp_nw70/helpdata/en/44/21643cedf8648ee10000000a1553f7/content.htm -
Improper display with Currency/Unit in drilldown
Hi ,
There are 2 KFs in the query , 2nd KF is one level down (i.e inside the triangle of first KF) .
KF's are :
Net value
Net val in doc currency
when i drill down on Currency/unit it just drills down by statistics currency (i.e for first KF) it doesn't display other currencies for KF Net val in doc currency .
But when i bring the 2nd KF to same level as first KF (i.e outside triangle) it works properly .
Can any one tell me the reason if you had a similar case .
I think it's some front end problem ?
Thanks
GururajGururaj,
I think that it is normal behaviour.
When you drill down by currency, the 1st KF is drilled down. For example, after drill down you have several rows (columns) with particular statistics currencies.
The currency shown in each particular row (column) acts like a filter for subordinate nodes.
If your doc currency doesn't equal to statistics currency, nothing will be shown.
Best regards,
Eugene -
Currency unit in return tables
Hi @ all,
I'm working with a return table in the update rules to calculate a key figure. Is it possible, that the currency unit of the key figure is not filled automatically? The currency units in source system and target system are the same.
Thank you for your help!
ClemensHallo Clemens,
yes, you're right; are you sure as well to not have more COMP_CODES then 0009 and 0010?
perhaps it would be wiser to lookup the comp_code-currency from the master data of 0COMP_CODE (0CURRENCY is one of its attributes) in order to avoid having it empty and always hardcode it... This is of course if you want to derive the company code currency...
hope this helps....
let us know if you question is answered by closing the thread!
Olivier. -
Unit Conversion in Query Designer
Hi All,
In one of my report, i have to show the gross weight in column against material which i am reading from material master.
Now the weight is stored in two different unit's KG & G.
But i have to show the weight finally in KG.
Does any body has any idea of performing unit conversion at Query level i.e. in Query Designer.
Thanks.Rakesh the same i am doing, that is reading the weight value from material master through formula variable using replacement path.
Now when i create a key figure like this, there is a tab of 'Conversion' in that there is mentioned the 'Unit conversion'
In there, there are 2 options
1. Conversion type - this is a drop down but with no vlaue
2. Target Unit - Where i selected KG.
But output remains the same, i.e. in KG.
M I missing something ? -
Hello Experts.
I have a situation where I need the units of quantity to be converted at the query level. For e.g. if the value of the keyfigure is stored in litres in the Cube, then at the time of the query execution this value should be converted in gallons.
I cannot use the following options in this case:
1) The Solution for alternate UOM using the How-to guide for the same as the conversion from liters to gallons is not maintained at the material master level in my case
2) I cannot use the Unit Conversion in the Conversion tab because gallons won't be the only target unit in my report, it will depend on the type of material select by the user.
Please let me know about the options in this case. Any sort of help is appreciated and points will be duly rewarded.
Thanks,
RishiHi Prasad,
In both of the ways, there should be only one target unit for them to work which is not the case in my situation. I want only specific material types to be displayed in gallons. If the User selects a different Material type then the target unit will be different.
Any other possible solution on this one.
Thanks,
Rishi
Maybe you are looking for
-
How can I transfer all my music from the apple ID account on my dad's computer to my new computer without burning like a hundred CD's?
-
ITunes app file sharing not working with iOS 7.1.1
After upgrading my iPad 2 to iOS 7.1.1, I can't use the app file sharing in the latest version of iTunes on Windows 7. I first noticed it with the Kindle Reader app but confirmed that it also isn't working with GoodReader, HDExplorer, and Notability.
-
Upgrade from "Classic" Broadband to "More Broadban...
Hi First post here I am currently on the origianl Classic Broadband package and wish to upgrade to More Broadband Evening & Weekend to save a few pounds each month. As I run a business from home I can't afford any break in service or drop in the qual
-
Is there any script in S1AS which generates Web services from ejbs in jar?
I'm porting a J2EE app from WebLogic to S1AS7. The ISV uses Ant/XDoclet to do some code generation and build. One of targets in the build scripts is to take as input an EJB JAR file and create all the needed web service components and package them in
-
Dear Gurus we are facing one serious problem we are making changes in screen layout of the PO and PR but the changes we made are not visible i.e there is no effect of these changes for example we made item category and account assignment mandatory st