User specific currency translation

Hi,
There is a amount field in a report.
The requirement is for different user different different currency value should appear.
I mean user wise some predefined currency type.
How to approach it.
Plz suggest me.
Regards,
Kiran

Hi Kiran,
You can use a currency translation type. You can create it in RSCUR transaction.
Go to the Currency tab. In the target currency you can select as target currency from Variable.
And for that variable you can write a user exit. In the user exit check the user, and according to it set the type of the currency you want.
Regards,
Mansi

Similar Messages

  • User specific currency printing

    Hi ,
      Could any one of you help me in getting the user specific commands ?
    I have tried to change the user specific settings ..but it didnot work.
    Request you to let me know the code such that the currency is automatically printed according to  user specific settings

    Hi Sindhuri,
    Try the command SET LOCALE , it sets currency, date format nad number format to the current user settings.

  • Multiple currency translation in one single query execution.

    Hi folks.
    I have today running in production, a report like:
    The user input a period and a version (multiple single values selecion)
    - Period
    - Version (0VERSION)
    And the report returt as follow
                                  2010        
              Version            A1         Q1
    Key Figure 1        500BRL     400BRL
    Key Figure 2        300BRL     200BRL
    Now, the user requires a currency translation based on the version selected in the filter. I mean, for version A* use one exchange rate type.
    For Q* version, use another exchange rate type...and so one...
    For instance, the solution is to create a currency translation type like:
    Exchange rate type from Var. and create this var as user exit with an abap that checks the version selected by the user in the
    report and than return the exchange rate type based on this version...
    This solution works only if the user input only one version in the filter. But, he needs to input three, four..versions and
    in one execution of the report, translate the currency using a exchange rate type for each version.
    Ex: Exchange Rate for version A1 (1.8USD = 1BRL) Exchange Rate for version Q1 (1.5USD = 1BRL)
    Then, the report should return:
                    2010        
            Version              A1         Q1
    Key Figure 1        277,7USD   266,6USD
    Key Figure 2        166USD     133,3USD
    I know it's a little complex to describe, but if someone know how to do it, I'll aprecciate.
    Best Regards,
    Thiago

    Can you explain your query KFs structure..
    Seems that in your report there is 1 KF for each version....but you have 1 input variable which holds multiple values ...If thats right..then how are you getting values for diff versions from 1 & same variable..
    No, there is one key figure for each document..
    for example,
    (doc/calday/version/sales revenue)
    DOC00001   01012011   0       100BRL
    DOC00002   01012011   A1    120BRL
    DOC00003   01012011   R1    110BRL
    In the report, the user can filter by one or more version, and based on wich version he selects, for each version we need to use a specific currency translation.
    The structure in the query is
    In Lines
    Sales Revenue
    In columns
    Calday / Version
    regards

  • Currency translation with user defined exchange rates in a BEx report

    Hi guys,
    our business department requests a new functionality in our BW system. They want to simulate a currency translation in a BEX report. But this currency translation should be so flexible, that the user can change the exchange rates directly in the report.
    For example: The report should show a list of all our local company revenues. In the first column the plan revenues will be shown in the local currency (each company has its own local currency: USA->USD; Japan->YPN, Great Britain->GBP and so on). This revenues comes from a normal infoprovider, loaded via flat-file.
    In the second column the user should be able to enter or change a plan currency rate. The entered exchange rates should be stored in BW for a next use. They won't maintain the rates directly in TCURR, because this rates are only for simulation use !
    In the third column the translated Revenues in Euro currency has to be shown under the use of the exchange rates from the second column.
    I investigated a lot of time in the SAP help and here in the SDN, but I didn't find any solution to realize this. Is there generally a possibility to make a currency translation with exchange rates out of the TCURR? Would it be an option to use the integrated planning function of BW? Or is this requirement to far away for an simple implementation in SAP BI ?
    I hope, someone of you has also fixed a similar problem or has a good inspiration.
    Thank you in advance.
    Thomas

    thanks for the prompt reply!
    Unfortunately, exchange rates are not a part of my cube. They are held in different tables, and referenced depending on what kind of exchange rates I need to be looking at (average rates, daily, planning etc.). The only way for me, at the moment, to know which rates have been used is to go to query global view, and look at the type of conversion, and then try to figure things out. Plus there can be a different key date used in the query, which makes things more complicated.
    Anyway, it was worth asking
    Thanks again.

  • Currency Translation on Key Date for AR Aging

    Need your valuable advice!
    I have created an AR Aging query including both Open and Cleared Items based on 0FIAR_C03_Q0005 standard query. However the requirement is to do currency translation to Group Currency (USD) on Key Date. This Key date is defaulted to today but the user can change this to go back in time and pull all the ARs as of that back dated key date.
    I was planning to create a currency translation type on M rate based on the Key Date Variable in RSCUR. However I am confused on which variable to base this currency translation. I have several key date variables in my query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date).
    Which Key Date Variable should I use in 'Time Reference from Variable' field in RSCUR? Would it be one of the 3 mentioned above or something else and why?
    Appreciate your valuable advice.
    Thanks,
    Al

    Hi,
    Yes I do want to use the Key date from the variable screen and I am using the standard 0FIAR_C03_Q005 with slight modification including currency translation.
    As I mentioned in my original post I have several key date variables in this query such as 0P_KEYD2 (based on Posting Date), 0P_KEYDT (based on Net Due Date) and 0P_KEYD3 (based on Clearing Date). My question is which one should I use if I want to base it on the specific key date variable from the variable screen? I need the specific Key Date variable technical name.
    Thanks,
    Al

  • Currency Translation at the Web Template level (standard functionality)

    Hi Experts ,
    We are currently working in BI 7.0 env. with source system ECC 5.0.
    We are working for a task where we need to make the BEx  queries enabled for currency translation .
    The requirement is :-
    The user should be enable to give/opt/choose for the follwoing options:-
    Currency type (target currency in which the translation is aimed)
    Exchange Rate ( Standard(M) or other(P) or something else) and
    Key date: The translation will be performed taking the exchange rate on that particular date.
    We do have 2 option to perform the task...
    1:- Either we do it thru currency translation type definition(RSCUR) and then attaching this currency translation for every amount key figure values at each query level. OR
    2:- If we can go and find something at the Web Template level and add/modify the template in such a way so that it gives us the functionality to translate a source currency into a desired one with desired exchange rate type (currently either M or P) and for a specific date.
    At this point of time when we do have numerous sub-areas holding hundreds of queries, we want something which should be available as the modification/addition to standard functionality at the web template level and not at the query level as changing each and every one of them and testing would be a cumbersome process and would be costly and risky at the same time. So we are just wondering if we can find something with option no. 2 and add/modify something in the standard functionality.
    Please ask for any more information required.
    Thanks very much.
    regds.

    Hi Amit,
    You would still need to define the Currency Translation using RSCUR where you would specify
    -the exchange rate type (either fixed or variable)
    -the target currency (either fixed or variable)
    -the reference date
    You don't need to modify any of your queries. You can instead use 'Translate Currency'/[SET_CURRENCY_TRANSLATION] command in WAD & specify the Currency Translation as defined in RSCUR. If you want the target currency & exchange rate type to be driven by user input, you can define these as variables in RSCUR & invoke the variable screen using 'OPEN_VARIABLE_DIALOG' in WAD for user input just before calling 'SET_CURRENCY_TRANSLATION' command.
    --Priya

  • Currency Translation in Planning sequence with variable for target currency

    Hello ,
    i have a requirement, the cube contains multiple data in the Group Currency for multiple company codes. & I want to convert these amounts to another KF as local currency using planning sequence only (not using transformation, as the users want to do this when they require.)
    For this, i defined a Aggr level , filter & Planning function with Currency translation selecting the source field as AMOUNT_GC & target field as AMOUNT_LC using the Currency Translation type ZCTGCLC.
    The target currency is not know beforehand, as it depends on the company code of each records that comes in.
    Hence, Currency translation type uses  a Customer exit variable 'Z_R_0026' for target currency.
    This is customer exit variable which searches the Master data table of the Company code & replies back with the local currency of that particular company code (derived value from the company code variable also in teh filter).
    However, when i execute this planning sequence, it gives me an error saying, "no value found for variable 'Z_R_0026'
    1. when edit the CMOD code, to return only say "EUR" the planning sequence runs fine.However when i use this select statement to fetch the corresponding value of the currency using the company code reference from the company code master data table, it gives the above error. it seems to be a problem with the select statement.
    below is the code for that exit
    when 'Z_R_0026'.
         data: l_curr type /BI0/OICURRENCY.
         IF i_step = 2.
           LOOP AT i_t_var_range INTO loc_var_range
                              WHERE vnam = 'Z_S_0003'. " Company Code Single
             CLEAR l_s_range.
        Filling Currency Key from Company Code
             select single currency
             from /bi0/pcomp_code
             into l_curr
             where comp_code = loc_var_range-low
             and objvers = 'A'.
             if sy-subrc = 0.
               l_s_range-low = l_curr.
             else.
               l_s_range-low      = 'ABC'.
             endif.
             l_s_range-opt      = 'EQ'.
             l_s_range-sign     = 'I'.
             APPEND l_s_range TO e_t_range.
             clear l_s_range.
             EXIT.
           ENDLOOP.
         ENDIF.
    2. there is a option of using infoobject for target currency in the RSCUR itself, however, when i try to input the 0COMP_CODE for finding the attribute currency from this infoobject, it doesnt accept.
    has anyone tried this earlier ?
    Any help/suggestions , guys, pls?
    Thanks
    John

    Hi Praveen ,
    Thanks for that.
    I have a Question.
    If RSCUR were to only accept a Date InfoObject , it would be placed under a differnt heading.
    The Tab is "Currrency"  & the sub-Tab is "Target Currency"
    so i guess, it should accept other infoObjects as well.
    Moreover, the help on that InfoObject buttons says
    "Specification of an InfoObject (Characteristic) in which a currency
    attribute is stored in InfoObject maintenance. At runtime, the
    associated currency attribute is determined using the characteristic
    value and this is interpreted as source or target currency."
    & i have already defined 0currency as a attribute of 0comp_code. so this should work ideally.
    almost similiar CMOD code i have used for other too, but i dont know why only this one is getting struck.
    any help, pls.
    Thanks
    John
    Edited by: John Lewis on Apr 17, 2009 3:24 PM
    Edited by: John Lewis on Apr 17, 2009 3:25 PM

  • Show Currency Translation Type

    Hi,
    I don't know if it's possible but I want to see te currency translation type that I use in a query. For example, If a user make a currency translation it's possible to catch the currency and the currency translation type that he choose and show them :
    - in the title ?
    - in a column or in a text item of my default web template ?
    Thanks for your help
    Aleksi

    Hi,
    The parameters that determine the exchange rate are the source and target currencies, exchange rate type and the time reference for the translation.
    To define a translation type you have to define the exchange rate type, the time reference, and how and when the inverse exchange rate is used. Entering the target currency is optional.
    ●      Exchange rate type: The exchange rate type distinguishes between exchange rates that are valid in the same time frame, for example, the bid rate, ask rate or middle rate. The exchange rate types are stored in a central table (TCURV) and can by maintained in Customizing using BI Customizing Implementation Guide ® General Settings ® Currencies  ® Check Currency Types. Alternatively you can specify any variable that exists for InfoObject 0RTYPE.
    ●      Inverse exchange rate: You can choose whether the inverse exchange rate is to be used for the translation type. If you choose translation with the inverse exchange rate, then the reverse exchange rate is used in the relevant translation from one currency to another. Translation using the inverse exchange rate is useful, for example, when values from the original documents have been translated before being saved in the data targets and you want to restore the original values.
    You have maintained the following exchange rates:
    EUR  ®  USD 0.940          
    USD  ®  EUR 1.070
    When translating from USD to EUR using the inverse exchange rate, a rate of 1/0.940 = 1.064 is used and not a rate of 1.070.
    ●      Source currency: The source currency is the currency that is to be translated. You have the following options:
    ○       The source currency is determined dynamically using the data record. This is always the case when you perform currency translation in the Business Explorer.
    ○       The source currency is determined dynamically using a specified InfoObject (characteristic). During the data load process, the source currency can be determined either using the data record or a specified characteristic bearing master data (see example: Defining Target Currencies Using InfoObjects. Determining the source currency using an InfoObject is performed in the same way).
    ○       You can use a fixed source currency in planning functions. Data records with the same currency key as the source currency are translated.
    ○       You can specify any variable that exists for InfoObject 0CURRENCY. You can also use these options in planning functions.
    ●      Target currency:
    To determine the target currency, you have the following options:
    ○       You can establish that the target currency be determined upon translation. In the Query Designer under the properties for the relevant key figure, you specify either a fixed target currency or a variable to determine the target currency.
    ○       You can enter a fixed target currency (for example, ‘EUR’).
    ○       You can specify any variable that exists for InfoObject 0CURRENCY.
    ○       In the currency translation type, you can specify an InfoObject which is used to determine the target currency upon translation. In characteristic maintenance on the Tab Page: Business Explorer, you have to determine a currency attribute. For more information, see the example under Defining Target Currencies Using InfoObjects. If the Only Use in Transformation indicator is set, you can also enter InfoObjects that do not have a currency attribute set in InfoObject maintenance. InfoObjects that are entered here have to be available in the source and contain a currency as an attribute.
    ○       You can specify an InfoSet: This is only necessary if you are determining the target currency using an InfoObject that exists in the InfoSet more than once. You enter the field alias so that the InfoObject can be specified uniquely.
    ●      Time reference: The time reference for the currency translation can be either fixed or variable.
    If the time reference is fixed, the time at which the exchange rate is determined is independent of the data. You have the following options:
    ○       You can establish that the time reference be determined upon translation.
    ○       You can select the current date.
    ○       You can specify a fixed date as the key date.
    ○       You can specify any variable that exists for InfoObject 0DATE.
    ○       You can establish that the query key date be used. This is determined in the query settings.
    If the time reference is variable, the time at which the exchange rate is determined is decided by a time characteristic value.
    ○       A variable time reference can, for example, be determined using the end or start of a fiscal year or calendar year, a period and a month – or even to the exact day. The following standard time characteristics are available: 0FISCYEAR, 0FISCPER, 0CALYEAR, 0CALQUARTER, 0CALMONTH, 0CALWEEK and 0CALDAY.
    ○       The time reference can also be determined using a customer-specific InfoObject of type date (for example, trading day). Note that this InfoObject has to have the same properties as the standard InfoObject selected in the variable time reference or must reference it.
    ○       You can specify an InfoSet: This is only necessary if you are determining the target currency using an InfoObject that exists in the InfoSet more than once. You enter the field alias so that the InfoObject can be specified uniquely.
    In the Business Explorer, you can only set time variable currency translations in query definition, and not for an executed query. See also Setting Variable Target Currency in the Query Designer.
    ○       In the Time Adjustment field of type INT4, you can specify whole numbers with a +/- sign.
    ○       In the Time Adjustment from Variable field, you can specify formula variables (1FORMULA). As these values of the variables may have to be whole numbers, they are rounded to whole numbers (integers) where necessary.
    The time adjustment (regardless of whether it is fixed or variable) is always related to the InfoObject specified under Variable Time Reference.
    Example of a time adjustment of -3:
    The variable time reference is To the exact day and the InfoObject under Variable Time Reference is 0CALDAY. Instead of 07.11.2006, after the time adjustment, 04.11.2006 is used for the translation.
    The variable time reference is End of Week and the InfoObject under Variable Time Reference is 0CALWEEK. Instead of 52.2004, the week 49.2004 is calculated and the end date is calculated from this.
    Hareesh

  • Currency Translation

    Hi,
    We have different needs for the currency translation depending on the financial statement items an movement type.
    So, we have defined 2 methods (and 2 tasks) all different.
    They are different also in the exchange rate type for the reference translation.
    That is, for example:
    First method (task):
    Exchange rate type for the reference translation (1003 - Historical exchange rate)
    Step:
       Investment items
        and type of movement (100 u2013 beginning balance)
    Specific translation:
    u2022     Currency translation key: periodic
    u2022     Exchange rate type: EURX (EMU regulation, variable exchange rates)
    Item (Translation Difference):
    Item (58200)
        Subitem (58201)
    Second method (task)
    Exchange rate type for the reference translation (1002 - Average exchange rate)
    Step:
        Income statement items
    Specific translation:
    u2022     Currency translation key: periodic
    u2022     Exchange rate type: EURX (EMU regulation, variable exchange rates)
    Item (Translation Difference):
        Item (58200)
        Subitem (58202)
    PROBLEM:
    When we run the methods at consolidation monitor, the second task affects the result of the first task.
    The result from the first task is correct.
    When we run the second task, which is for income statement items (not this as the first one u2013 investments), System is creating a new step (a cumulative one), which is changing the Exchange rate type for the reference translation of this item; meaning is changing the previous correct values.
    Why is this happening?

    Thanks for your answer.
    So, what you're saying is that I cannot have several Exchange rate type for the reference translation according to financial statement items/movement types?
    I always have to have the same Exchange rate type for the reference translation for all the items/movement types?
    Thanks for your help.
    Best regards.

  • Currency translation problem

    Dear All,
    I am trying to create  the currency translation type and use it in the Bex Designer. But its not converting the values at all.
    Output required:-
    Need to convert all INR values to fixed USD currency. Source currency is always INR and target currency is always USD.
    But customer i going to give us the exchange rate for everymonth and we need to apply the latest exch rate depending upon when user is running the report. We are planning to store the rates in some z table as of testing we are accessing tcurr table.
    Case:-
    Say user is running report as on today then last month rate(july month rate) needs to be picked up.
    Say user is running report today but viewing report data as of May only then also latest rate i.e July month rate needs to be picked up and applied.
    Backend activities while creating translation type:-
    Exchange rate type :- M
    Source curr:- Source curr from data rec.
    Target curr:- Fixed target curr - USD.
    Time reference :- Variable time reference , Begining of period, standard infoobject i.e 0FISCPER.
    I am not very sure on what values needs to be selected for Time reference tab in order to achieve my case.
    Frontend activities:-
    Using the same key figure and changing the currency translation properties.
    Reqeust you to give ur inputs on this.
    Thanks & Rgds,
    Anup

    Hi Mansi,
    Thank you very much . I am now able to select my variable.
    But one small concern. Now after creating the currency translation type i just need to maintain the rate in tcurr table rite?
    My value would for tcurr table would be;-
    M INR USD 20090701 47.095
    M INR USE 20090601 460258
    Use this variable in Bex Designer.
    Is there any other area which we need to take care of.
    Thanks & Rgds,
    Anup

  • Currency translation - not picking up currencies from master data

    Hi,
    We have a currency translation defined for a key figure. We've defined a variable for users to select target currency. 0currency is set to pick up from master data, but the input help on the variable is only showing currencies from infoprovider. I debugged the query and it is trying to get the currencies from the cube. Any setting that I do or update?
    We're using BW 7.3 SP10 on HANA.
    Sonni

    HI
    Once check in the BEx tab of that IO, there select the f4 option.
    Regards,
    Sunil.

  • Currency Translation with Variables

    My currency translation is not working and I can't figure out why. Here's what I've done:
    1. Created a variable on 0CURRENCY, processing by user entry.
    2. Created a currency conversion type. Exchange rate type 1001. Source currency from data record. Target currency from variable (defined in step 1). Current date.
    3. Created a query in the BEx. Set my key figure to use the currency conversion key defined in step 2. The target currency is set to the variable created in step 1.
    When I run the query it asks me to enter my currency. However, it does not do a conversion on the key figure. i still have some rows showing different currencies.
    Can anybody see if I have done something incorrectly, or suggest how I can get this to work.
    Cheers

    Have you transferred the exchange rates from R/3?
    RSA1 -> source systems -> rightclick on system -> "transfer global settings" -> check currencies and update

  • Currency Translation not working with "Time Reference from Variable"

    We have created several Currency Translations using RSCUR with a fixed "Key Date".  All have been working fine until we got the request to allow a variable date for the exchange rate date.  I have built a variable on 0DATE which I am putting a default date value into using user exit.  This default date is the SAME date as the fixed "Key Date" which we have been using.  Unfortunately when we use the "Time Reference from Variable" option and use this new variable, no currency conversion is taking place, instead it only shows the original currency values.  I am 100% sure that my variable is getting a value and it is the same date we are using for the fixed "Key Date" value so both methods should be using the exact same exchange rates.  The documentation that I can find states:
    ●      Time reference: The time reference for the currency translation can be either fixed or variable.
    If the time reference is fixed, the time at which the exchange rate is determined is independent of the data. You have the following options:
    ○       You can establish that the time reference be determined upon translation.
    ○       You can select the current date.
    ○       You can specify a fixed date as the key date.
    ○       You can specify any variable that exists for InfoObject 0DATE.
    ○       You can establish that the query key date be used. This is determined in the query settings.
    In my case I am only switching from option "You can specify a fixed date as the key date"=(Key Date) to "You can specify any variable that exists for InfoObject 0DATE"=(Time Reference from Variable).
    What am I missing?  Any help is appreciated.

    I neglected to mention that we are calling this currency translation through a WAD button using the SET_CURRENCY_TRANSLATION command.  I did do a test by applying the currency conversion within query key figure.  This seems to work.  So it appears the issue is with how the WAD is processing the variable, not the query.  When I display the variable in a drop down item within the WAD it does have the default value that I have assigned in user exit.

  • Currency Translation Type in queries using currency conversion

    I have a question on the Currency Translation Type (EUR_VAR) that is used in all of the queries using currency conversion on the fly. (currency is maintained automatically nor in table.)
    User wants to use 2 different exchange rates in a single query. The months in 2010 (Actuals) are to
    be converted using Xchangerate-type EURO and the months in 2011 (Planned) to use Xchangerate-type USD.
    But store different rates with different starting dates. This is however not possible because the Currency Translation
    Type is set-up (1) to work with Query Key date - rather than a characteristic in the data and (2) apparently these
    currency translation types only work with time characteristics like 0fiscyear
    My idea is therefor to:
    1. Create a new variable (similar to EXC_RATE) to prompt for a 2nd Exchange Rate type when query starts
    2. Create a new Currency Translation Type (next to EUR_VAR), referencing the new variable or sticking to fixed Xrate type, fixed to EUR
    Is this possible to create Idea (2)
    Many Thanks in Advance.

    The best way would be to create two curr conversion types , one converting to EUR and other to USD .Put them in properties of coressponding KFs in query.For timref in RSCUR , variable time ref can be used individually for two conv types.

  • Currency Translation key not appearing in dropdown for selection

    Hi BI Gurus,
    We are using BI 7.0 SP 08 and SAPGUI 6.40 patch level 19. Let me explain our scenario.
    We are using SEM-BPS for Planning. Data is loaded to BW InfoCubes and then uploaded to summerized Infocube.
    We are also loading data from flatfiles into other set of custom Infocubes similar to IM Cubes.
    Planning is done in Transactional infocube and there is multiprovider on top of Transactional Cube, Summerized standard Cube and summerized custom infocube (for flatfile) for reporting.
    We are pushig back the final plans to R/3 system and currency conversion is automatic. There is no problem here.
    We are loading planing data and actuals from flat files to our IM custom Infocubes. The data is coming in different currencies and we are converting and updating in the cubes in fixed currency USD. Once plans are finalized,we want to give some kind of tool to the users to see their appropriation requests and the plan value in local currency. We are thinking to create some BEX queries for this purpose. Users will Select their requests and currency and the query will display their requests in local currency.
    RRC1 tcode does not work in BI 7.0. There is an equivalent Tcode RSCUR to create the Currency Translation Key. I created a translation key. Now I am trying to use this key into BEX, using GUI for 3.X and BI 7.0. This key is not appearing in the dropdown for the currency translation key selection. So there is no way I can use this key. 
    I went through a number of postings in this forum and still looking for the right one. Is something I am missing? or Is some bug in BI 7.0.
    I know it was working in BW 3.5. Can you guys share your experience? Any help is appreciated.
    Thanks.
    Sheo

    OSS note 968356 might be applicable.
    <i>
    Symptom
    No currency translation is available in BEx Web. You cannot call a currency translation dialog box using the context menu.
    Reason and Prerequisites
    Business Explorer, NW2004s, SPS8, SPS9
    You use BEx Web applications in SAP NetWeaver 2004s.
    </i>

Maybe you are looking for