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.

Similar Messages

  • 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 with different currency and company code

    Hi all,
    how could it be done if in the report different currencies have to be managed / displayed?
    The InfoObject 0Comp_Code has to be handled for example with different currencies. There are different company codes available and their currency should be converted in the query. But for example we have different currencies like dollar, yen and euro. So the currency should be dedicated correctly.
    And the credit control area (the highest level in organisation) has only Euro.
    The data (currency) of credit control area and company code in the cube is available only in Euro at the moment.
    I thought it would be more flexible when the conversion is done at query level then at transformation level. We have filters in the query and the query is very fast. Is it also possible to include a currency for selection in filter?
    Thank you in advance for your help!

    Hi,
    Yes, it is possible to have a filter for selection of target currency if multiple currencies are involved. However, you would need to define a currency translation first in RSCUR. Here, you can specify EUR to be the fixed source currency & a variable in case of target currency which will be used as a filter for user input when the query is executed. You also need to have a reference date (exchange rate date) & a exchange rate type (avg. mthly rate, daily buying rate etc.) associated with the currency translation.
    --Priya

  • Currency Conversion - Rate Type Selection

    I have a BEx query that displays key figure in 3 columns inside a structure, using variable rate types (one rate type per column).  We have rate types P, P1, and P2 loaded into currency tables. 
    I run this query with the following selection criteria:
    Column 1 -- Key Figure in Local Currency (BRL)
    Column 2 -- Key Figure converted from BRL to EUR using rate type P
    Column 3 -- Key Figure converted from BRL to EUR using rate type P2
    For some reason column 2 is converted using rate type P1, instead of rate type P, even though rate type P1 is not even part of the selection screen.  Column 3 is converted correctly, using rate type P2.  I enter the same time period for all 3 columns, and rate types P and P2 both exist for this time period.
    Do you know what's going on here?
    Thank you.
    Nadia

    Hi,
    see if there is any currency conversuion type used in you report.
    It can be checked in the properties of the key figures.
    you can go to RRC3 to check which echange arte is used by this currency conversion.
    Or if currency conversion is happening at the update rule then check if which is the exchange rate used there.
    Once you have seen the exchange rate...go to t-code SPRO
    SAP Netweavet->General Settings->Currencies->Enter Exchange rate .
    here you cah check the latest exchange rate ...from currency to currency...and the values...based on settings of you currency conversion type it will chose the factor.
    Thanks

  • Currency conversion with the wrong exchange rate type

    Hi,
    I need a currency conversion in my bex query. I have defined a currency translation key with a assignment to the exchange rate type "M".
    When I check the results in the query it works with exchange rate type "EURX".
    Exchange rates are in the TCURR.
    Can anyone help me.
    Thanks in advance
    Jürgen

    Hello,
    We just had the same issue, and in checking the Currencies: Translation Ratios in transaction OBBS, I noticed that the currency translation key in question was set up with an entry of "EURX" in the "Alt. ERT" column.
    I copied the line and created a new entry with a "Valid From" date of the current month, but without the "EURX" Alt. ERT alternate and that seemed to solve it. 
    Anything entered with a date after the new Valid From date would use the manually entered exchange rate, while anything with a prior date continued to use the EURX rate.
    It appears to me that the "Alt. ERT" functions more as an override than an alternate, so if you want the system to actually use the "M" rate, I believe you have to ensure there is nothing in the "Alt. ERT" column.
    I hope this helps.
    Blaine

  • RFUMSV00 currency conversion with plants abroad

    I have plants abroad activated and wish to use execute the abap in the currency of the tax return by setting the nat. currency instead of local currency flag. My question is which currency exchange type does it use to execute this and which date does it use for the currency conversion. Is there an OSS or implemenation link which explains this
    thanks for any help

    Hello,
    Please have a look at note 175141. The reporting of the tax advance
    with RFUMSV00 is done in Local Currency. Amounts in Second or Third
    Currency do not play a role. Also: The transaction currency and the
    exchange rate are used during posting to determine the amounts in Local
    Currency
    Exceptions are when the 'Plants Abroad' configuration is used.
    => selection button 'National Currency Instead of Local Currency'.
    Please review also notes 1055835 and 1026865 in case of
    specific country.
    Hope this helps,
    regards
    Ray

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

  • Applying Currency conversion with respect to Date in WAD result

    Hi Gurus,
    We have a web report with different currencies.
    Now the business requested to create a down drop with the dates as per the data when we load the exchange rates in TCURR table.
    So using the date on the web report, business wants to change the report values for different currencies (USD, EUR, CHF..) as per their wish.
    Now the technical challenge is ,
    We don't have currency types used in the cube, We are not maintaining a Unique currency values in the target (Cube)  and if incase we overcome with all the above challenges.
    In web report when we select the date , the report should not have any effect or change the result output unless after selecting the dates must click required currency button to convert the result.
    The report should only change when we press the convert to different currency button.
    So,Gurus please help me how to achieve this
    Regards,
    chandu

    Hi,
    I see that the function module is converting the FLOAT value to the internal ABAP date format (YYYYMMDD) - this is the correct format in which the date value is stored internally in ABAP. Even your info object that you used in your DSO if defined with property type 'DATS' would expect the value in this format only.
    Unless I did not understand your issue, the function module does the job and you don't need to add any additional patching for the format you are expecting.
    Regards,
    JK

  • APO DP: currency conversion with CURR_CONV_FAC

    Dear DP experts,
    we have currently a problem  that is described in a similar thread, however the solution is not yet clear.
    Demand planning: Change currency in unit column with a macro function?
    We are using the currency conversion: on planning book, top left corner - right mouse button - UoM - Set - In currency field put USD. (*) The planning area currency is RUB. To work with USD, the program takes the currency exchange rate of today. However we need to use the currency exchange rate that is maintained in SPRO on a monthly basis.
    We were advised by SAP that it is a program limitation and there is a macros CURR_CONV_FAC to make currency conversion based on periods.
    As we want to keep the conversion functionality  as is (*), did anyone try to implement the conversion in such a way and could help us with advice?
    For example , we think that this macros
    1) has to be DEFAULT,
    2) has to find the planning area currency
    3) has to read the new currency from the UoM column
    4) has to recognize that the currency change event has to happen.
    5) has to be allways called after setting the new currency.
    There are some doubts that this can work, can anyone advise?
    Best regards
    Vladimir Ermoshin

    Hi BPC Gurus,
    I too have the same issue.
    We are in the process of upgrading BPC7.5NW to BPC10.0 NW.
    1) I am validating the below Currency Conversion script in BPC10.0:-
    *RUN_PROGRAM CURR_CONVERSION
    CATEGORY = %CATEGORY_SET%
    CURRENCY = %RPTCURR_SET%
    TID_RA = %TIME_SET%
    RATEENTITY = GLOBAL
    OTHER = [ENTITY = %COMPANY_SET%]
    *ENDRUN_PROGRAM
    The data manager package runs w/o any errors, but log says:-
    LOG BEGIN TIME:2013-02-26 20:36:16
    FILE:\ROOT\WEBFOLDERS\XXXXX\ADMINAPP\LEGAL_CON\FXTRANS.LGF
    USER:JXXXX
    APPSET:XXXXX
    APPLICATION:LEGAL_CON
    RUN CURRENCY CONVERSION
    0  SUBMITTED, 0  SUCCESS, 0  FAIL.
    SCRIPT RUNNING TIME IN TOTAL:1.16 s.
    LOG END TIME:2013-02-26 20:36:18
    2) When tested in UJKT in BW I have the below error LOG:
    UJK_VALIDATION_EXCEPTION:Dimension set:"CATEGORY" not assigned in Data Manager
    3) Model is of consolidation type with dummy(no data) Ownership model.
    4) Below is screen shot of my Currency Translation rules post upgrade in BPC10.0NW.
    Any clue why currency conversion is not picking any records??
    Thanks in advance for your earliest help.
    GMR

  • When working with quick selection tool (and not only) the whole psd file gets damaged.

    Hello there,
    Since I first tried Photoshop CS6 on PC I encounter the following problem: when I use quick selection tool at some point the selection gets completely random and I see parts of my artwork disapear. Even after closing the file without saving the changes I see the artwork completely corrupted, without any possibility to recover. As if parts of the image were deleted.
    The problem persisted after I changed to Creative Cloud on Mac (I'm running OS X 10.8.5.)
    I have just seen that it also happens when I work with regular layer masks.
    I desperately need to fix this problem because I cannot keep using hours of retouching work again and again.
    Hope someone can help.
    Cheers
    Julia

    I am also having the same exact issue. This is the third time this has happened in about six months. I use the quick selection tool and I see a alpha mask that looks truncated and it show random parts of the image in the mask which has nothing to do with the selection. But the worst part of this is that my retouching layer the only other layer comes back completely empty even if I try to save the file in various other file types like tiff and it comes back empty. I'm losing a lot of retouching time here. I also hope some else has an answer.
    Thanks
    Mike

  • Currency conversion with Group consolidation does not work

    Currency Conversion WITHOUT group consolidation works (script logic reads CURRENCY = %GROUPS_SET%) which puts out values in USD. The values were translated correctly as per the exchange rates.
    Now, since we need consolidation, I ran currency consolidation WITH group consolidation (I changed the script logic to read GROUP = %GROUPS_SET%). FXtrans package runs successfully with 0 records (0 submitted, 0 success, 0 fail).
    I also referred NOTE 1519146.
    Please advice.
    Thanks,
    Tagz

    Hi,
    You can try to use %GROUPS_DIM% or the dimension name directly in the dynamic script as suggested.
    And also try after modifying your currency conversion script as GROUPS = %GROUPS_SET%. If this does not work please try
    by hardcoding GROUPS=Value in the script and let us know how it works.
    Hope this helps.
    Regards,
    Shoba

  • Problems with customizing select lists and popup LOVs

    Hi
    I have 2 problems about select lists and popup LOVs.
    The first one is about a select list in a tabular form.
    It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
    This worked fine but now it should also have the possibility to enter a free value.
    I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
    If the row is added by addRow, then it works fine, but if the row is is not empty
    then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
    The other problem is about a select list which should have the possibility to enter a custom value and
    also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
    I would appreciate any ideas about either of these problems.
    Tiina

    Hi,
    If you download application you can see source.
    I have not write any instructions, sorry.
    If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
    If you download my sample in zip there is uncompressed htmldbQuery library.
    You can see that and take only function htmldbAutocomplete.
    Then check jQuery UI document
    http://jqueryui.com/demos/autocomplete/#method-search
    There is method search that you can use open list just by click of input.
    I hope this helps at start.
    Regards,
    Jari

  • Time Zone Conversion with out using function and with out alter

    Hi All,
    I am able to see 1Hr difference in my date fields of SQL output because in UI (User Interface)  date field was stored in BST format but DB time zone is in GMT format so can any one help me to find a solution for 1 hr difference, here i don't have Privileges to alter DB time zone and i couldn't use function as i have so many SQL's and  can't apply that function manually. SO is there any other option to change the DB time zone with out alter it and with out using function.
    Thank you Very Much.

    Hi,
    you need to set time zone in your session, let's do an example :
    alter session set nls_date_format='DD/MM/YYYY HH24:MI:SS';
    CREATE TABLE USERA.T
      SDATE       DATE                              DEFAULT sysdate,
      WITHOUT_TZ  TIMESTAMP(6)                      DEFAULT sysdate,
      WITH_TZ     TIMESTAMP(6) WITH TIME ZONE       DEFAULT sysdate,
      WITH_LZ     TIMESTAMP(6) WITH LOCAL TIME ZONE DEFAULT sysdate
    insert into USERA.T(sdate) values(sysdate);
      commit;
      select * from USERA.T;
    SQL> select * from system.t;
    SDATE
    WITHOUT_TZ
    WITH_TZ
    WITH_LZ
    26/09/2013 11:04:23
    2013-09-26-11.04.23.000000
    26/09/13 11:04:23,000000 +00:00
    2013-09-26-11.04.23.000000
    SQL> alter session set TIME_ZONE ='-7:0';
    Session altered.
    SQL> select * from system.t;
    SDATE
    WITHOUT_TZ
    WITH_TZ
    WITH_LZ
    26/09/2013 11:04:23
    2013-09-26-11.04.23.000000
    26/09/13 11:04:23,000000 +00:00
    2013-09-26-04.04.23.000000

  • BW Currency Conversion with rate of next year

    Hi,
    I need to show cumulated values of previous year(PYTD) converted with the exchange rate of the current year (e.g. Jan 06 value converted with Jan 07, Feb 06 with Feb 07 etc.).
    I can't upload the converted value, because the rate (monthly average) is fixed at the end of the month.
    Is ther any solution to do this at query runtime?
    I tried RRC1 etc., but got nowhere yet,
    thanks,
    Stephan

    Hi,
    This can be done if you have have a input variable at  calendar month infoobject at the runtime of the query.
    You will have to write a customer exit making this variable as ready for input.
    In the exit write this logic that what ever the value of the calendar month is increment the year by 1.
    So if for record you have 0CALMONTH values as 02 2006 it will give the output as 02 2007.This should be the logic of your customer exit.
    Now use this Variable in the RRC1 transaction.
    Everything should be the same.
    In the "Time ref" option in the RRC1 t-code use this variable in the option "Time Base form Variable" option.
    So suppose the record contains the calmonth value as 02 2006 from the variable it will pick the exchange rate fo 02 2007.
    Now you can put this currency translation type in the "properties" of the key figure for which you want to use conversions and give the desired target currency.
    Hope this helps
    Thanks

  • Help with query - inner join and case

    Hi this is the query I am having troble with, where is the correct place to add the case condition:
    SELECT
    FROM
    END_USER_ORDERS EO
    INNER JOIN ORDER_PRODUCTS OP
    ON EO.EUO_ID = OP.EUO_ID
    INNER JOIN PRODUCTS P
    ON OP.PRD_ID = P.PRD_ID
    CASE P.PRD_ID -- PROBLEM IS HERE
    WHEN 'Online' Then 'Public'
    END
    INNER JOIN PRODUCT_VERSIONS PV
    ON P.PRD_ID = PV.PRD_ID
    AND PV.SIT_ID = 'DEFAULT'
    AND PV.LOC_ID = 'UK'
    LEFT OUTER JOIN ORDER_SESSIONS OS
    ON OP.EUO_ID = OS.EUO_ID
    AND OP.ORP_SEQ_NO = OS.ORP_SEQ_NO
    LEFT OUTER JOIN SESSIONS S
    ON OS.SES_ID = S.SES_ID
    LEFT OUTER JOIN SUBJECTS SU
    ON S.SUB_ID = SU.SUB_ID
    WHERE EO.EUO_ID = 'bef8cd51-b398-4521-9350-f3a7c3885c59'
    select * from END_USER_ORDERS
    order by EUO_DATE desc
    Many thanks

    hmmm....one more point here, when you change your query use as below:
    SELECT
    Col1,Col2.... -- specify your columns
    ,CASE  P.PRD_TYPE
            WHEN 'Online' Then 'Public'
    else P.PRD_TYPE -- to display others as original value
        END AS [PRODUCT TYPE]
    FROM
    END_USER_ORDERS EO

Maybe you are looking for