Currency conversion in a query.

Hi,
I have a requirement where I need to give the facility of currency conversion of some of the key figures in a query.
There is no key date specified in the Functional specs based on which I can create the currency conversion thing.
What I want to know
1)Is there any other way we can do currency conversion if we dont have a Key date.
2)Also is it essential to restrict all the key figures which require currency conversion with the key date variables.
  If we don't restrict the key figures will the currency conversion thing be still valid.
Please advise.
Kind Regards,
Kate.

Kate,
Hope this would help you:
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a
http://wiki.sdn.sap.com/wiki/display/BI/HowtocreateasimplecurrencyconversioninBEx
~AK

Similar Messages

  • Sorting Currency conversion Variables in Query Selection screen

    Hi Experts,
    I have an issue in sorting variables.
    A Currency translation is used here which has two selection options here, one for "Currency" and one for "Currency conversion date". They just pop in somewhere in the selection screen with out order. I want to put them together either in the middle or at the bottom.
    They are not visible in the Variable sequence tab of query properties.
    I changed the text for each of them (Ex. "XCurrency"), so that it sorts alphabetically, but no difference.
    Had anybody come accross this issue before.
    regards
    G Rai

    Hi,
    This seems strange that the variable does not show in the query properties. One thing I can suggest it to try changing the technical name/desciption of the variable if that changes the order.
    Please update back the thread if that helps.

  • Currency Conversion terminates the query execution

    Hi friends,
    When I execute a query it terminates due to the following error in currency conversion. "Abort System error in program CL_RSR_RRK0_CURR and form FILL_CUDIM_02-04 (see".
    conversion works fine and gives correct values in target currency when the source currency is say thailand bhat, malaysian ringett, philippino peso etc.., but when i use the source currencies of zimbabwe or kenya i get this error and next the query terminates.
    Can any one of you suggest me what could be the problem. How do i systemtically approach to solve this problem.
    Thanks
    Raj

    Hi Serjio
    All the currencies mentioned currencies are available in the TCURR table including the exchange rates from those currencies to USD.
    Hi Sven,
    I am sorry, I really didnot understand when you say "set the flag for protocol to X". You may throw more light on this. I tried debugging the program RSW_CUR_TRANSLATION_RATE_GET in the past step-by-step. This leads to lots of other programs and i was really lost in them. Pls guide me to debug it effectively.
    Hi Serjio/Sven,
    Further, i missed out to mention the following details in my post. We have two version of a this COPA query. One is older and the other is newer. Both were created before we upgraded from 3.1C to NW2004s.
    The older version works fine. The conversion from source to target currencies is good for the african currencies also besides the asia-pacific (AP) currencies. However, the newer version throws out the error message i have mentioned in the post for african currencies but works fine for asia-pacific currencies. Even the newer version was working fine before we upgraded from 3.1C to NW2004s. Its only after the upgrade that we are encountering this problem.
    In the query we are also converting the data to SGD (singapore dollar), besides USD. As i donot require this data i have hided the values in SGD. As a reason we have never maintained conversion rates/factors for converion from any of the AP or African currencies to SGD. Due to these missing rates I get an Information message to maintain the conversion rates/conversion factors for AP/African curr to SGD. This message appears along with the error message(mentioned in my post) on the same screen. This information message also appears for the older version of my query, which is currently giving correct $values. But I think we can ignore this message. Else do you think, in some way these missing rates are responsible for the trouble??.
    But more surprisingly why is that the older version is not impacted by the upgrade while the newer is affected?
    Pls share your views
    Thanks
    Raj

  • Currency Conversion in BeX Query

    Hello Experts
    I want to have corrency convetion option in Bex Query and have few questions regardig that.
    i am using key figure 0DEB_CRE_LC which has currency as    0LOC_CURRCY.
    1. how do i allow user to enter currecny, using some input variable for currency char.?
    2. do i need to associate some date for this conversion?
    3. what exchange rate will be used?
    Thanks in advance
    Regards
    Sudeep

    Hello Sudeep,
    1. how do i allow user to enter currecny, using some input variable for currency char.?
    Answer: Create a variable on 0Currency and select the conversion type which you have maintained in RSCUR tcode. Make this variable as input ready. This will give the user the flexibility to enter the Currency.
    2. do i need to associate some date for this conversion?
    Answer: Yes you need to associate the Currency conversion type to your conversion. Same can be maintained in RSCUR tcode.
    3. what exchange rate will be used?
    Answer: In RSA1, goto source system tab and right click on the Source system. Select "Transfer exchange rates". This will transfer the exchange rates which are maintained in your ECC side. The exchange rates are maintained in table TCURR. you can check the table in SE16.
    Regards,
    Satyam

  • 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.
    Sanjiv

    Hello,
    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

  • Currency conversion in the query designer level

    Hi
    Iam calculating the 'Financial Loss' in the Formula in the query designer.And it comes in SAR(Saudi Riyals).
    But i want the 'Financial Loss' in USD in the Query Designer. Because i want the USD Financial Loss to be use in some other calculation.
    Please let me know how can we do this one in the query designer. I really appreciate for it .
    Regards
    Kumar

    Dear Ravi,
    Basically there are 2 ways to do it: routine & query level.
    If query level, you need to maintain it first using tcode RRC1, then you use it in your KF in your query. .
    Routine level,
    You can create new KF in info-provider, then in the update rules routine, you can use this function to convert the currency :
    CONVERT_TO_LOCAL_CURRENCY
    Hopefully it can help you a lot.
    Regards,
    Niel
    thanks for any points you choose to assign.

  • Currency conversion in SAP Query

    Hi,
    We need to develop a SAP query(SQ01) in which we have to pull two fields maintained in sales order (sales order net value & PO net value(ie.z field)).
    These fields’ values may be maintained in different currencies.
    So need to know how to convert the PO net currency value as of sales order net value in SAP query as a new column (or how to convert any currency to USD in SAP Query).
    This will help user to get comparison in output.
    Please help.
    -- Amit

    Hi again
    The point 2 is still not clear for me..
    1. Should I put in the source code (256 lines) of the function module here, or should I just put in a reference to the Function module like:
    FM convert_to_local_currency;
    2. Where should I put in the import variables you refer to?
    3. When I push "single test" of the Function module I get these import parameters:
    CLIENT                          210     
    DATE                                    
    FOREIGN_AMOUNT                          
    FOREIGN_CURRENCY                        
    LOCAL_CURRENCY                          
    RATE                            0       
    TYPE_OF_RATE                    M       
    READ_TCURR                      X       
    Is this the import parameters you are reffering to?
    Best regards
    Ellen

  • Currency conversion with query selection mask and InfoObject 0Curtype

    Hi,
    question to following scenario:
    in the data source is an column with the currency type. This currency type column contains values like
    10 = company code currency
    20 = account area currency
    So for each data set in the table is an assignment of currency types.
    In the cube is an InfoObject called 0Curtype (for currency types 10,20,30 ...).
    In the BEx Query should a filter or selection be possible before the whole data is displayed.
    The user can select in which currency he wants to display the data. When he selects the 10 the whole data is displayed in different currencies which are available because its local currency (Euro, Dollar etc.). By selecting 20 the whole data is displayed in Euro.
    Does anybody knows how to achieve that? Is there any function module availabe which is provided by SAP and it is available for use?
    Thank you in advance!!!

    Hi There:
    You have two options available.
    One you can define currency conversion variable in transaction RSCUR. Then use this currency conversion variable at query run time using a formula Key figure and go to Conversions tab and select this variable. Then at query run time the query will convert your key figure from source currency type to target currency type. But this can significantly impact your query run time because the query will calculate this at query run time.
    The second option is to use a standard SAP function module CONVERT_TO_LOCAL_CURR in the back end and store this key figure in the back end during data load. This way the query will run faster for you. The difference is significant in my case.
    Good luck.
    Let me know if you need more information.
    MP.

  • Need help in currency conversion

    i am doing currency conversion at query level.
    i am getting this error message for the output.
    Diagnosis
    The exchange rate 19.334.782,61- was calculated via the base currency INR. This produced a rate which exceeds the maximum allowed value of 9999.99999.
    System Response
    The processing can not be continued because the calculated rate can not be used.
    Procedure
    Check the conversion rate to the base currency INR and the exchange rate type MA. If the rates are correct, you must agree different conversion factors for the currencies in question (e.g. 100:1 instead of 1:1), so that the resulting conversion rate does not exceed the value 9999.99999.
    Notification Number SG 119
    how do i change that factor from 1:1 to 100:1 , which is mentioned above ?

    Hi,
    thanks for reply.
    But changing in SPRO ->  is just the display option.
    But the issue that is being faced is with the currency conversion in the query.  since the rate for that currecny maintained in tcurr table is a very small value, the conversion is not happening and its displayed as it is in the query output.
    also, we cannot go with the option of changing the ratio in tcurr table for this currency, because there are so many dependent objects and then we have to change some logic for all those to incorporate this rates. and our Basis team has mentioned that changing the ratio will not be done because of this.
    how do i go about?  whether any other methods available?

  • Two-step currency translation in BEx Query

    Hello,
    is it possible in BI NetWeaver 2004s to specify a two-step currency conversion in a query?
    Example scenario:
    In the cube the values are stored in EUR. We'd like to convert the values to Local Currency (LC) using exchange rate type A in step 1. Then, in step 2, we'd like to convert from that LC back to EUR using exchange rate type B. It is demanded, to do both mentioned steps "on-the-fly" during query execution. Is this possible?
    Might current research efforts led to the conclusion that it is not possible and that ONLY ONE exchange rate type for conversion can be defined for a selection or restricted key figure. Even if you would then use that restricted key figure in another restricted key figure and apply the second exchange rate type to this one, the conversion mechanism does not use the target currency of step 1 as the source currency for step 2 but rather uses the currency stored in the cube as source currency for step 2.
    Thanks to any answers in advance!
    Best regards,
    Philipp

    As far as I know, this is not possible.

  • Create Currency Conversion on Infoset

    Hi Expert,
    I face the problem, when i used currency conversion on the query (that query I created on infoset).
    I have already created the Currency conversion on calmonth. , but i dont know why that variable is not visible on that query when i want to select it.
    Can the expert give the advise?
    I will give the point if it;s helpfull.
    Thanks in advance.
    Siandari

    Hello ,
    I have a infoset on which I want to use currency conversion.Currency conversion works fine on infoset , but I can not choose time reference from variable in rscur where I create conversion type to use in infoset queries. 
    I want to make a currency conversion on a specific date which users enter in variable screen.
    In an ODS or infocube query I can use conversion types on which I  create time reference from variable .
    So all currency conversions are done on a specific date.
    But in infoset queries I can not make  currency conversion on a   variable.
    Does anyone has a problem like me? What is your solution ?
    Thanks all.

  • Only 2 Currency Conversions are visible in Analyzer

    Hi Expperts,
    we have 5 currency conversions in Query designer(we defined 5 currency conversions in BI system), those all are comming in query designer.
    when i excute the query in analyzer when i want to change the target currency(Right click query Properties, currency conversion tab) here only 2 currencyies are available, remaining other currency conversions are not comming here please let me do we need to do any settings for this.
    Thanks,
    Chandra.

    Hi,
    Currency conversion options in query display are available on the basis of result ouput.
    Check if the data output is having thsoe conversions or not.
    I hope it will help.
    Thanks,
    S

  • Currency Conversion type not visible in the query

    Hi ,
    I created one currency type conversion   Z_INR
    exchange rate type : M
    Exchange rate from infoobject : zexch_rate(key fig)
    source curr from data record
    Fixed target curr : INR
    Variable time reference  : A to Exact Day
    Special info object : Ztr_date (Transaction date)
    it got saved succesfully but wen i try to include  this in the query its not visible there . can anyone let me know why this problem is coming
    help will be appreciated .
    i also included rate and date in the query still not visible

    Hi,
    Create Currency conversion type using Trans: RRC1.
    1.Specify your Exchange rate type.                     
    2.Dynamic Exchange rate type
    3.Source curency from data rec.
    4.Fixed currency say USD.
    5.Select Variable Time reference "Start Month" and Special Info Object - 0calmonth
    Secondly In the key figure field to be converted in the query,   select properties - select the currency conversion key name .
    Thanks,
    Nagesh
    Sony Singapore

  • Currency Conversion at Query Level

    Guys,
    Can some one tell me step by step procedure to do Currency conversion from USD to Mexican PESO at query level in BI 7.0. I have read lot of threads but not clear in maintaining the Exchange rates and also in creating the variables. 
    Thank you,
    Kumar

    Hi Kumar ,,
    You're able to convert the currency amount on the routine ...
    Using this function :
    CONVERT_TO_LOCAL_CURRENCY
    Sample:
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
         EXPORTING
            DATE             =  " current date.
            FOREIGN_AMOUNT   = " local currency amount (peso)
            FOREIGN_CURRENCY =  " local currency
            LOCAL_CURRENCY   = 'USD'
         IMPORTING
            LOCAL_AMOUNT     = RESULT " result.
         EXCEPTIONS
            NO_RATE_FOUND    = 1
            OVERFLOW         = 2
            NO_FACTORS_FOUND = 3
            NO_SPREAD_FOUND  = 4
            OTHERS           = 5.
    To maintain the exchange rate, you can go to tcode: OB08
    Hopefully it can help you a lot..
    Regards,
    Niel
    thanks for the points you choose to assign.

  • *Currency Conversion created in BW BEX query not working in BO report:*

    Hi,
    We have created a key figure with currency conversion and working fine in BEX when I execute that query.
    But when created a BO universe and WEBI report on that query, I am getting following error.
    "MDX query failed to execute with Error".
    Can anyone please help.
    Thanks
    Dhana

    Hi
    Thanks. But new problem.
    When I pulled OCURRENCY to free area now it is working in BO also.
    But now another problem is --> for Currency translation am getting prompt in BO also to select target currency. There , all values (all currency types) are not displayed , only USD is coming. WEBI report is fine for USD conversion.
    But when I want to convert into AUD , its not there in LOVs .
    Some time back this problem exists in Bex also, but when we changed cube level setting as below:
    Infocube : display-> OCURRENCY right click and go to "provider specific properties"..and then
    go to "object specific properties "  and then for "Query Exec Filter Val" selected "M Values in Master data table".
    Now when executing query in Bex for target currency selection values it is taking from master data and displaying all types like USD, AUD, INR ..etc. in drop down list.
    Now created new BO universe and new WEBI report but only USD is coming in selection LOVs not all types.
    Please help us.
    Thanks
    Dhana.

Maybe you are looking for

  • To display a value in particular cell in report

    HI all, I have Qty ,added qty and gross qty( key figures) in rows and posting periods in columns. Iam getting Qty for all the periods.But for the added qty it should compare period to period and the value should get displayed in the operand period. E

  • HT4059 How can I move a book from one device to another

    How can I move an iBook from one device to another

  • IPod won't restore

    I have 3 macs and 2 iPods and sometimes get confused regarding which computer I have used my iPods on. I tried to update my songs onto my video iPod on one of my laptops and it fails to transfer the files. I tried to restore the iPod but during the p

  • IPod connects and is recognized, but will not sync (error message)

    I just connected my iPod to my macbook and got this message: "The iPod cannot be synced. The disk could not be read from or written to." I've never had this problem before. Anyone know what's going on?

  • 2 questions about customizing screen

    Hi. * Is it possible to rearrange the order of the bind variables on a customization screen? The variables appear in the same order as they are stated in the query. * I have a dynamic page. The page has some bind variables. When the user enters the c