Tx code OY04 (decimals for currencies)

Hi All,
I am not clear about this tx code.OY04
Do we enter all currencies and mention the decimal places for them?
OR
Do we enter only those currencies which have decimal places other than 2?
If i  see a currency in this tx code which has a value zero to it, then does it mean it has 2 decimal places or zero decimal places
Any help appreciated
Thanks,
Prashanth

Hi,
the table TCURX must be already correct.
The last time we  change it, it's when some currency disappears for EUR.
The problem with currency, SAP save the field like if they have decimals. For example JPY, there is no decimals. You would like to save 100, SAP will save 1,00.  And when they have to write this amount, they read the table TCURX and they know the amount must be x100.
To make it more simple, use the statement WRITE .... (INTO ...) CURRENCY my_curr  if you play with currency with decimals <> 2
regards
Fred

Similar Messages

  • Decimal Places for Currencies

    Impact on the processes of change at MM decimals for Currencies.
    We want to use foreign currency to 6 decimals anand two decimal places for the currency of society

    Dear José Luis Flores ,
    Please always make sure your business process not reach the limitation of overflow during
    the conversion as the Price it is always with 11 characters with 2 Decimal place (9,2) in standard.
    All together 13 characters.
    If this limitation was reached, you will received the dump message. This is normal and you had to
    make sure it suits your business requirement in the beginning to avoid any changes later . You
    had to plan it before do this type of customizing in very beginning.
    Thanks
    Ian

  • Code at DTP for blan curriencies

    Hi
    i am getting some source curriencies , i chnaged to target currency to usd, some of records showing blank , when i run dtp its showing error no source currency is there. bec of some blank records i am facing this.
    how can i write abap code at dtp for currency key using function module.
    ple give ur idea

    Hi,
    Goto error stack ( in dtp monitor) and you can see the erraneous records. For the records having blank source currency, you can change the values to zero and save the error stack and run the error dtp.
    Regards,
    Krishna.

  • How do I do use the custom code and format for a percentage with 2 decimals in Report Builder 3.0?

    In Report Builder 3.0, I have the following custom code entered:
      Public Function SafeDivide(Numerator as String, Denominator as String) as String
    Try
    If Numerator = “” or Denominator = “” then
    Return “-“
    End if
    If Numerator = “-“ or Denominator = “-“ then
    Return “-“
    End If
    If CDbl(Numerator) =0 or CDbl(Denominator) = 0 then
    Return “-“
    End if
    If IsNothing(Numerator) or IsNothing(Denominator) then
    Return "-"
    End if
    Return Val( ( (CDbl(Numerator) / CDbl(Denominator) )*100 ) )
    Catch
    Return "-"
    End Try
    End Function
    I call the custom code in the cell with the following equation:
      =Code.SafeDivide(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value),sum(Fields!LY_UNITS.Value))
    I have the format for the cell set to 0.00%, but it’s not being followed.
    I want the result to be formatted as a Percentage, but instead I get values like: 
    -78.9473684210
    80
    300
    -100
    I have the format for the cell set to 0.00%, but it’s not being followed.
    How do I do use the custom code and format for a percentage with 2 decimals?

    Hi AngP,
    After testing the issue in my local environment, I can reproduce it. Based on my research, I find this issue is caused by the type of Units_VAR_Percentage cell is string, while the type of CDbl(Parameters!Var_Threshold.Value) is double, so they cannot be
    compared.
    To fix this issue, we can add a hidden column (Textbox91) next to the Units_VAR_Percentage column, and type =(sum(Fields!TY_UNITS.Value)-sum(Fields!LY_UNITS.Value)) /sum(Fields!LY_UNITS.Value) as the expression. Then use the expression below to control the
    BackgroundColor:
    =iif(iif(reportitems!Units_VAR_Percentage.Value=CStr(format(reportitems!Textbox91.Value,"0.00%")),reportitems!Textbox91.Value,0)>CDbl(Parameters!Var_Threshold.Value),"Yellow","PaleTurquoise")
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Change Amount depending on number of decimals for a given currency

    Hi All,
    I have a requirement to change the amount field based on the number of decimals.
    I am using 'BAPI_CURRENCY_GETDECIMALS' to get the number of decimals for the given currency.
    I am having an amount field(say 3000.00), that needs to be changed.
    In our case, we have to change the amount field if the decimals are less or great than 2.
    Eg:
    Suppose, if no.of decimals is 2, then the same amount should be returned, i.e., 3000.00.
    If the number of decimals is 1, then the amount value should be multiplied by 10, that is 30000.0 should be returned. If the number of decimals is 0, then the amount value should be multiplied by 100, that is 300000 should be returned.
    If the number of decimals is 3, then the amount value should be divided by 10, that is 300.000 should be returned. If the number of decimals is 4, then the amount value should be divided by 100, that is 30.0000 should be returned and so on.
    Any pointers would be helpful..
    Thanks & Regards
    Gowthami

    Hi All,
    This logic works fine for multiplication. But checking conditions for decimals > 2 would involve many conditons.
    I think this can be achieved by two ways.
    First way is by concatenating number of zeros to 1 depending on decimals and either by dividing or multiplying the values by checking the condition.
    Second way is by shifting the decimal point either left or right depending on the decimals.
    Please help me in implementing the above.
    Thanks & Regards
    Gowthami

  • Looking for standard IDOCs for Currency Codes and Product Hierarchy

    Hi,
    Does anyone know what the standard outbound IDOCs there are for Currency codes and their descriptions and for the Product Hierarchy and their descriptions?
    Cheer

    Hi,
    I don't know about Product Hierarchy but if you want to send Currency codes
    I believe the easiest way would be to create an raport with a select statement that would invoke an ABAP Proxy to send those codes with descriptions
    Regards,
    michal

  • Changing Decimal Places for Currencies (Table V_TCURX)

    The instance is ECC 6.0
    We need to change the decimal places for a currency from 0 to 2 decimal places. Is there any impacts of doing that?
    Also need to add some currencies which are not in the table. Is there anything need to be careful while doing this. If this table is updated, do we need to update any other tables also which may be impacted?

    Hi,
    It is not recommended that when postings have already been made, that a change in the currency be done, as amounts posted can become invalid or incorrect as a result (ie USD 100->1.00), which is most critical in production environment Please go through the note 137626 When you made changes via OY04, the effect of which is across all clients.
    To change the number of decimal places for a currency already in use, you must convert all the tables in the R/3 System that contain currency fields, so that the data integrity remains. This cannot, however, for both organizational reasons and under the runtime aspect, in a productive system.
    You must never change decimal places in a productive system if you have documents posted with this currency. Such a change could lead to inconsistencies in these documents already posted.
    In case you really decide to use decimals you may consider to use SAP conversion services for them to convert all documents aready posted as explained in note 434349.
    Additional inforamtion:
    Note No.  137626 - FAQ: Decimal places for currency codes
                     126857 - Display of amts with correct decimal places in SE16
                       53206 - Processing of currency fields
                         9574 - Currency fields on selection screens
    Regards
    Ravinagh Boni

  • Suppress Decimals for CURR field in ALV Grid based on condition

    Hello All,
    I am displaying records in ALV Grid. For a Company Code, I get the Currency Code from table T001.
    If the Currency is JPY, I want to display the value of CURR field without decimals.
    For example: if the value is 200.00, I want to display only 200
    But if the Currency is other than JPY, I want to display value with decimals.
    For example: if the value is 200.00, I want to display only 200.00
    Also I want the summation function to work on this column, so can't take the field as char field.
    Waiting for useful pointers.
    Thanks in advance,
    Regards,
    Tarun Gambhir

    Hi Keshav,
    Thanks for the reply.
    I have only one CompCode on the selection screen and for that CoCd I will have only one Currency.
    So either all records will be displayed with decimals or all records will be displayed without decimals.
    Can DECIMALS_OUT property of field catalog be helpful in this case.
    For reference you can check: http://help.sap.com/saphelp_erp2004/helpdata/en/ff/4649a6f17411d2b486006094192fe3/content.htm
    I am confused over the use of DECIMALS_OUT.
    Please suggest.
    Regards,
    Tarun

  • Decimals for PR00

    Hi,
    I want that that my condition rate of PR00 only to be of 4 decimals.
    Rest all should be 2 decimals i.e. the final net value should be in 2 decimals only PR00 in 4.
    How to do this
    Rgds

    Dear,
    Check with -
    T. Code: OY04
    Important: It would cause serious problems if you change in production system: All previously posted entries will also may get affected.
    Best Regards,
    Amit
    Note: For reference:
    Decimal Place
    Decimal places

  • Changing decimal places for currencies

    Hi everyone,
    I'm a complete begginer to SAP BI and I need to change a value in SPRO > General Settings > Currencies > Set Decimal Places for Currencies, but the option that I want doesn't exist.
    I need to add a new entry with the value: currency - EUR6 and decimals 6, but there is no 6 available. Can anyone tell me where can I add this or what is the table where this information is???
    Thanks in advance!
    Rogério Brá

    ok I think it works - just try and play
    This is what I did (sort of same scenario - if you get my drift)
    Currency Key MGF - translation ratio 1000:1
    Exchange rate is : 11:02750 to the Euro
    Invoice entered for 1,000,000.00
    Currency calculated as 90.68 eur
    (ie 1,000,000/(11.02750 * 1000))
    You can play aroudn with direct/indirect to ge the factors right
    But it works (I thought it did - I am qualified FICO honest!!)
    This wont get you around displaying 6 decimals - BUT it will help with currency conversion

  • Question about decimal places for currencies

    hi ,experts ,
       here is the problem , when i use mb5s, i found the net price has been enlarged 1000 times . I  also found the data of the table EKPO has been enlarged 1000 times. So ,i check the decimal places for currencies , i found there are five decimal places , the standard system is two decimal places . 
       Does this mean that we cann't  change the decimal places in SAP?  If we can change , what should we do for configuration ? 
    Jarod

    When running OY04, you are receivingin the following message:
    Before you continue, please read the following        
    text carefully.                                       
    If you do not heed this note, you can cause
    irreparable damage to the system with this            
    transacton.                                           
    In the R/3 System tables currency fields are          
    stored as decimal figures with a variable number      
    of decimal places. The decimal point is not           
    stored in the field in the database. Instead,         
    each currency field refers to a currency key          
    field. In this transaction you assign the number      
    of decimal places to this currency key uniquely.      
    Example: If you have set currency USD to have         
    two decimal places and you post an amount of 100      
    USD, an amount of 10000 USD is stored in the          
    Do you want to change the decimal places despite      
    all recommendations?

  • BADI for Currency

    Hi All,
    We are working on standalone scenario and PO have to pick currency based on company code the standard as of now is the currency gets selected from the vendor master data.
    Please let us know if there is any BADI for currency?
    Thanks,
    Ravi Varma

    Hi Atul,
    We are working on a standalone scenario SRM 4.0 and we have central purchasing organization for our two company codes(USD & INR). Our direct purchase order is created with the currency INR but if we confirm the INR gets overwritten as USD and it is in display mode.
    We tried to change this standard functionality thru. the BADI and thought it will be a simple task. But,
    the above mentioned BADI
    BBP_DOC_CHANGE_BADI
    seems does not have a currency field in export parameters. Before this BADI triggers wrong currency is populated.
    Any suggestions or some more BADIs/Userexits to achieve our requirement for the above mentioned scenario.
    As per our understanding the confirmation BBPCF02 gets details from the purchase order but if our abaper debugged and says it is coming from the vendor master. In purchase order it is manual entry, so only for confirmation why does the system picks the vendor master currency?
    Any thoughts suggestions pls.
    Best Regards,
    Sridhar.

  • Error Message for currency (0Currency) during activation of DSO

    Hi guys,
    data which is transfered from datasource to dso contains an value " * " for currency which is unknown for some key figures.
    During the activation of the data in DSO an error is appearing: No SID for value " * " of characteristic 0Currency found.
    Is there some solution for that error available?
    I checked the values for currency which are stored in 0Currency master data. There is one value for empty currency.
    I thought one solution is to remove the " * " currency in ERP, then the currency will not have the " * " value and no error would appear in BW.
    The other is to create a new InfoObject for currency and add the value " * " in master data. Then with the assignment of the new currency InfoObject also an error should not appear.
    Any ideas about that?
    Thank you in advance for answering!

    prashanthk wrote:
    > have you tried the below
    >
    > you may need to upload the currency 'master data'
    > Normally this is done via transfer global setting from r/3,
    > rsa1 - source system - r/3 right click 'transfer global setting',mark currency, unit converstion, etc and 'execute'
    >
    >
    > Have you checked for the values in TCUR table.
    > if values are not maintained in the TCUR and if you want to manually maintain the vlaues follow the below steps
    >
    > To manually enter the INR currency, go to SPRO -> SAP reference IMG -> General settings -> Currencies -> Check currency codes and click on new entries. You currency should follow the standard ISO format.
    >
    > NOTE:Please do this activity only if transferring the global settings from source system did not fix the issue
    I think this has nothing to do with TCURR because there is the currency conversion maintained. And for SPRO i don´t have authorization and I think that an currency with * would not make sense to enter it via SPRO as a currency code.

  • Table for currency

    Hi all
          Do we have any table for decimal currency.
    For example when the currency is in 'Rupees'then the decimal currency should be "Paise'.i need this one when i write a amount in words.
    For example for the amount Rs:235.65
    two hundred thirty five Rupees sixty five Paise.

    Hi Srinivas,
    I think what you should do is based on the vendor's company code or country code, pick up the currency and then using this currency you can use all the FM described by others. Both T001 an dT005 will have currency aginst them.
    Using this will give you the words to the last penny/paise depening on the CUKEY
    Hope this helps

  • Defining currency key for currency type

    Hi
    I have to define the currency group in the controlling area as 30 (Group Currency). There are three company codes which have to be assigned to this controlling area. However, the system is not accepting the  same and giving an error message " Difference in currency INR does not match SGD".
    Similarly while defining another currency in company code, for currency type 30, the system is giving an error message, "Currency Key no defined for Group currency". Pls help
    Regards
    Sanil Bhandari

    > Hi
    >
    > You can reward points too with thanks.
    >
    > Regards,
    > vivek
    Hi
    I have already ticked the check button for problem solved which carries the maximum 10 points for the same to you
    Regards
    Sanil

