Skip to Content
author's profile photo Former Member
Former Member

currency conversion

Hi Gurus,

I have NET VALUE KF stored in the ODS in the document currency. I also have the unit local currency in the ods.....how would you convert those netvalue kf's into local currency when i feed the data into the cube............i.e- if the document currency is in CAD and the local currency is USD, how will i convert the net value into USD

Thank you

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2005 at 03:28 PM

    You can call this function module in the Start Routine of the update rules. eg

    Move DATA_PACKAGE-YrAmt to S_AMT_1.

    CALL FUNCTION 'RSW_CURRENCY_TRANSLATION'

    EXPORTING

    I_CTTNM = 'YrCurrConvType'

    I_AMOUNT = S_AMT_1

    I_SCUR = DATA_PACKAGE-YrSrcCurr

    I_TCUR = YrTrgtCurr

    I_TIME_IOBJVL = CALMONTH (yrTimeRef)

    IMPORTING

    E_AMOUNT = ConvertedAmt

    E_TCUR = YrTrgtCurr

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.