USD to LC currency conversion!!!

Hello, I am familiar with LC to Reporting currencies conversion. but my client has a requirement of USD to LC currency conversion, can someone give me an idea on how to do that with lookup?
Thanks.

Thanks YHseo, I have created  a code but I am new to this so have a few questions. please note that this is journal.lgf, and they are entering journals in USD only, Datasrc of miscadj and corpadj only.all the questions are commented out. Sorry I havent used your reverse idea, as I am new and want to keep it simple.
Thanks.
*XDIM_MEMBERSET RPTCURRENCY= USD     
*XDIM_MEMBERSET DATASRC = miscadj, corpadj     
//REST OF THE DIMENSIONS WILL BE  WHATEVER USER INPUTS IN THE JOURNALu2026HOW DO WE DO THAT
*LOOKUP RATE     
*DIM TIME=TIME        
//IS THE TIME=TIME NEEDED?
*DIM VARIABLE1:INPUTCURRENCY=COMPANY.CURRENCY     
*DIM VARIABLE2:RATE=ACCOUNT.RATETYPE     
*DIM CATEGORY=CATEGORY     
*DIM RATESRC="RATEINPUT"
*ENDLOOKUP     
//GAVE US THE VALUE OF 48 AS EXCHANGE RATE  - WHERE IS THIS STORED? I THINK %VALUE%, AM I CORRECT?
*WHEN ACCOUNT     
*IS      
//RUN FOR ALL RECORDS THAT WERE ENTERED IN JOURNAL, WILL THIS WHEN LOOP ACCOMPLISH THAT?
REC(EXPRESSION=%VALUE%LOOKUP, RPTCURRENCY=COMPANY.CURRENCY)     
//WHERE WILL THE REST OF VALUES FOR THIS RECORD COME FROM?
*ENDWHEN
*COMMIT
Edited by: Zack Thacker on May 20, 2011 6:45 PM
Edited by: Zack Thacker on May 20, 2011 6:50 PM

