Currency conversion in Import Duties

Dear All,
I have created Import PO , duty calculation is correct in PO.
For same Custom bill passing done (MIRO). IR values are calculated correctly.
While doing the GR the values are coming in ERU it should be in INR.
Exchange rate is maintained in OB08 and same maintained in PO.
Thanks
Prakash

Hi
Check the currency maintained in vendor master for the vendor
Try changing currency from EURO to INR in PO .. Condition Tab

Similar Messages

  • Issue regarding currency conversion

    Hi Experts,
    I'm having issue with currency conversion. Default report output values are displaying in 'EURO' and I had created a toolabar with currency conversion buttons. When this button is selected, values has to be changed into user select currency like INR, USD, AUD. Here im triggering with issues, all the values are converted into 0's. Total value is only converting for first time. From next time. its not converting. I'm using FM's  CONVERT_FOREIGN_TO_FOREIGN_CUR,CONVERT_TO_LOCAL_CURRENCY,READ_EXCHANGE_RATE.
    Please provide ur solutions to solve the issue.  
    Thanks and Regards,
    Bharat

    Hi ,
    You can use this block of code..It is used in our project.
      data : l_rate type ukurs_curr,           "Exchange rate
             l_rate_type type kurst_curr,      "Type of rate
             l_l_fact type i,                  "Local factor
             l_f_fact type i.                  "Foreign factor
    check local currency ,foreign currency local amount are not initial
      check foreign_currency is not initial and
            local_currency is not initial and
            local_amount is not initial.
    Calculate exchange rate
        if local_currency = 'MXN' and foreign_currency = 'USD'.
          l_rate_type = 'MXNT'.
       else.
         l_rate_type = 'M'.
       endif.
    *Call FUNCTION module to get exchange rate
      call function 'READ_EXCHANGE_RATE'
        exporting
          date                    = sy-datum
          foreign_currency        = local_currency
          local_currency          = foreign_currency
          type_of_rate            = l_rate_type
       importing
         exchange_rate           = l_rate
         foreign_factor          = l_f_fact
         local_factor            = l_l_fact
       exceptions
         no_rate_found           = 1
         no_factors_found        = 2
         no_spread_found         = 3
         derived_2_times         = 4
         overflow                = 5
         zero_rate               = 6
         others                  = 7
      if sy-subrc eq 0.
    if l_rate le 0.
      l_rate = l_rate * -1.
    endif.
    Foreign amount
      if l_rate_type = 'MXNT'.
        foreign_amount = local_amount / l_rate .
      else.
        foreign_amount = local_amount * l_rate .
    endif.
      endif.

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

    In one of my report for Foreign Currency Conversion I am using the FM 'CONVERT_TO_LOCAL_CURRENCY'
    The foreign Currency value is 19,120 but in debugging it is shown as 191.20 but finally displaying in the output as 19,120.
    After converting, Local currency calculated is shown as 47397 in debugging whereas it should be 473.97 and is displayed in the output as 474.
    Please suggest any possible solution to avoid the rounding of the last digits.

    Hi marina,
    in this FM 'CONVERT_TO_LOCAL_CURRENCY'  is correct  . in your case you have  :
    CLIENT
    DATE
    FOREIGN_AMOUNT
    FOREIGN_CURRENCY
    LOCAL_CURRENCY
    RATE
    TYPE_OF_RATE
    READ_TCURR
    as import parmaters.
    Type of rate    M=Average rate G=Bank buying rate B=bank selling rate rate.
    check the long text inside the function module -> import parameters.. then set the value accoriding to that.
    regards,
    safel
    In one of my report for Foreign Currency Conversion I am using the FM 'CONVERT_TO_LOCAL_CURRENCY'
    The foreign Currency value is 19,120 but in debugging it is shown as 191.20 but finally displaying in the output as 19,120.
    After converting, Local currency calculated is shown as 47397 in debugging whereas it should be 473.97 and is displayed in the output as 474.
    Please suggest any possible solution to avoid the rounding of the last digits.

  • Local Currency conversion program(Standard) - Manually starting  Fill phase

    Hi experts
    I am having a problem running the local currency conversion program.
    The Analyse phase  completed with 3 warnings but can not start the Fill phase automatically . How can we start it off from this stage to the next (fill) stage or what could be the source of the error.
    all suggestions will be appreciated

    Hi,
    Try using the FM  'CONVERT_TO_LOCAL_CURRENCY'.
    For testing purpose Go to se11 and see the values is TCURR table.
    For eg : If you want the exchange rate as M (which is Month Begin Exchnage rate), the date you are passing to the FM should always Begin of the month.
    FORM calculate_currency
    USING
    lv_date LIKE wa_data-fldate "date is needed as on current date should be set exchange rate (be carefull with type i left my original)
    lv_foreign_amount LIKE lv_totalprice "number
    lv_foreign_currency LIKE wa_data-currency "currency identificator
    lv_local_currency TYPE c "currency identificator
    CHANGING
    lv_local_amount TYPE p. "number
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
    EXPORTING
    CLIENT = SY-MANDT
    date = lv_date
    foreign_amount = lv_foreign_amount
    foreign_currency = lv_foreign_currency
    local_currency = lv_local_currency
    RATE = 0
    TYPE_OF_RATE = 'M'
    READ_TCURR = 'X'
    IMPORTING
    EXCHANGE_RATE =
    FOREIGN_FACTOR =
    local_amount = gv_local_amount
    LOCAL_FACTOR =
    EXCHANGE_RATEX =
    FIXED_RATE =
    DERIVED_RATE_TYPE =
    EXCEPTIONS
    no_rate_found = 1
    overflow = 2
    no_factors_found = 3
    no_spread_found = 4
    derived_2_times = 5
    OTHERS = 6
    IF sy-subrc 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDFORM. "Calculate_currencytake a look on exceptions which you get after, it might be helpfull
    Please reward points if helpful.
    Regards
    rose

  • Currency Conversion Script

    Hi guys,
    I’m having performance problems with currency conversion script. Suddenly, the script is taking too long to run. I executed the script last night and today, he was still running. In my application i have about 50 currencies, but i’ve tested just with one and only with a few values to conversion. I deleted the scripts, the exchange rate table, and i create them again, refresh the database but the problem continues. If i am in a data form and run the BR to calculate currencies, everything works fine and he does the conversion with no problems.
    Anyone had the same/similar problem? How do you resolved it?
    All sugestions will be appreciated
    Cheers
    Edit: 11.1.2.1
    Edited by: user12218542 on 18/Jul/2012 12:08

    'Quick' is a relative term. Are you sure that nothing has changed between the time of your quick calc and this time? Did you try changing any cache settings? Maybe, defrag the database using 'restructure' or level 0 export + clear data + import.
    Did you check which part of the calculation takes long? You can do this by evaluating the application log to see which fix statement takes the longest and optimize the parts accordingly.
    As for me, I usually create one or 2 custom dimensions for currency depending on whether users will input in local or multiple currencies. Then, with UDA on entity or other dimension, you can copy data from local to 'USD' or other reporting currency. Once data is copied, currency conversion is simple multiply/divide.

  • Triangulation in currency Conversion

    Hi All,
    Ive been happily using the currency conversion function module in the key figure routine in the transformation for billing docs.
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
            DATE             = SOURCE_FIELDS-/BIC/SST_UP_DT
            FOREIGN_AMOUNT   = SOURCE_FIELDS-/BIC/SSUBTOTA3
            FOREIGN_CURRENCY = SOURCE_FIELDS-DOC_CURRCY
            LOCAL_CURRENCY   = SOURCE_FIELDS-LOC_CURRCY
            RATE             = EX_RATE
            TYPE_OF_RATE     = 'M'
            READ_TCURR       = ' '
          IMPORTING
            LOCAL_AMOUNT     = VALUE
    In our BW (7.0) system Exchange Rate Type M is maintained for all currencies to EUR only.
    I have a new ERP system connection for Far East where doc currency = HKD, MYR, PHP etc
    and Local currency = SGD
    Requirement to convert doc currency (various) -> local currency SGD
    Because our XC Rate Type M is only maintained to EUR it is not possible to do a direct doc curr -> loc curr conversion because the rates are not maintained to SGD.
    My only solution is to triangulate the conversion i.e.
    doc currency (e.g. HKD) -> EUR -> loc currency (SGD)
    Has anyone any ideas as to how I would go about doing this?
    I searched threads for info about triangulation but found nothing!
    Hope help comes soon....

    Hi Arun, thanks for message.
    You mean fo rme to run the currency convesrion FM twice?
    so run one: to convert to EUR
    *this is part (1) to EURO
        CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
            DATE             = SOURCE_FIELDS-/BIC/SBILL_DAT
            FOREIGN_AMOUNT   = SOURCE_FIELDS-/BIC/SSUBTOTA3
            FOREIGN_CURRENCY = SOURCE_FIELDS-DOC_CURRCY
            LOCAL_CURRENCY   = 'EUR'
            RATE             = EX_RATE
            TYPE_OF_RATE     = I_F_RATETYPE
          READ_TCURR       = ''
          IMPORTING
            LOCAL_AMOUNT     = RESULT
          EXCEPTIONS
            NO_RATE_FOUND    = 4.
    and then run two to convert to SGD
    CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
          EXPORTING
            DATE             = SOURCE_FIELDS-/BIC/SBILL_DAT
            FOREIGN_AMOUNT   = SOURCE_FIELDS-/BIC/SSUBTOTA3
            FOREIGN_CURRENCY = 'EUR'
            LOCAL_CURRENCY   = 'SGD'
            RATE             = EX_RATE
            TYPE_OF_RATE     = I_F_RATETYPE
          READ_TCURR       = ''
          IMPORTING
            LOCAL_AMOUNT     = RESULT
          EXCEPTIONS
            NO_RATE_FOUND    = 4.
    I will try this and see what happens

  • End routine for Currency conversion

    Hi,
    I have a requirement in which i have to convert sales and cost into three types of currency as GBP, INR and EUR in cube. i made 3 different fields for sales as well as for cost. But i am unable to write end routine for it.
    Can anyone please help me that how can i solve this problem.
    Roma

    Hi,
    In transformation itself you can do your currency conversion.
    http://help.sap.com/saphelp_nw70/helpdata/en/de/6372426f0f9041e10000000a1550b0/content.htm
    If you want to write a routine in to do conversion, you have to go for start routine instead of end routine.
    Thanks
    BVR

  • 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 Conversion  on Piticular date

    Dear All,
                   I have a requirement where in I have to convert the  Purchase Document Currency into USD on  PO Creation Date.
    I did the Currency Conversion in the BEX by creating a currency translation type using the tcode RSCUR. Following are the   settings I have Used for Conversion
    1. Exchange rate type  M
    2  target currency         USD.
    3 Time reference          Current Date.
    Problem is the values are not getting converted to USD on PO Creation date.
    Moreover I wanted the records whose values are more than 50,000 USD.
    Question.
    How to convert the currency from one to another on a Particular date.
    Date for each record is different from one another as stated above.
    Help me out in this case.
    Thank You All
    Regards
    Mahesh

    Dear Raj,
    Thank you for the reply.
    Iam using BI 7 and the tcode rrc1 is obselete in this version.
    So I went to the new tcode rscur and created the currency translation type with the settings below.
    1. Exchange rate type M
    2 Target currency USD.
    3 Time reference Current Date.
    Used this translation key in the Key figure properties for currency translation.
    I went to the source system and on context menu I transferred global settings.
    Do I need to maintain currency keys and exchange rates manually even after transferring global settings?
    I have set in the time reference the PO creation date
    as Special Info Object. Will this work?
    Please let me know.
    Regards,
    Mahesh

  • Help needed with Include ZXRSRU01 in relation with currency conversions

    I'm implementing how to paper: Use variable time references in currency conversions (BW 3.3). When implementing variable exit RSR00001 & write include ZXRSRU01 an issue pops up.
    The relevant code is:
    <i> DATA: l_s_var_range TYPE rrs0_s_var_range.
    IF i_s_rkb1d-infocube EQ 'RHCURCON'.
        IF i_step = '3'.
          LOOP AT i_t_var_range INTO l_s_var_range WHERE vnam EQ 'ZCURDAT'.
            ZCL_IM_CURRCONV=>currdate = l_s_var_range-low.
          ENDLOOP.
        ENDIF.
    ENDIF.</i>
    When implementing the following message pops up:
    "l_s_var_range" has already been declared.
    In another statement ' l_s_var_range ' is already used.
    Any advice how to deal with this issue?
    thanks in advance
    tom

    Hi,
      somebody already declared that workarea (l_s_var_range), so you can directly use that without any declaration (data l_s_var_range type rsr0_.....). you can remove that statement and you can work.
       Otherwise if you want to use to declare your own workarea,
      data ls_range (or any name) type rsr0_....
    DATA: l_s_var_range TYPE rrs0_s_var_range. *** this statement you can remove since somebody declared the same.
    ****or use ur own work area name and use that work area within your code.
    data ls_var_range type rrs0_s_var_range.
    IF i_s_rkb1d-infocube EQ 'RHCURCON'.
    IF i_step = '3'.
    LOOP AT i_t_var_range INTO ls_var_range WHERE vnam EQ 'ZCURDAT'.
    ZCL_IM_CURRCONV=>currdate = ls_var_range-low.
    ENDLOOP.
    ENDIF.
    ENDIF.
    rgrds,
    v.sen.
    Message was edited by:
            Senthilkumar Viswanathan
    Message was edited by:
            Senthilkumar Viswanathan

  • 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

  • Currency conversion error in SAP HANA

    Hi,
    I am new to SAP HANA and learning to create information views in HANA studio (SAP HANA SP6 on Cloudshare, HANA studio 1.0.68). I am trying to create a simple analytic view (on purchaseOrderItem table in SAP_HANA_EPM_DEMO sample database) to have GrossAmount converted to EUR.
    I added a calculated column as follows:
    When i click on "OK", i get error -
    The check box “Calculate before aggregation” has been unchecked, because the definition of the calculated column contains measures with currency conversion, restricted measures or operands with input parameters. For such a calculated column the calculation is always done after the aggregation."
    and checkbox "calculate before aggregation" get unchecked. See screenshot below:
    Please suggest what could be reason? Thanks in advance.
    Regards,
    Amit

    Hi Amit,
    If you uncheck the "Calculate before aggregation" checkbox and activate the view, you will see in the generated log that a Calc scenario is created. (a view with /olap wrapper). Due to the calc scenario, the aggregation is defined as the default behavior for the KFs and hence the calculation cannot be done before aggregation.
    By the way, I did not understand why do you need calculate before aggregation for a KF which is just a copy of another KF. If you need Gross amount in Local currency and EUR, then just perform the currency conversion without "Calculate before aggregation" checkbox. It will work.
    Regards,
    Ravi

  • Error during currency conversion and consistency check in a sales order

    Hi Experts,
    I am facing the below error in the sales order. The sales order is having so many items. The below error is coming for few items only. I have checked the currency exchange rates also. All are maintained properly.
    Please advice me how to fix this error or which class,methods are responsible for checking the above details while saving the order.
    Thanks,
    Sri

    Hi Christophe,
    FYI
    Error during currency conversion frm &1 to &2 (date &3, ref. curr. &4)
    Message Class - CRM_CUMULATED_I
    Message No     - 013
    Error during currency conversion for &1 and &2
    Message Class - CRM_CUMULATED_I
    Message No     - 008
    Consistency check: Logical key does not match
    Message Class - CRM_CUMULATED_I
    Message No     - 011
    Thanks,
    Sri

  • 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

