Problem in currency conversion
hi to all,
help me in this issue
READ TABLE IT_IN WITH KEY 'MHND-DMSHB'.
CHECK SY-SUBRC = 0.
WRITE IT_IN-VALUE TO AMOUNT.
when the value is mhnd-dmshb it is giving correct value whenit is paased to it_in_value it is chenged to ome other pattern related to customer country. ie 5,000.00
is ther indata base but it is changing to 5.000,00
how to get correct value from the table
thanks in advance
kiran kumar
hi vikrath it is not matter of setting its dunnning procedure we r doing in that it is stopping at these non europian customers and giving error as more than two decimals.so plz suggest possible solution to set it for both europe as well as others,.
thanks in advance
kiran kumar
Message was edited by: kiran kumar
Similar Messages
-
Problem in currency conversion rate
Dear Experts,
I'm facing a problem in client place , here when the Sales invoice is posted it shows wrong currency conversion rate, whearas In excise invoice its showing correct conversion rate which I maintained at OB08. In customer master also exchange rate given correct one.
Plz guide me a solution.Can you give us more details?
-
Problem about currency conversion
HI,
I have added one field KWERT from KONV to copa data source.Then value is coming in USD.
I want currency conversion means i want value into EUR and INR .
SO please tell me how to write code for currency conversion?
Thanks
Regards
Devesh BabuHi,
Create Currency Translation Type
T-code for Creating Currency Translation Type in BI 7.0 is RSCUR.
Select Source and Target Currency.
Give Time Reference.
For the Currency translation to take place in the Business Explorer you must have already created a currency translation type.
Currency Translation in Business explorer can be done in two ways:
Currency translation in query definition.
Currency translation in the executed query.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2056ef93-2004-2d10-21ae-f973bb48d7a1?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?QuickLink=index&overridelayout=true u2013 currency concersion
Regards,
rvc -
Problem in Currency Conversion of Labour costs
Hi All,
In my system i have some MOs where object currency and controlling area currency are different ..
Example : Our Controlling area currency in USD and MO is created in EUR .., Now when we select object currency and controlling area currency in costing tab of MO , do a factor of EUR to USD of costs then for labour plan/actual costs it is taking different conversion rate... this is not matching with the latest entry in TCURR Table .. for material and services it is matching with the latest entry ... not sure why it is happening in this way . We maintain rate in KP26 for activity type in USD [controlling area currency]and I would like to know if any one has ever faced this type of issue ? if yes what is the solution ..
Thanks in Advance
Regards
Pushpa KHi ,
regrets for late reply ... , in our project normally business updates the exchange rates and they do it monthly .. but while calculation is it not taking latest valid rate as per TCURR Table it is taking some other rate and somethings these exchange rates match with some rate of 2009 .. but not always .. , i would like to know whether you had faced this issue ever .. if yes then let me know the solution ..
regrds
pushpa -
PROBLEM WITH CURRENCY CONVERSION IN ALV
HI..
When iam trying to convert currency field from one currency to
another (eg: usd to inr) iam getting error.
iam using the fm 'convert_to_local_currency'.
i want to display both the coloumns i.e usd,inr in the same grid.
help me....
thanks.Rk,
Pass all these parameters.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
EXPORTING
* CLIENT = SY-MANDT
date = p_ekko_bedat
foreign_amount = p_i_po_info_ntval
foreign_currency = p_ekko_waers
local_currency = r_buk-waers
* RATE = 0
type_of_rate = 'M'
* READ_TCURR = 'X'
IMPORTING
* EXCHANGE_RATE =
* FOREIGN_FACTOR =
local_amount = p_i_po_info_ntval
* LOCAL_FACTOR =
* 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.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF. -
I have a question regarding currency conversion variable.
We have USD and CAD currencies in BW. I created a currency conversion variable in the properties of a key figure using average rate for current date (0MEANTODAY) and that variable was working fine for a long time. Now I noticed that variable got corrupted in BWD but still works in BWQ and BWP systems. I can see in BWD that variable has nothing in a Variable Represent box and Ready for Input checkbox is not checked. It doesnt let me to fix or repair this variable. I cannot run any existing queries in BWD that use this variable. The error message is Variable 0MEANTODAY is not permitted for the target currency
I created another currency conversion variable that works in BWD. I know it is ok to have multiple variables for a dimension, lets say Cal Year/Month has a number of variables. I am not sure whether it is allowed to have multiple currency conversion variables and use different currency conversion variables in different queries. We have about 40 queries that use old currency conversion variable in BWP. If Ill move new query with a new currency conversion variable to BWP, will it cause any problems for the existing reports that use an old variable? I want to know whether it will present a problem running 40 reports that are already in prod besides the fact it will be inconsistent for a while until Ill switch all reports to use a new variable.
I dont know why that variable got corrupted. A few weeks ago basis applied some patches in BWP and copied it to BWQ and BWD systems but I am not sure that caused a problem.
I am relatively new to BW and will very much appreciate any help. I havent done transport to production for more that a week and cannot wait any more.
Thanks,
Polina
BWD DEV; BWQ QA and BWP - ProductionI was dealing with this problem for more than a week. Finally I got help from SAP today. As it was explained to me, we were using very old version of BW front end (part of SAP GUI) which became incompatible with the new patches we applied in BWP and copied to BWQ and BWD. Basically, I was told to upgrade BW front end that caused problems especially in the Variable Wizard area.
I repaired the currency conversion variable and move it to production. So far all reports run ok in production.
If anybody will have problems with currency conversion variables, please check your front end version.
Thanks. -
Currency Conversion for Exchange rate type "AS02"
Hi Experts,
I am gonna post the most challenging problem (regarding currency conversion) I ever faced in my 1 year of BW Carrier.Kindly provide a solution.
There are three types of currency to be used in the query for Key Figure 0NET_VALUE (so total 3 Key Figures to be created)
1.Document currency (may be any currency)
2.Local Currency (must be EURO)
3.Global Currency (must be USD)
From Document currency to Local Currency(EURO) we are using Exchange rate Type "M" (in Conversion Type created in Trans RRC1) [There is no problem in this conversion]
Problem starts now--->
From Local Currency(EURO) to Global Currency(USD) we have to use Exchange rate type "AS02" (in conversion type to be created in RRC1)
but there is a Business requirement that currency rate should be as per the last day of the entered period;and this logic should work for the range of periods also.
Example :
we are executing query for the period 006/2006 (posting Period)
Last day of this period is 06/30/2006,
Currency rate would be as per 06/30/2006
And this currency rate should be same throughout the period 006/2006 in query
The example was for single period,but logic must be incorporated for the range of the periods.Hi..
There is no corresponding source key figure in the InfoSource for the target key figureof the InfoCube.
a. A source key figure of the same type can be assigned to the target key figure
(for example, sales revenue instead of sales quantity revenue).
If the currencies of both of the key figures are the same, no currency
translation can take place.
If the currencies are different, a translation can take place either using a
currency translation type or by simply assigning a currency.
The following table provides an overview of possible combinations with different
currencies in the source and target key figures:
if Source key figure currency is fixed , Target key figure currency is variable then Currency translation (CT) No CT
if Source key figure currency is fixed , Target key figure currency is fixed then Currency translation (CT) CT
if Source key figure currency is variable , Target key figure currency is fixed then Currency translation (CT) CT
if Source key figure currency is variable , Target key figure currency is variable then Currency translation (CT) CT or assignment
b. If there is no corresponding source key figure of the same type, then you have
to fill the key figure for the data target from a routine.
If the target key figure has a fixed currency, no currency translation is
carried out. This means that if translation is required, you have to execute
it in the routine.
If the target key figure has a variable currency, you also have to assign
a variable source currency to the routine. Using the F4 help you can
select a currency from the variable currencies in the communication
structure. You have two options:
You can select a variable currency and assign it.
You select a currency translation type and a currency into which you
wish to translate (To currency).
The To currency is, by default, the target currency if it is included in the
communication structure.
Creating a Routine for Currency Translation:
If you want to translate currencies in the update even though the currency translation is not
available for one of the above reasons, you can create a routine. Choose Routine, set the
Unit Calculation in the Routine and choose Create Routine. In the routine editor you get
the additional return parameter UNIT, the value of which is used to determine the target
1. save the query and it under role
see to it is in : Restricted and calculated key figures ---> properties of k.f
2. exeute the query
3. the currency translation --> by target currency usd choose OK
conversion type : MEANTODAY Fixed target currency current date (MT)
4. Go back to the query definition by chossing chage query ( global definiton)
5. in the context menu for % share sales vouume of incoming orders, choose properties --> formula collision --> result form this formula choose OK
Note that -
your should alos set the currency translation in the properties for the two key figures sales voule EUR , choose properties ---> currency conversion key : fixed target currency , currrent date ( MT) --> target currency : American Dollar . choose OK
<b>The translation key is a combination of different parameters that establish how the exchange rate for the translation is executed.
The parameters that determine the exchange rate are the source and the target currency, the exchange rate type and the time reference for the translation.</b>
The source currency is determined from the data record or dynamically from the master data of the specified InfoObject (currency attribute)
The target currency can either be fixed in the translation key or selected at the time of translation.
You can also use an InfoObject (currency attribute) to determine the target currency.
The exchange rate type distinguishes exchange rates that are valid in the same time frame next to each other, for example, the bid rate, ask rate or middle rate. The exchange rate types are stored and can be maintained in a central table (TCURV).
The time reference for the currency translation can be either fixed or variable
The fixed time reference can either be a fixed key date that is stored in the translation type, or be determined using the system date when executing the currency translation.
If the time reference is variable, then the point in time for the exchange rate determination comes from the value of a time characteristic (InfoObject). The reference can, for example, be the end or the start of a fiscal year or a calendar year, a period and a month or even to the exact day. It can also be determined using a customer-specific InfoObject (for example, trading day).
Currency translation in the BEx
When selecting a translation key with a fixed target currency this currency will be added automatically to the query definition
Also, you can use translation keys selecting their target currency at the time of translation. These can be applied in two different ways:
Selection of a specific target currency in the query definition (1)
Entry by variable (2)
Dynamic translation keys require input from the InfoCube !
InfoObject value will be read during query execution
Examples:
dynamic time reference (p.eg. 0CALDAY)
time characteristic
target currency determined by InfoObject (currency attribute)
characteristic which contains currency in its attribute table
the corresponding InfoObject has to be part of the InfoCube
1.Define the currency attribute in the InfoObject maintenance
The currency attribute has to be a unit InfoObject of type currency
The unit InfoObject must be an attribute of the characteristic
The currency attribute should be filled in the master data table of the corresponding InfoObject (manual maintenance or upload via InfoSource)
2.Enter the InfoObject in the translation key maintenance
Only InfoObjects with a currency attribute can be used in translation keys (p.eg. 0COMP_CODE)
At the time of currency translation the value for the source currency / target currency is then derived for every record from the master data table of the specified InfoObject
All values for a query are translated ad hoc (after having executed the query) using a translation key
Depending on the translation key a fixed target currency will be used for translation or you will be able to select the target currency
The ad hoc currency translation offers only restricted functionality (selection of translation key and target currency) compared to the currency translation in the query definition
Do not forget to create your translation keys before starting your work in the Business Explorer Analyzer
Example:
You load the following record to your InfoCube:
Company Code: 1000
Amount in Source Currency: 500,-
Source Currency: FRF
Target Currency: ?
In the Update rules, you are now using a translation key which derives the target currency from the InfoObject 0COMP_CODE. During the Update Process the target currency will then be read for Company Code 1000 from the master date table of 0COMP_CODE.
With the currency translation in the Business Explorer, the source currency can currently only be determined from the data record.
Only translation keys with a fixed exchange rate type can be used in the BEx
Translation keys with a dynamic time reference (from an InfoObject) can only be used in the query definition. It is not possible to fill the InfoObject by a variable !
Translation keys getting their target currency from a currency attribute can only be selected in the query definition
When getting the dynamic reference from an InfoObject (p.eg. 0CALDAY) the currency translation will apply to each record read from the database. That means it will use the date in this record for the currency translation.
When using a variable you will restrict the output of your query to a certain amount of data. For example, you would translate all invoices of March 11 with the translation date March 11
This means, the requirement show me all invoices in my cube in group currency, conversion date: 14.07.2001 could not be solved by a variable input for 0CALDAY
I hope this would help...
with regards,
hari -
How to move currency conversion types
Dear All
my problem is currency conversion types and fixed&target currency is showing development but in production its not showing aft i came to know i hav to move
currency conversion types to production. i checked in rscur tcode where i got this list here i cant understand which currency type i hav to move
1.0HRFIXCUR Fixed Target Currency, Current Date
0MEANDAILY Middle rate using exact days
USD_VAR usd with var rate
VAR_ALL Multiple Curencies
ZCC01 Cost Center
ZCUR_1 Target currency type
ZCUSTTR Local currency
ZNEWCUR New Currency Type
ZTEST1 Conversion currency translation
2.in development i hav seen currency variables are there but for the same i hav checkded production currency variables are not there
its mandatory to move currency variables also production
iam in bi7 sp13 actually previously its working we applied some patches in r/3 fi then only we are facing this problem
can you please help me to close this issure
thanx for allplease close this thread and see the other one...
-
Currency Conversion Error from KRW to EUR in for March 2011
Hi,
We are facing problem in Currency conversion from KRW to EUR in BW Production.
The report shows proper value for JAN, FEB 2011, but when we execute the report for March2011 it shows wrong value.
Month | BW Production Value | BW TEST Value
Jan2011 u2013 | 102,459 | 102,459
Feb2011 u2013 | 120,008 | 120,008
March2011 u2013 | 12,056,385 | 120,564
As we can see the value for BW Production for the month of March is 2 decimals higher than the value in BW test.
Regards,
Nix
Edited by: nix_mania on Apr 18, 2011 4:20 PMHi,
My problem here is that the values for JAN and FEB are correct with their decimal values but only for March it is 2 decimals higher.
Hence the TCURX table wonu2019t come into picture, since if TCURX entry was incorrect then it should show wrong values for JAN and FEB also.
When I checked the data in cubes for BW Test and Production the values for March are same still in the report I am getting the difference.
Report Output:-
March2011:-
BW Test 12,056,385
BW Production 120,564
Feb 2011:-
BW Test 120,008
BW Production 120,008
Jan2011:-
BW Test 102,459
BW Production 102,459
Regards,
Nix -
Hi guys,
I’m having performance problems with currency conversion script. Suddenly, the script is taking too long to run. I executed the script last night and today, he was still running. In my application i have about 50 currencies, but i’ve tested just with one and only with a few values to conversion. I deleted the scripts, the exchange rate table, and i create them again, refresh the database but the problem continues. If i am in a data form and run the BR to calculate currencies, everything works fine and he does the conversion with no problems.
Anyone had the same/similar problem? How do you resolved it?
All sugestions will be appreciated
Cheers
Edit: 11.1.2.1
Edited by: user12218542 on 18/Jul/2012 12:08'Quick' is a relative term. Are you sure that nothing has changed between the time of your quick calc and this time? Did you try changing any cache settings? Maybe, defrag the database using 'restructure' or level 0 export + clear data + import.
Did you check which part of the calculation takes long? You can do this by evaluating the application log to see which fix statement takes the longest and optimize the parts accordingly.
As for me, I usually create one or 2 custom dimensions for currency depending on whether users will input in local or multiple currencies. Then, with UDA on entity or other dimension, you can copy data from local to 'USD' or other reporting currency. Once data is copied, currency conversion is simple multiply/divide. -
Hi frndz,
I am facing a problem with the currency conversion.
In my Report i have used two keyfgures.
One is directly calculating the values from R/3 side and converting into EURO.
the other one is calculating through update rule.
These teo keyfigures should have the same value.
In this update rule i have used one function module "Convert into foreign currency".
This function module is calculating the value correct for all other currency only in Korean(KRW)currency i am getting probelm.
Like R/3 side value converting in EURO in coming as
507.35
and through function module value is coming as 50,736.00.
Please if any one having this problem or any one could suggest some solution then it would be great help.
I have also tried the solution of deleting the values from SPRO but still the problem is there.
Thanks in advanceRevab,
The admin may delete the record for KRW from TCURX table.
BUT, it may affect the other applications. It should be carefully considered.
Though, after deletion end users may check if theirs applications results with regard to KRW have been changed.
If yes, then the record in TCURX may be added again.
If not, then it might be a solution. Though, not recommended.
Best regards,
Eugene -
Problem with ENTITY FX TYPE in Currency Conversion
Hi Experts,
I have a problem regarding currency translation. I tried to use the property FX_TYPE so as to use the value in this as filter in the ENTITY FX TYPE field of the currency conversion table. I want some rules to apply only to specific entities so I used this filter but what seems to be happening is that I doesn't seem to filter it. It still applies to other entities as well thus I get wrong translation. I validated it by removing all other rules except for the ones that's being used by the entity I am analyzing and my values translation is OK but when I put the other rules again, which I have already filtered to run on specific entities only using the FX_TYPE property, my translations are wrong again. Does ENTITY FX TYPE really work or I'm just missing some set up?
Thanks,
MarvinHello Martin,
Could you solve this issue, Im having the same problem.
Im trying to use this functionality but it seems that it does not apply the filter. When I run the currency convertion it stills run the business rule I have configure for all the other entities.
Best regards,
Aldrin Liendo -
Currency conversion with variable in selection mask with problems
Hi Gurus,
I want to implement a currency conversion as follows:
when the query is opened a selection screen should appear and the whole data which is with Euro currency should be possible to translate in USD, GBP, FRF (depends on which currency the user is choosing).
I did a conversion with a variable with default value USD but I am not able to insert multiple currencies like GBP and FRF as default value/ suggestion in variable.
I created a variable on 0Currency with following adjustments:
- Processing By: Manual Input/Default Value.
- Reference Characteristic (0CURRENCY) Currency.
- Variable Represents: Single Value.
- Ready for input: checked
- default value: USD.
With adjustment "variable represents" > "single value" it is not possible to insert two or three currencies as default value.
When changing "variable represents" to "multiple single values" or to "selection option" it is possible to insert two or three currencies as default value.
But when the variable is saved with "multiple single values" or "selection option" the variable doesn´t appear in currency translation type in tab currency when selecting target currency with option "target currency from variable".
Any idea why the variable doesn´t appear with adjustments with "multiple single values" or "selection option"?
Or any idea how it is possible to achieve my whished currency conversion?
Thanks in advance!Charlie Belt wrote:
saplaz-
> If I read your request properly, you would like to be able to translate values to any one currency at a time, from a possible list of currency. Remove the default value and whatever currencies are available in your RSCURR should be there.
That´s correct. I want to have a list of currencies in which it would be possible to translate. That means clicking in selection mask and the list appears.
That was my first thougth ... removing the default value. I removed the default value but only Euro (EUR) appeared in that list for selecting. I thought this has maybe something to do with the data which is available in the cube and that is only in EUR.
I will check the RSCURR and what kind of currencies are available.
cheers -
Currency Conversion problem in query designer
Hi,
A requirement has come that infoobject which contain multiple currency type, need to convert into a single currency type in Bex reporting as user want to see only one currency value in report.
There are three keyfigures refering different calenders for conversion. For examle . GR amount is based on GR date, IR amount is based on IR date and PO amount is based on Doc date. Query is build based on a infoset.
I am doing following steps to achieve the task::
1. In TCODE - RSCUR, created three Currency Conversion Type each for GR, IR and PO and each one refering different 0calday calender
2. Defined exchange Rate Type as "M"
3. Currency Tab -> Source Currency = "Source Currency from data Record"
Target Currency -> Fixed Target Currency = "USD"
4. Time Ref. Tab -> Fixed Time ref. = "Current Date"
Variable time reference = "To the exact day"
Special InfoObject = <InfoObject name>
5. In query designer, Key figure property for GR amount -> Conversion -> Conversion type = <Name of Currency Conversion Type which defined in RSCUR>
6. Repeated the same for IR Amount and PO Amount key figure
While saving, getting following error::
*Cannot apply Currency translation type <Currency type name> in Infocube <Infoset name>. *
Diagnosis
You tried to translate a query element with the currency translation type <Currency type name>. The translation type <Currency type name>, however, has variable time reference or variable target currency relevant to characteristic Document Date. Characteristic Document Date is also not available in InfoProvider <Infoset name> and it references either none or more than one characteristic () of the InfoProvider for Document Date, or Document Date is not a base characteristic.
System Response
Procedure
Adjust the query definition or create a special currency translation type for one of the characteristics .
Please help!
Please note that there are three key figures which need conversion using different calenders.
SanjivHello,
I have done the same what you said, but same error still showing....
I also tried to change from "Special InfoObject" to Infoset level and it works with one KF. Since all three KF are under one Infoset and there is limitation that if Currency Conversion Type is defined on Infoset level then only one KF will be assigned for a Infoset where as I am using three KFs with three relevant time characteristic.
Any suggesion from others?
Sanjiv -
End routine for Currency conversion
Hi,
I have a requirement in which i have to convert sales and cost into three types of currency as GBP, INR and EUR in cube. i made 3 different fields for sales as well as for cost. But i am unable to write end routine for it.
Can anyone please help me that how can i solve this problem.
RomaHi,
In transformation itself you can do your currency conversion.
http://help.sap.com/saphelp_nw70/helpdata/en/de/6372426f0f9041e10000000a1550b0/content.htm
If you want to write a routine in to do conversion, you have to go for start routine instead of end routine.
Thanks
BVR
Maybe you are looking for
-
Hi, We all know Linux has it, but Windows doesn't. Well there is a nice German bloke that wrote a very good tool to solve this in Windows. http://www.dexpot.de/index.php?lang=en The program is free for private users and works very well. Enjoy!
-
Remote System Directory Listing/Navigation in JTree
Hi I want my Remote System(Linux) directory listing to be available in a JTree. I need some help on implementing the same. Also How do i constantly get the directory structure of the remote system. Thanks in Advance
-
How to include the new fields added in R/3 into ESS application
Hi Experts, I have used Standred ESS application.After Importing the ESS application via bapi(Import the model),they have added some more additional fields in R/3 Backend. How to call those customized fields in our ESS application? Please help me on
-
How to hide warning messges in a program?
how to hide warning messges in a program?
-
Using metadata as variables for datasets
Can i use meta data as a variable in datasets? (i am an event photographer and have a apreadsheet with (racenumber,time,name) . I want to tag my photos using metadata with the race numbers and then have CS5 add text onto my photos by matching the r