Currency Conversion based on condition in BW

Hello,
I have gone through the cople weblogs/links/doc whatever information I found on currency conversion. However I am not able to figure out what could be done in below scenario. Please guide.
Scenario -->
I have STATUS and POSTING_DATE in my Cube. Key Figure in this cube is AMOUNT. Transactions are created in source system in local currency. When data is extracted to BW, I get AMOUNT in local currency and with right clicking on this column in Bex, I can convert it in Fix Target currency or I can permanently create one new column in my report which will always shows fixed target currency for AMOUNT. So far so good.
Now the problem is I wanted to use the conversison rate maintained in TCURR table based on some condition.
Ex: IF STATUS=CLOSED, then use Conversion rate as of POSTING_DATE,
        ELSE, use current date exchange rate.
Standard currency conversion always use curent date for calculating exchange rate, but can I use conversion rate as of POSTING_DATE?
Please advice.
Regards
Pankaj

Thanks everyone for reply. I really apprecite your help.
I tried the suggested FM "CONVERT_TO_LOCAL_CURRENCY", just have one more clarification.
I debuged this FM and saw that Date which we are passing get's inverted as this is how date is maintained in TCURR table. So far so good. But TCURR table normally get's loaded once a month (say at the start/end of month) and so we will have only one date there. However input date which I am passing into thi FM can be any date (as this is the date maintained at transaction level). How do you handle this case?
Please advice.

