Using Currency Translation and Unit Conversion in Queries and Transformations

In SAP BW/4HANA, currency translation and unit conversion can be done in the following locations:
When a Query is executed.
In a Transformation.
When you use currency translation or unit conversion during reporting, analysis can be done for various target currencies and units. The original transaction currency or unit is not lost.
If you use currency translation or unit conversion during a data update using a Transformation, the converted values are physically saved, thus accelerating the report processing. However, the original values are lost.
Hint
To avoid this loss of information, we recommend that you store the original values next to the converted ones in a DataStore Object (advanced).In the Transformation, the Allow Currency and Unit Conversion checkbox must be selected.
In some scenarios, you may want to use user-defined routines instead of currency translation types and unit conversion types. For example, if you want to convert units of measure during the transformation using a routine, you can choose Routine with Unit in the transformation rule definition. In the routine editor, you get an additional return parameter UNIT and the target unit of measure is determined using the value of this parameter.
Currency TranslationFor currency translation, the data source must contain a key figure (data type AMOUNT) with either a fixed or variable currency. Also, the data target must contain a corresponding key figure (data type AMOUNT) with either a fixed or variable currency specified.
Unit ConversionDepending on the type of unit of measure, there are two different types of key figures:
Key figures with fixed unit of measure
With a fixed unit of measure, the unit is fixed for the key figure. The key figure refers specifically to the unit of measure so you do not need to enter the unit in the data record again.
Key figures with variable unit of measure
A variable unit of measure references a unit InfoObject.
Transformations can be performed for key figures in the following ways:
Every key figure in a DataStore Object (advanced) (target key figure) has a corresponding key figure in the source (source key figure). Unit conversion is not performed.
There is no corresponding source key figure in the source data for the target key figure in the DataStore Object (advanced). In this situation, you have the following options:
You can assign a source key figure of the same type to the target key figure.
If the units of measure of both key figures are the same, no unit conversion can take place. If the units of measure are different, a conversion can take place either using a unit conversion type or by simply assigning a unit of measure.
If there is no corresponding source key figure of the same type, you have to fill the key figure of the target using a routine.
You must define currency translation types and unit conversion types. You define them in BW Modeling Tools, SAP BW/4HANA Cockpit, or SAP GUI transactions RSCUR (currency translation types), and RSUOM (unit conversion types).