Anda di halaman 1dari 29

Currency conversion

In order to convert from one currency to another currency based on exchange rates, we can use
currency conversion

Currency conversion can be implemented in an analytic view or in calculation view

TCURR- Exchange rates


TCURV- Exchange rate types for currency translation
TCURF- Conversion factors
TCURN-Quotations
TCURX-Currency decimal

First of all, create an analytic view: right click on package “CURRCONV5”<-new<-analytic


view
Provide the details and click on finish

Click on + icon at data foundation<-type In CE1IDEA_B<-select CE1IDEA_B (BEST) <-click


on ok
Select KNDNR, ARTNR, BUKRS, HZDAT, VV010,VV070 in CE1IDEA table

Drag and drop the following attributes on to the star join data foundation
Join the links as shown below and select the required objects as shown

Click on semantics
Select VV010 and VV070 as measures

Save and validate<-save and activate<-click on data preview


We can view the output data by clicking on raw data

Select the analytic view that we have created: content<package “CURRCONV5”<-select an


analytic view
Click on semantics<-view properties<-default schema

Select SAP_ECC(BEST) and click on ok


Click on data foundation

Click on find<-search for “FRWAE” object and select the object


Right click on object “FRWAE”<-click on apply filter

Right click on input parameters and click on new


Provide name and select semantic type as currency and data type as VARCHAR and click on ok

Click on star join


Select measure “VV010”

Click on showvalues at semantic type


Select “amount with currency code” as semantic type

Click on conversion checkbox


Click on the icon shown below

Select the type “column”


Select “FRWAE” and click on ok

Click on the icon shown below


Select the type as input parameter

Select currency and click on ok


Click on the icon shown below

Select “standard translation at average time” and click on ok


Select conversion date

Upon conversion failure has been selected “set to NULL” and click on ok
Right click on analytic view and click on “copy column view name”

Open notepad
The column view has been pasted on notepad<-copy the following text in notepad

Go to catalog<-_SYS_BIC<-right click on column views<-click on filters


Paste the text which we have copied from notepad

Click on ok
Now, we can see that an analytic view is not activated. Once it does get activated, currency
conversion will become calculation view

Save and activate<-save and validate


Right click on column views<-click on refresh

Now, we can see that analytic view has become calculation view
Click on data foundation

Select measure “VV010” and add it to the output


Click on semantics

“VV010_1” has been added as a measure


Click on measure “VV010_1” and rename it as VV010_ORG
Click on measure “VV010” and rename it as “VV010_CONV”
Save and validate<-save and activate

Click on data preview


From<-select American dollar<-click on ok

Click on ok
Drag and drop “FRWAE” onto label axis<-drag and drop “VV010_ORG” and “VV010_CONV”
onto value axis. Click on analysis<-clcik on table

We can view currency conversion values

Anda mungkin juga menyukai