Currency conversions on screens for HUF, JPY...

Hi,
I have noticed that when I use 2 fields for currencies that are defined with types NETWR (domain WERT8) and WAERS (domain WAERS) and properly linked on screen (referenced with DD) that conversion is not working properly. For example:
REPORT  zr_huf_test.
TABLES bkpf.
PARAMETERS:  p_waers LIKE bkpf-waers,
             p_wrbtr LIKE bseg-wrbtr.
PARAMETERS:  p_waers1 TYPE waers,
             p_wrbtr1 TYPE netwr.
INITIALIZATION.
  bkpf-waers = p_waers = p_waers1 = 'HUF'.
AT SELECTION-SCREEN OUTPUT.
  bkpf-waers = p_waers.
START-OF-SELECTION.
  WRITE: p_wrbtr,
         / p_wrbtr CURRENCY p_waers.
  SKIP 2.
  WRITE: p_wrbtr1,
       / p_wrbtr1 CURRENCY p_waers1.
As you may know, some currencies in SAP do not have decimal places (HUF, JPY...). This is happening for this currencies. Why, is the problem in WERT8 with sign or what? Also what is strange and I can not explain myself, my program in selects value from DB, i.e. 1,00 HUF. As HUF doesn't have decimal places, on screen it is displayed as 100 HUF, which is just fine.
But if I press ENTER, program goes to PAI module and variable that I use on screen contains 100,00HUF, which is completly WRONG and guess what, after each ENTER value is multiplied by 100?! What is the reason of that behavior?
kr
mario

SAP should be doing it ...
Check the BAPI: BAPI_CURRENCY_CONV_TO_EXTERNAL
BAPI_CURRENCY_GETDECIMALS >>> Gives you the decimal places of Currency