Similar Messages

  • USD to Document currency conversion

    I have a report that fetches all line item imbalances between a company and its trading partner in USD. I need to sum all imbalances and depending upon the selection criteria like imbalances over 10k/20k/30k, the respective line items need to be displayed in Document Currency. I am at the last step of getting all line items in USD and summing all imbalances between a company and its trading partner and now, the problem is how to get those line items in Document currency for whom the overall sum is over 10k/20k/30k USD?
    How can I convert the USD to Doc currency at the final step?
    Appreciate your answers,
    Thanks!

    Use this function module CONVERT_TO_LOCAL_CURRENCY
    vat do u mean by document currency?
    Regards
    - Gopi

  • Benefits Service - Error occurred during currency conversion from  to USD

    I am attempting to run the add beneficiaries service in employee self servie and receive the following error message "Error occurred during currency conversion from blank to USD
    Has anyone come across this error before?

    Both are set up properly.  This error only happens on some US teammate records.  It seems to occur after we do a refresh of our QA environment from our produciton environment

  • Currency conversion JPY to USD issue

    Hi Friends ,
    I am facing an issue while currency conversion from JPY to USD . I have defined currency conversion type in RSCUR , it is working fine for all other currencies except JPY . I have the exchange rate maintained in TCURR but still it shows exchange rate not maintained while running the query  . Could  you please tell what can be possible reasons for it .
    Thanks in Advance .

    Hi,
    Check the time reference based on which the currency conversion rate is maintained. Run function module READ_EXCHANGE_RATE by giving the date, JPY to USD and check if returns values.

  • Currency conversion issue in SPM. We are getting incorrect results with SPM conversion function from one of the document currency to USD.

    Currently we are using SPM 2.0 version and we have been facing currency conversion issues.
    Please help me in following aspects.
    1) Where actually currency conversion happens in SPM. Is it the global program which does the conversion or other way.
    2) We have conversion issue for one of the currency where conversion function is giving incorrect results when converting from one of the document currency to USD. here The respective document currency is considering the 1:1 ratio with Dollar which is actually incorrect.
    3) We have verified in both BI side(currency tables) and even ECC side.
    Please help me in understanding this issue and let me know if you need more information on this.
    Its an production issue and appreciated your immediate inputs.
    Thanks
    Kiran

    Hi Arun,
    The following information may be helpful to you.The SSA_HELPER_PROGRAM has options regarding currency settings.
    EXCH_RATE_TYPE: This flag governs the exchange rate type which will be used for currency conversion in data management. For example if RSXAADMIN contains an entry EXCH_RATE_TYPE = „ZSPM‟ then the conversion type used for currency conversion is ZSPM. The default value for the exchange rate type is „M‟. More details can be found in the note 1278988.
    CURRENCYCONVERSION: By default data management converts all the measures in transaction currency to reporting currency and copies over to the corresponding measure in reporting currency. If the measure in reporting currency is already available in source it might be desirable to disable the currency conversion. To disable the conversion you can make an entry CURRENCYCONVERSION = „ „ in the table RSXAADMIN. This can also be achieved by running the program SSA_HELPER_PROGRAM with the option DEACTIVATE_CURRENCYCONVERSION. The conversion can be reactivated by running the same program with option ACTIVATE_CURRENCYCONVERSION.
    UNITCONVERSION: Similar to above. To deactivate unit conversion you can use the program with option and DEACTIVATE_UNITCONVERSION and to reactivate ACTIVATE_UNITCONVERSION. By default both the conversions are switched on
    EXTERNAL_CURRENCIES: Normally most of the international currencies are stored with two decimal places however certain currencies do have 0 and 1 decimal place too. For example JPY has 0 decimal places. SAP internal format stores even these currencies with 2 decimal places and at the time of display it changes the value to right decimal places. In case a file from external source is loaded to SPM it might have the format with 0 decimal places in the file. To convert it to SAP standard format post processing needs to be done on this value. If that is the case you can set the flat EXTERNAL_CURRENCIES = „X‟ in the table which will enable the post processing for these values. This flag can also be set and reset using the helper program using the option TURNON_EXT_CURRENCY_FORMAT and TURNOFF_EXT_CURRENCY_FORMAT.
    Kind Regards,
    John Harris
    Senior Support Engineer, SAP Active Global Support

  • Currency Conversion in Expert Routine

    Hi
    We have written a expert routine for calculating some amount fields. Now these amount fields get local currency from the source. We need to change it to USD using a standard conversion type. This conversion type already exists. Now how can this be done in expert routine?
    Regards
    Merlin

    Hi Merlin,
    You could use Currency Translation with in BEx Query (It is available on conversion tab of the key figure properties) and use conversion type of USD on the key figure for Amout/Value
    regards
    Kulmohan

  • 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

  • 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 issue while creating PO from Shopping cart

    Hello Experts,
    I'm facing an issue in SRM during Limit purchase order creation from Limit shopping cart.
    Scenario:
    Shopping cart was created on 1st of June and Approved on 20th June & Po was created on the same day. But the currency conversion is no ware matching and couldn't able to trace out the same. I have tried several times to replicate the issue it never done in test environments.
    But the PO is creating with refer to Vendor currency. For example if SC was created in USD and vendor order currency in EUR then PO is created in EUR.
    the relevant notes were already updated in the system and it is working fine when the SC is created and approved on the same day.
    Please give me some idea how to fix this issue.
    Is there any way to make SC currency is priority than Vendor Order Currency while creating PO?
    Regards
    Pratap J

    Hello,
    Read information available in KBA 1862453.
    It mentions this issue.
    Regards,
    Ricardo

  • Problem about currency conversion

    HI,
    I have added one field KWERT from KONV to copa data source.Then value is coming in USD.
    I want currency conversion means i want value into EUR and INR .
    SO please tell me how to write code for currency conversion?
    Thanks
    Regards
    Devesh Babu

    Hi,
    Create Currency Translation Type
    T-code for Creating Currency Translation Type in BI 7.0  is  RSCUR.
    Select Source and Target Currency.
    Give Time Reference.
    For the Currency translation to take place in the Business Explorer you must have already created a currency translation type.
    Currency Translation in Business explorer can be done in two ways:
       Currency translation in query definition.
       Currency translation in the executed query.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2056ef93-2004-2d10-21ae-f973bb48d7a1?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0d5bf96-b19b-2c10-e3b6-e2f12a3de99a?QuickLink=index&overridelayout=true u2013 currency concersion
    Regards,
    rvc

  • Currency Conversion type not visible in the query

    Hi ,
    I created one currency type conversion   Z_INR
    exchange rate type : M
    Exchange rate from infoobject : zexch_rate(key fig)
    source curr from data record
    Fixed target curr : INR
    Variable time reference  : A to Exact Day
    Special info object : Ztr_date (Transaction date)
    it got saved succesfully but wen i try to include  this in the query its not visible there . can anyone let me know why this problem is coming
    help will be appreciated .
    i also included rate and date in the query still not visible

    Hi,
    Create Currency conversion type using Trans: RRC1.
    1.Specify your Exchange rate type.                     
    2.Dynamic Exchange rate type
    3.Source curency from data rec.
    4.Fixed currency say USD.
    5.Select Variable Time reference "Start Month" and Special Info Object - 0calmonth
    Secondly In the key figure field to be converted in the query,   select properties - select the currency conversion key name .
    Thanks,
    Nagesh
    Sony Singapore

  • Currency Conversion Issue

    HI experts,
    i have an issue with my currency report,
    where user want see the sales volume data converting from CAD to US $.
    when i checked the query the conversion type is Avg rate M source to CAD and the Target currency is CAD only.
    but when he execute the report he want to see the volume data in USD $.
    and when i execute the report i can see below error.
    Could not find any data to display. This might be due to the current selection of variable or filter values.
    can some please help me out this issue.
    thanks
    Raj

    Hi venu
    thanks for the post,
    there's no selection criteria being used by the user, has web link, once he click on link, he directly checking the report.
    so there's no section screen available.
    and there's no variable created for the  currency conversion type .
    here my requirement is to display currency in USD $ from CAD $.
    target currency maintained as CAD in RSCUR tcode.
    how would i do this,
    and again the same report is being used by CAD user also, so view shouldn't be change for the both users.
    what im thinking is
    is there any possibility to create variable on currency to select the required currency dynamically by user in selection screen
    please let us know possible solutions like without changing the view for CAD users
    please let me know for more info
    regards
    raj

  • 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 issue for YTD model

    Hello,
    Currently our Client is using YTD (year to date) model to maintain data into BPC 7.5NW, and planning to use BPC for currency conversion from LC to USD. They are not converting the values in Transactional system. When performing this all Balance sheet accounts will be using YTD model for conversion, but income statement accounts should be using Periodic values for conversion.
    We have two different Entity FX types: one is USDFNC - USD functional and NUSDFNC - Non USD functional. One of the differences between these two FX types is CTA account, USDFNC is using expense Account to Book CTA and NUSDFNC is using Equity Account to book CTA.
    To achieve the above mentioned requirement, I did configure BPC as follows:
    1) Use RATE type AVG (average for Income statement accounts)
    2) Use RATE type END (spot rate for Balance sheet Accounts)
    3) In business rules for Account rate type AVG- formula would be [AVG], apply to periodic flag will be checked.
    5) in business rules for Account Rate Type END - Formula would be [END], apply to periodic flag will be blank.
    6) To calculate CTA for ENTITY FX type- NUSDFNC, I configured the following in Account Rate type AVG - destination account is equity account, Formula is [END]-[AVG], apply to periodic flag will be blank and Entity FX type is NUSDFNC.
    7) To calculate CTA for ENTITY FX type- USDFNC, I configured the following in Account Rate type AVG - destination account is expense account, Formula is [END]-[AVG], apply to periodic flag will be blank and Entity FX type is USDFNC.
    Above configuration is giving me correct converted result for all Balance sheet accounts and income statement accounts are showing the correct values when I use the formula (current period LC amount-previous period LC amount)*(current period AVG rate). But I saw difference in Balance sheet, so further analyzed CTA (currency Translation Accounts) and found that the difference is because of CTA amount only. Similar CTA differences exist for both USDFNC entities and NUSDFNC entities. So, I think my logic to calculate CTA is not working.
    I am using the standard script logic to run Currency Conversion:
    *RUN_PROGRAM CURR_CONVERSION
         CATEGORY  = %CATEGORY_SET% 
         TID_RA = %TIME_SET%
         CURRENCY = %RPTCURRENCY_SET%
         RATEENTITY = GLOBAL
    *ENDRUN_PROGRAM
    *COMMIT
    Can any one help me to understand whether this configuration is correct? I feel that I may need to change the logic for calculating CTA. But not sure about what and where
    Edited by: amarnathputta on Nov 24, 2011 5:36 AM

    Thank you Ethan,
    Let me try to explain this with few dollar amounts:
    Let us consider that I have data for 1st month (Jan) of the year 2011,
    Net income for Jan. 2011 in LC = 59916152.19
    Net income for Jan. 2011 in USD calculated using Average rate is  = $ 9,223,013.14
    CTA for the same month is  (net income in LC X spot rate) - net income in USD at average rate =((59916152.19)*(0.154617))-9223013.14 = 41,042.564
    This value is correct.
    For the month of Feb 2011:
    Net income for Feb.2011in LC = 60415519.01
    Net income for Feb.2011 in USD at average rate (with periodic flag on) = 9,300,112.38 ( I calculated this value manually and it is correct after conversion)
    calculated CTA for the same month is (60415519.01*0.154083)-9300112.38 = 8,892.035.
    But actually BPC calculated CTA is 18,547.56 (I felt that this may be because I am not using the Flag apply periodic value while calculating CTA and when I flagged that, BPC is giving me a very big difference in CTA)
    My balance sheet is exactly off with the difference in CTA.
    Hope this helps you to understand my problem.
    Edited by: amarnathputta on Nov 25, 2011 2:43 PM

Maybe you are looking for

  • Photoshop CS2 + Nikon: Can´t open pictures anymore

    After ugrading my system i can not view an open NEF (Nikon) Files anymore. Even after downloading the Adobe plugin and installing it, there is not photo opened by photoshop. It complains something about wrong version of the plugin and photoshop. rega

  • The application has encountered a problem and needs to close

    I'm building an application on LV using TABs, FPGA DLLs and DLLs that comunicate with CAN, GPIB and PCI devices. The program apears to work properly but sometimes, and I can't see the patern, it crashes with the error "the application has encountered

  • Changing Buffer Size - Logic Tweaks Out

    I find that I'm unable to change the buffer size (for instance, after I record and want to play back without any glitches) without having to quit Logic and reload the file. I usually get a message that "some plug-ins have been disabled." Everything i

  • Can u please send me a sample code to upload and download a file using java

    Hi, Please can u send me a sample code to upload a file and to download the same file from a remote server using a java servlets. The file should be read byte by byte. Message was edited by: user461713

  • Sub-Mdules Combination

    Gurus,     I wanted to circulate my resume in the market as a SAP HR Consultant. And I am really confused, as I want to know what combination of sub-modules are advised to put in the resume for the resume to have good demand throughout the year. All