Maybe you are looking for

  • Deletion in application table

    When I am trying to delete a row from application table , after selecting a row from table and clicking the 'X' icon in application table and the clicking on commit , I am getting "JBO-25019: Entity row with key oracle.jbo.Key[13000 1 ] is not found

  • CS3 Outline Stroke not working?

    Hi there, I am using Illustrator CS3 on my mac, and when I use the outline stroke command, no matter what brush i've used for the stroke, it makes right angles. so if i use a round brush and make a line, so it looks like a skinny rounded rectangle -

  • PSE 7 stopped working!

    I have been using PSE 7 for over a month (upgraded from PSE 5.) Everything has been OK, until today. I opened PSE7...I get the advertizing screen, I click on "organize" and NOTHING happens. It doesn't open my organizer....I tried all the other tabs,

  • How to define this SQL ?

    Hi all, I'm going to retrieve a field whose content contain date and time, i.e. 2005071300045678. I only want to retrive the date, i.e. the first 8 offsets. I've done something like: Select * from db where field1+0(8) = '20050713'. But the system can

  • Still not getting it

    I know this has been covered many times but I'm not getting it, perhaps if someone has posted a video that may help. Creating a simple budget sheet. Made 12 sheets for each month. Need to have a 13 sheet that adds up the total from the other sheets.