Maybe you are looking for

  • Please read this before posting?

    First of all we need your stats so we can determine if or not their is an issue:  Please use this link http://192.168.1.254 to go to your hubs homepage: (Heres the direct link! http://192.168.1.254/index.cgi?active_page=9116 )  Then click on Setting

  • V_$RMAN_BACKUP_JOB_DETAILS

    Hi, I was looking through the V_$RMAN_BACKUP_JOB_DETAILS view and found it to be inconsistent with the information displayed by EM under the 'backup jobs' link on the 'Scheduled backups' page. The 'backup jobs' link shows several jobs that succeeded,

  • Flash CS3 Crashes on Save --- PLS HELP

    Hi all, My first post. I have installed cs3 web design premium on Vista Ultimate and have had no problem working all the cs3 programs. In flash I try and save my work but it crashes the system. Could someone tell me where I might want to look for an

  • If we own two ipads can we buy an app and use it on both?

    We own two ipads and I want to purchase Keynote to create client presentations.  Do I have to buy it twice? or can we share it?  If we can share how do I get it on both?

  • Loading the content of TAB

    Hi all, I have a TAB-ed Control on a form.From what I read each tab is a Panel. What I want to know is if the content within each of the Panels(Tabs) is loaded a) all together when the Form is loaded b) or is each panel loaded dynamically when the ta