Similar Messages

  • Currency conversion - selection screen

    Hi All,
    I am using currency conversion in my report. My requirement is to accept the target currency from user. In my scenario everything is working fine but users are not getting currencies in their selection screen. But if they manually type some currencies in the selection screen he will get report in the required currency. I want to give the users that selection screen with all the currencies. I have maintained most of the currency tables. Is there any specific setting which needs to be done to solve this issue?
    Regards
    Githen

    Check the blog.
    There are lots of links in the wordings click on them for info on it
    especailly
    https://websmp106.sap-ag.de/~sapdownload/011000358700005669792003E/How_to_VarCC_v3.pdf
    Source : Currency Currency Currency...
    Hope this helps.

  • Currency conversion not working for foreign entity

    I am having an issue with currency conversion not generating the correct values for foreign entities. For entities where the currency is USD, I am able to see the LC amount being written to USD. However, for entites that have currencies other than USD, I just see zeros. I have double-checked to make sure that rates exist for the given currencies. Below is the logic script I am using which is a modificatio nof the multicurrency.lgl. Any help would be greatly appreciated.
    // filter the appropriate currencies and rates
    *SELECT(%REPORTING_CURRENCIES%, "[ID]", "RptCurrency", "[REPORTING] = 'Y'")
    *SELECT(%FX_RATES%,"[ID]","RATE","[GROUP]='FX RATE'")
    // set the appropriate region to clear
    //(all reporting currencies)
    *CLEAR_DESTINATION
    *DESTINATION RPTCURRENCY=%REPORTING_CURRENCIES%
    // load the rates from the RATE cube
    *LOOKUP RATE
    *DIM RATESRC="RATECALC"
    *DIM Rate=ARFIELD.RATETYPE
    *DIM SOURCECURR: INPUTCURRENCY=LOC_MILLOTH.CURRENCY
    *FOR %CURR%=%REPORTING_CURRENCIES%
    *DIM %CURR%:INPUTCURRENCY="%CURR%"
    *NEXT
    *ENDLOOKUP
    // define the translation rule
    *WHEN ARFIELD.RATETYPE
    *IS "NOTRANS"
    // translate
    *IS %FX_RATES%
           *FOR %CURR%=%REPORTING_CURRENCIES%
               *REC(FACTOR=LOOKUP(SOURCECURR)/LOOKUP(%CURR%),RptCurrency="%CURR%")
           *NEXT
    *ELSE
           *FOR %CURR%=%REPORTING_CURRENCIES%
               *REC(RptCurrency="%CURR%")
           *NEXT
    *ENDWHEN
    *FOR %CURR%=%REPORTING_CURRENCIES%
             [RptCurrency].[#%CURR%]=null
    *NEXT
    *COMMIT
    Regards,
    Karen

    Hi Karen,
    I'm no script logic expert so I won't comment on your code. If it's working for USD then the code is probably fine.
    There are a few other things you could check (these are based on investigation using the standard multicurrency script). They should line up with the standard Finance application from AppSet
    In the InputCurrency dimension for the currencies you want to convert into :
       Check property Reporting is equal to "Y"
       Check property Group is set to "Report"
       Check propoerty MD has a value of "M" or "D"
    In the RptCurrency dimension you need to have entries for the the currencies you want to convert into (AppSet only has USD and EUR to start). Also for each of the currencies :
       Check property Reporting is equal to "Y"
       Check property Group is equal to "Report"
       Check property Transfer is equal to "Y"
    I'm not convinced that the Transfer value is required but from my testing if you get the above set up and use the standard multicurrency script it will work.
    The testing I did was translating into USD, EUR, GBP, CHF, AUD etc
    Hope this helps.
    Thanks.
    Bradley Newcombe.
    Edited by: Bradley Newcombe on Apr 28, 2009 1:30 PM

  • Currency Conversion - update rules for average rate

    I am working in BI 7.0
    I have a currency conversion I have defined with RSCUR with the exchange rate type 'M' defined in SPRO -> General Settings -> Currencies -> Exchange Rate Types.  The currency conversion takes place in my update rules.  I've set my 'Time Reference' to 'End of Period'.
    I want the conversion to be an average of all rates for the fiscal period.  If I check my table using 'OB08', I find my conversion is only using the rate for the last day of the Fiscal Period.  It is not averaging all the rates.
    My question is this.  Can I actually average all the rates for the fiscal period using RSCUR?  Do I need to have the people on the R/3 side have the rates be averages?  Meaning, the rates they update are not currency rates for that specific day but a running average for the month?
    What are the best practices for average rates for currency translations for update rules based on a Fiscal Period?
    Edited by: Michael Pepper on Mar 3, 2008 8:37 AM

    Hi MIchel,
                   If you  want the conversion to be an average of all rates for the fiscal period.
    Check under the cloumn ExRt
    you may find some row as description as "Average exchange rate"
    Create  Currency Conversion type with that exrt type.
    use this Currency Conversion type in u'r query for u'r keyfigure.
    hope this will be helpfull...........for this you can contact Fi people.
    Regards,
    Vijay.

  • Currency conversion reference field for WERTV15_3

    Hi,
       I have one field cost of CURR 15 and 3 decimals, which is having domain as WERTV15_3.
      When I create an entry in the table I can see the value as 50,000, but when I double click the record to see the details it is showing as 500,00.  It is taking only 2 decimals.  Actually in detailed screen also I should see the value as 50,000.
      Please let me know how to solve my issue.
    regards
    Jaya

    Hi,
    This happens due to the user settings that u have specified.
    Go to system->user profile-> own data and make the desired changes.
    If u are displaying this field then write this value to a charector field and display instead of using currency field.
    Hope this helps.
    Regards,
    Jithin

  • Currency conversion display in the report

    Hi,
    I've a report which displays Vendor Name, sold to party, Sold-To-Party No, Bstnk, Buyer No,Distribution Channel, Division, LI/PO Number, Sales Order,Order Description,audat,vdatu,vbeln,aemenge,aewavwr, kwert, aenetwr, stwae, etc fields in output for a given range of dates. mostly these fields r taken frm S902 n VBAK.
    At the bottom of this report i need to keep a currency conversion display as for sy-datum.
    Ex: FROM --> TO     EXCHANGE RATE/CONVERSION FACTOR        DATE
          CAD --> USD      0.95776                     1:1                                 20.02.2009
          EUR --> USD      1.44484                     1:1                                 20.02.2009
          JPY -->  USD      95.88647                10,000:1                            20.02.2009.
    for this purpose earlier they used function-pool RSAQEXCE in other program.
    i exactly dont know wther this one is std program r query. in this they used func mod "convert_to_local_currency" also.
    please let me know how sh i pass my output internal table to get desired output like this.
    Please respond qk.

    Hi Raja,
    Please note reply from Hari.
    Note: Most of the currency conversion FMS won't work if u try to run in SE37
    But the same FMs works when u execute from program. Please try to use these FMs for conversion.
    U just have to pass source amount, source and target currencies and date.
    Thanks,
    Vinod.

  • Currency conversion type by customer exit variable doesn't work

    Hi all.
    In my query I need amounts by quarter, applying quarters last date rates as currency conversion.
    Query has Year parameter. Based on this parameter, by customer exits I calculate every quarters last date and use them as currency conversion types.
    The problem is that query DOESN'T APPLY currency conversions!
    I checked TCURR table - currency conversions do exist for applied days
    I checked my customer exits - the date calculation works fine
    I suppose where is something wrong in query processes (customer exits/currency conversions) sequence before running it.
    Someone knows anything 'bout that?

    Check these docs.. and check again.
    [Creating Currency Translation Types|http://help.sap.com/saphelp_nw04/helpdata/en/80/1a6813e07211d2acb80000e829fbfe/content.htm]
    [Use Variables for Currency Conversion|http://www.scribd.com/doc/7061035/How-to-Use-Variables-for-Currency-Conversion]

  • Currency Conversion problem in query designer

    Hi,
    A requirement has come that infoobject which contain multiple currency type, need to convert into a single currency type in Bex reporting as user want to see only one currency value in report.
    There are three keyfigures refering different calenders for conversion. For examle . GR amount is based on GR date, IR amount is based on IR date and PO amount is based on Doc date. Query is build based on a infoset.
    I am doing following steps to achieve the task::
    1. In TCODE - RSCUR, created three Currency Conversion Type each for GR, IR and PO and each one refering different 0calday calender
    2. Defined exchange Rate Type as "M"
    3. Currency Tab -> Source Currency = "Source Currency from data Record"
        Target Currency -> Fixed Target Currency = "USD"
    4. Time Ref. Tab -> Fixed Time ref. = "Current Date"
        Variable time reference = "To the exact day"
        Special InfoObject = <InfoObject name>
    5. In query designer, Key figure property for GR amount -> Conversion -> Conversion type = <Name of Currency Conversion Type which defined in RSCUR>
    6. Repeated the same for IR Amount and PO Amount key figure
    While saving, getting following error::
    *Cannot apply Currency translation type <Currency type name> in Infocube <Infoset name>. *
    Diagnosis
    You tried to translate a query element with the currency translation type <Currency type name>. The translation type <Currency type name>, however, has variable time reference or variable target currency relevant to characteristic Document Date. Characteristic Document Date is also not available in InfoProvider <Infoset name> and it references either none or more than one characteristic () of the InfoProvider for Document Date, or Document Date is not a base characteristic.
    System Response
    Procedure
    Adjust the query definition or create a special currency translation type for one of the characteristics .
    Please help!
    Please note that there are three key figures which need conversion using different calenders.
    Sanjiv

    Hello,
    I have done the same what you said, but same error still showing.... 
    I also tried to change from "Special InfoObject" to Infoset level and it works with one KF. Since all three KF are under one Infoset and there is limitation that if Currency Conversion Type is defined on Infoset level then only one KF will be assigned for a Infoset where as I am using three KFs with three relevant time characteristic.
    Any suggesion from others?
    Sanjiv

  • OBIEE currency conversion

    Hi,
    I have something i don't really understand in OBIEE 10g,
    I have done a full financial ETL load, I went to see my values in predefined financial dasboard , but all my values are in dollars $
    for example if locally i have 7200 in the dashdoard i have approximatively 13,926.
    this value (7200) is the same in the datawarehouse , it is only in the dashboard that it is different?
    My question is how can i change this or convert this to my local value ? Like after an ETL load i still have 7200 in the datawarehouse and in the dashboard !!!
    Also how this convertion to dollar $ occur ? where this calculation is made ? Where can i change those rate in a flexible way ?
    i have made some changes in the DAC $$GLOBAL_CURR_CODE and $$GLOBAL_RATE_TYPE but the result still in dollar $
    Pls suggest.
    Thanks in advance
    Jo.

    Well, Then this is DAC configuration issue..
    Can you make sure you have same value in all these parameters: i.e. "Corporate"
    $$GLOBAL1_RATE_TYPE
    $$GLOBAL2_RATE_TYPE
    $$GLOBAL3_RATE_TYPE
    $$DEFAULT_LOC_RATE_TYPE (the conversion rate type for document currency to local currency conversion).
    Also, for
    $$GLOBAL1_CURR_CODE (for the document currency).
    $$GLOBAL2_CURR_CODE (for the local currency).
    $$GLOBAL3_CURR_CODE (for the global currency).
    The above parameters are overwritten to 'USD' code if you have made use of same OOTB subject areas...Create a new customized Subject Area and give your Currency Code value with rate as 1.
    http://download.oracle.com/docs/cd/E12104_01/books/AnyInstAdm/AnyInstAdmWinInstall45.html
    Hope this is useful

  • Currency Conversion using RATEENTITY

    Hi,
    We have the following requirement at our Client:
    Entities in the same country uses different Exchange rates, example : 2001 " Mexico" and 2002 " Mexico" uses two different exchange rates.
    To achieve the above requirement I configured NW BPC 7.5 with patch level 9 to use RATEENTITIES.
    Example
    There will be two rate entities like
    1) Global - being used for Company Code 2001
    2) P_2002 - being used for Company code 2002.
    So I maintained different rates for Mexican Pesos in Global and P_2002  RATEENTITIES.
    In ENTITY master we maintained a property - RATEENTITY and maintained the values as GLOBAL for entity 2001 and P_2002 for entity 2002.
    I used the following Script Logic:
    XDIM_FILTER ENTITY = ENTITY.PROPERTIES(u201CRATEENTITYu201D) = u201CP_2002u201D
    *RUN_PROGRAM CURR_CONVERSION
         CATEGORY  = %CATEGORY_SET% 
         TID_RA = %TIME_SET%
         CURRENCY = %RPTCURRENCY_SET%
         ENTITY = %ENTITY_SET%
         RATEENTITY = P_2002
    *ENDRUN_PROGRAM
    *COMMIT 
    So even after using this setup, BPC is converting values for both ENTITIES (2001 and 2002) using rate from RATEENTITY P_2002.
    I also tried to run Currency Conversion by hard coding company code by enter ENTITY = 2002 and that did not work either.
    Is there a way to achieve this requirement.

    Hi,
    Whatever you define in the RUN_PROGRAM it will use as parameters to convert LC to GC, so your script logic set up like this will exchange all entities using the RATEENTITY P_2002.
    First thing you should do is the RATEENTITIES should be valid members of your ENTITY dimension. So if your entity is 2002, there should be a member of the RATEENTITY dimension called 2002, not P_2002. You should then remove the RATEENTITY=P_2002 parameter from the RUN_PROGRAM completely (if it doesn't run without the parameter, try putting it back with GLOBAL as the value).
    With both of these things done, when currency conversion is called for a particular entity it will look for a corresponding entry in the RATE application against the same entity, otherwise it will use what is stored in GLOBAL.
    Let me know if that solves your problem.
    Tom.

  • Stale currency conversions (Stocks application)

    Using the Stocks application (which is Yahoo! Finance), it's possible to view currency conversion rates. For example, entering "USDAUD=X" as a ticker symbol will convert US dollars to Australian dollars. (Find other symbols at finance.yahoo.com.)
    However, the conversion charts are only valid for the 1-week view. If I select, say, the 3-month or 2-year view, the values are stale (the most recent few weeks or months are not shown). If you test this, be sure to select various time scales and then go back to each.
    I do not have this issue when viewing stocks, e.g., AAPL.
    Am I the only person having this trouble, or is there a way to correct?

    I don't think you are using a feature that is supposed to be there.
    It is a stocks viewer not a currency viewer.
    If it happens to show the currencies then that is good luck rather than planning.

  • Sorting Currency conversion Variables in Query Selection screen

    Hi Experts,
    I have an issue in sorting variables.
    A Currency translation is used here which has two selection options here, one for "Currency" and one for "Currency conversion date". They just pop in somewhere in the selection screen with out order. I want to put them together either in the middle or at the bottom.
    They are not visible in the Variable sequence tab of query properties.
    I changed the text for each of them (Ex. "XCurrency"), so that it sorts alphabetically, but no difference.
    Had anybody come accross this issue before.
    regards
    G Rai

    Hi,
    This seems strange that the variable does not show in the query properties. One thing I can suggest it to try changing the technical name/desciption of the variable if that changes the order.
    Please update back the thread if that helps.

  • Currency conversion type with variable for target currency

    Hi,
    I use a currency conversion type with a bex variable for target currency in a query in order to convert a Key Figure. It works fine but instead of short text description there's the technical description of the variable in the selection screen. How can i change the description of the variable ?
    For information, in the bex, we can't see the variable in "variable sequence". I use BI 7.0
    François.

    Hi,
    The problem was that in the maintenance of the currency translation type the option  Target Currency from Variable” was checked. As a consequence in the properties of our key figure the drop-down-list Target Currency was set to  from variable” with no chance of changing it (it was grey).
    What we can do was to choose the option  Target Currency Selection with Translation” instead of  Target Currency from Variable”. Now, in the properties of the key figure we can choose the variable in the dropdown-list Target Currency and tick the option “Variable Entry”. As a result, the variable shows up in the query properties and we can change its arrangement.
    Regards,
    Siva Patil.

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

  • 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

Maybe you are looking for

  • Getting Error while Creating Sitemap using SitemapGenerator 2.1.1

    Hi, I have configured the sitemap generation for CRS Data by referring Endeca Sitemap Generator Developer's Guide Version 2.1.1.So, I am facing following issue mentioned below, [INFO: No navigation links (defined in the NAVIGATION_PAGE_SPEC_LIST para

  • Error during dialog instance installation on Win2K3

    The error occurs when sapinst checks existing installations in the system. There is a Java ADS instance running on the same host Tried to stop,and disable the services of the existing instance (ADS) but sapinst keeps aborting. The installation user h

  • Am I able to upgrade the powersupply and GPU on a Pavilion 500-424

    I have a Pavilion 500-424 and I would like to upgrade my GPU. This pc only has a 65 watt power supply and I am wondering if this and the GPU are upgradeable.

  • Select single and select

    hi everybody what is the exact difference between select single vbeln  and select vbeln In what situations i should use these select single vbeln or select vbeln regards hridhayanjili.

  • Can I use OLE in WebDynpro 4 Abap??

    I got a complicate request that need to read from an EXCEL template and edit the EXCEL. the Excel file can only be a normal .XLS file with macro in it,so XML don't work here. I try to use an OLE object to operate the excel in WD Application but an er