Similar Messages

  • Currency Conversion---- Based on Posting period

    Hi All,
    I am creating a report based on FIAA .
    Query selection screen will contain COMPANY CODE , and the POSTING PERIOD
    suppose  we enter company code as 2100 and posting period from 001.2007 to 012.2007.
    I need to translate all the balance sheet items are translate with the closing rate (M) for the current period , i.e. the "to period in the report " here 012.2007.
    The To period is dynamic and i need to select the currency conversion rate dynamically based on the To period entered in the selection screen of query.so, Can any one give the clues to achieve this. Your help is appriciated.
    Thanks & Regards
    Syam.
    Edited by: syam reddy on Nov 24, 2008 10:09 PM
    Edited by: syam reddy on Nov 24, 2008 10:19 PM

    Use RSCUR transaction to create currency translation type.
    Here under "Time Ref" tab use "Variable Time Ref" and special infoobject.
    You should be able to choose Posting period or posting date here.
    Now in query designer maintain the currency conversion based on this currency translation type.
    Hope this helps.

  • Currency conversion based on budget rate

    Hi All,
    I want to do the currency translation from GBP to EUR,EUR to USD and GBP to USD.there is no table maintained in the BW system.Currency conversion should be based on budget values and they are asked me to do on reporting level.I have gone thru the documents and blogs but not able to follow them.Could you pls share any one knowledge and step by step process.
    Thanks

    Use RSCUR transaction to create currency translation type.
    Here under "Time Ref" tab use "Variable Time Ref" and special infoobject.
    You should be able to choose Posting period or posting date here.
    Now in query designer maintain the currency conversion based on this currency translation type.
    Hope this helps.

  • Currency conversion issue for condition type

    Hello,
    I am creating two invoice document.
    1. Customs Invoice (ZCDS)
    2. Inter company invoice.(IVA)
    both the invoices should be similar. Same pricing procedure is used to create both the documents but in Customs invoice YUMU condition type is not getting converted whereas in IVA the condition type is getting converted. Can anyone tell me the possible reason for this?
      ZCDS
    IVA
    Regards,
    Jagjeet

    Hi Jagjeet,
    For IVA invoice type -(For condition type- YUMU)
    Below highlighted part of code is changing KSTEU from 'E' to 'C' for IVA invoice using std prog RVIVAUFT.
    For ZCDS Invoice Type -(For condition type- YUMU)
    Program RVIVAUFT is not called since ZCDS is not trigerried using Output type unlike IVA.
    Hence KSTEU is not getting updated from 'E' to 'C' in case of ZCDS.
    To solve your problem write code in User exit - userexit_pricing_copy to change  konv-ksteu to 'C' for YUMU condition type at runtime.This will definately solve your problem.This will ensure you get correct/same condition value for IVA and ZCDS...:)
    Regards,
    Vikas Mulay.

  • Problem in SAP Query with currency conversion   based on table TCURX

    Hi All,
    I have an infoset where tables A903 and KONP are joined . Query is displaying the KONP-KBTER values with currency as stored in the database table .My requirement is to show the KBETR value as per decimals stored in TCURX table for that currency .
    For Example If KONP-KBETR = 51.29 JPY , It sholuld display as 5129  as  Decimal places for JPY is 0.
    There is FM CURRENCY_AMOUNT_SAP_TO_DISPLAY Which gives the equvivalent display value to the databse value value.But it is giving dump because of type conflict with
    KONP-KBETR .
      Can any body help me how can i solve the problem in My Query ? .Pls any small idea taht may help greatly  also warmly welcome .
    Thx,
    Dharma .

    Hi Sriram ,
    But how can i use it in Queries . I mean should I go for a additional filed in infoset and then passing the  converted value to the the that additional field .
    Thx ,
    Dharma .

  • 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

  • Bex to Business Objects - Currency Conversion error in Webi

    Hello,
    I am attempting to transfer a Bex 7 key figure currency conversion to a Business Objects filter in a Universe for display in a Webi report.  The version of Business Objects XI 3.1 SP2.  The Bex Conversion Type is based off Calendar Month, and the Target Currency variable is a selection prompt. The filter is passed to the universe and prompts when the report is ran in Webi, but an error occurs if the currency is populated.  For instance, if I populate the filter in Webi with 'USD', the following error occurs:  The MDS query SELECT "....." failed to execute with the error Value 'USD' FOR variable "Currency" is invalid (WIS 10901).
    I'm not sure if the currency conversion information is being properly transferred and translated to Business Objects.  Does anyone have any insight on this issue?
    Thank you,
    Brock

    I was able to modify the dimension for the filter to retrieve the correct object (Ex. USD), but there are multiple incorrect selections for USD and other currency types.  For instance, when I type in USD i get 5 different options, and the one with the description 'American Dollar' is the correct one.  Why is Webi displaying all these different options?  When I display the options for currency in Bex only one 'USD' is shown in the list.   Here is my filter condition for currency type in the Universe:
    <OPTIONAL><FILTER KEY="[SELCUR]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Select Currency','A','Organization\Cur Key',mono,primary_key)"/></CONDITION></FILTER></OPTIONAL>
    Cur Key is my customized hidden dimension
    Thank you

  • GL : after journal import currency conversion type change to User

    Hi
    I have following data in GL_Interface table
    User_currency_conversion-type = 'Corporate'
    Currency_conversion_date = '9/21/2008' ( Get from Gl_Daily_rates)
    Currency_conversion_rate = Null
    As per GL_Daily_Rates the conversion_rate is 1.5 for this currency to functonal currency.
    After journal import, gl_je_header is populated with
    User_currency_conversion-type = 'User'
    Currency_conversion_date = '9/21/2008'
    Currency_conversion_rate = 1
    Can you please explain, why the User_currency_conversion-type and Currency_conversion_rate are changed to above values ?
    If you have any good document of "Journal Import Rules and Logic" , please share
    Thaks in Advance

    Hello Mr. G. Lakshmipathi,
    Thanks! I'll try this function module READ_EXCHANGE_RATE.
    However, I think this issue is not really related to the exchange rate. The amount conversion from USD to JOD happens correctly based on the current pricing forumla that we are using i.e. amounts in JOD have 3 decimals after conversion from USD, but when they are stored in pricing structure, the last decimal is truncated as the currency against the 3 condition types is USD (USD has 2 decimals). Hence, the amounts have 2 deicmals.
    Thanks,
    Amit

  • Currency conversion possible before SPS9 - Functional enhancement document

    Hi,
    Functional enhancement document(https://websmp201.sap-ag.de/~sapidb/011000358700004483762006E) says "change of currency translation settings during runtime by end-user (SPS10)".
    But if using varialbe that is asked after executing query, it seems to be possible.
    So I cannot understand what this description means, is it only about the context menu?
    Kind regards,
    Masaaki

    Hello Mr. G. Lakshmipathi,
    Thanks! I'll try this function module READ_EXCHANGE_RATE.
    However, I think this issue is not really related to the exchange rate. The amount conversion from USD to JOD happens correctly based on the current pricing forumla that we are using i.e. amounts in JOD have 3 decimals after conversion from USD, but when they are stored in pricing structure, the last decimal is truncated as the currency against the 3 condition types is USD (USD has 2 decimals). Hence, the amounts have 2 deicmals.
    Thanks,
    Amit

  • Currency Conversion in WebI Report

    Hi All:
    Need your help in currency conversions using WebI Report.
    Current Scenario: 
        Currency conversions are currently achieved at BEx Query Designer level where target currency is determined through a Selection Variable.
    Proposed Solution:
       As per the Business proposal, BW will be publishing the data to Terradata; a universe will be built on Terradata and a WebI report will be based on this universe.
    Question:
       How can this type of currency translation be achieved in WebI Based  Report?

    Hi,
    Current Scenario:
    Currency conversions are currently achieved at BEx Query Designer level where target currency is determined through a Selection Variable.
    Proposed Solution:
    As per the Business proposal, BW will be publishing the data to Terradata; a universe will be built on Terradata and a WebI report will be based on this universe.
    Question:
    How can this type of currency translation be achieved in WebI Based Report?
    >> You would use the same logic by using a variable in the BEx query designer and Web Intelligence would then leverage the variable from the BEx query.
    ingo

  • Credit memo request with currency conversion to EURO

    I have a requirement in which i need to create a Credit Memo Request for the newly created sales organisation using the old billing document number created for old sales organisation.New sales org will have its currency changed to EURO.I referred to a FM named 'Pricing' where the currency conversion is done.
    The requirement is to get the current price in EURO from the price list instead of currency conversion to EUR.The current price has to be extracted from new pricelist.
    Your inputs in this regard is highly appreciated.

    HI
        Am not on SAP system now, so will try to give you
    info with what i can recollect.
       You can use FM: SD_SALESDOCUMENT_CREATE for creating
    Credit Memo Request. Note that reference document and
    reference type should be passed for identifying the
    reference document as invoice. Please consider these as
    initial inputs to explore on the same. Regarding the
    pricing, it can be configured either at order type or
    copy control to carry out new pricing so it can take
    directly from condition records.
        Hope the above info can help you in exploring on the same.
    Kind Regards
    Eswar

  • Calling different pages in a single sap script based on conditions?

    Hi All,
             Can anyone please give me an example of how to call different pages in a single sap script based on condition. Eg., i need to call 5 differnet pages from a single sap script based on 5 company codes.
    Please help
    Regards
    Priya

    This approach to make call from SAPscript. Its concept is similar to make call to a subroutine in another program. I would presume you understand how to use USING and CHANGING parameter. =)
    SAPscript -
    /: Perform get_date in program z_at_date
    /:    using &p_year&
    /:    changing &new_date&
    /: endperform.
    program z_at_date -
    form get_date TABLES rec_in  STRUCTURE itcsy
                                    rec_out STRUCTURE itcsy..
    DATA:
       v_year type char10.
    sap script and subroutine uses itcsy structure to transmit parameters
    first parameter is incoming while second parameter is out going
    their function is like an internal table with header line
    all data types between SAPscript and subroutine are string.
    so, you might need additional conversion.
    read incoming parameter with exact name from SAPscript
      READ TABLE rec_in WITH KEY name = 'P_YEAR'.
      IF sy-subrc EQ 0.
        v_year = rec_in-value.
      ENDIF.
    to return value, use the exact name on the second structure
        CONCATENATE v_year v_year INTO v_year.
        READ TABLE rec_out WITH KEY name = 'NEW_DATE'.
        IF sy-subrc EQ 0.
          rec_out-value = v_year.
          MODIFY rec_out TRANSPORTING value WHERE name = 'NEW_DATE'.
        ENDIF.
    endform.
    Hope this helps =)

  • 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

  • Currency Conversion for historical Amount

    Hello Experts,
    Can some one help me to find a solution for my reporting requirement.
    As part of GL reporting, I have a report which shows accumulated balance for given fiscal year/period. If the currency is in USD,I have no issues. When the currency is in non USD(Ex: EUR) I need to convert it into USD at BW side.
    Here is the example:
    User Enters: Fiscal Year/Period : 2007003
    Accumulated Balance for particular GL account might be 300 EUR.
    But actual posting might be happened in 2006012.
    While converting it to USD it should take the 2006012 exchage rate from TCURR and convert it.
    I have created a RRC1 object and used it in Query but it is using 2007003 exchange rate.
    Please help me to solve this problem.
    Thanks,
    Bobby

    Hi,
    make your currency conversion type time dependent that is the the exchange rates should be picked based on the date when the G/L account was posted.
    Go to transaction RRC1 chose your exchange rate type and in the time ref. tab give key date as the posting date it will pick the exchange rate as the date when the doc was posted.
    Hope it clears
    Thanks

  • Currency Conversion Type missing in BEx

    I have created a new conversion translation type M1 based on Monthly Average exchange.
    RSCUR definition for  this conversion on the time ref tab to be a "variable time reference"- End of Period for
    Standard Info Object Fiscal Period "0FISCPER".
    Is this configuration the cause for placing a limiting restriction on the visability of this selection at runtime of query.
    The following currency translation types are not available at the runtime of the query.
    ●      Translation types for which a variable is stored (variable time reference, source currency from variable, target currency from variable, and so on).
    From BEx I am unable to select Currency Conversion (Convert to Currency USD) and Use of Currency Translation M1
    Thank You ...... Dan

    Andrey:
    Once BEx query results are displayed in M/S excel ... the user navigates (right click) to (local) query properties:
    Tab >> Currency Conversion >> select Convert to Currency will open option to determine Currency (USD) and Currency Translation (via drill down).
    Those Currency conversion types configured with variable time reference on InfoObject 0FISCPER cannot re-determine
    target currency values. Fixed Time reference conversion types can be selected through BEx.
    I found a restriction/ limitation in the following thread.
    http://help.sap.com/saphelp_nw70/helpdata/en/ec/076f3b6c980c3be10000000a11402f/frameset.htm
    Restrictions:
    The following currency translation types are not available at the runtime of the query.
    ●      Inactive translation types
    ●      Translation types for which a variable is stored (variable time reference, source currency from variable, target currency from variable, and so on)
    ●      Translation types in which an InfoObject is used for determining the source currency or target currency.
    Are you aware of any way around this ??
    Thank you ....... Dan

Maybe you are looking for

  • Video out not working

    So, the audio is working fine, and the video is fine on my brother's iPod video, but the video on my iPod touch isn't working at all. What can I do to fix this?

  • Formatting a book in Hindi

    I'm in the process of formatting a book in Hindi. I'm getting the translation in Mangal font plain text. The original version in English has bold, italics and bolditalics. I've noticed that ID has only Mangal Regular (using Windows, CS6 8.0.1). Is th

  • Event Registration: Cluster vs. Individuals

    I have a piece of code called a "Receiver".   It listens on a TCP connection for various messages from a PXI box. There are about 30-40 different types of messages, some with large payloads, some with small. The receiver decodes which message came in

  • How to view thumbnails in Windows XP ??

    How do I view a page of ,psd thumbnails in Windows XP Pro ??   I'm using PSE 7.

  • Export dump

    what is maximum size of export data dump on linux, windows,unix; please reply thanks all