No of Decimal Places in Write Back

Hi All,
We are using ERPi/FDMEE writeback option to write data back to Oracle EBS12. Everything is working correctly, but while extracting data from Hyperion FDMEE is taking data in 7-8 decimal places. Is there any way to round this to 2 decimal places while exporting data ?

Hi Laxmi,
Inorder to store data with more than 3 decimal places,you can check the keyfigure with maximum precision checkbox available in the additional properties tab of the keyfigure.By which you can store upto 9 decimal places.
Or
You can change the data type from DEC to FLTP,by which you can store data upto  15 decimal places in the cube.
Also by changing decimal places in Bex allows you to change the decimal places for the data to be displayed and if the data in the cube is holding 3 decimal places how can you display 5 decimal places in report.
Hope it helps....
Regards,
Umesh.

Similar Messages

  • Decimal places adjustment based on company code or currency

    Hi experts,
        my requirement is i have to adjust the decimal places in amount fields of internal table based on company code or currency given by user.
    suppose for example in my internal tables having 5 amount fields like 1.50 1.234 1.45 1.34, 1.67  for  company code is in01
    the same values for VN01 should be like this
    150 1234 145 134  167  ....
    can any body plz tell me any functional module is there to covert or abapcode?
    Thanks in advance,
    veena.

    That code is a bad idea.  Why would you hard-code that type of action for currency/amount handling?
    @poster: If the output is based on the local currency defined for the specified company code or one specified by the user, then use it.  SAP handles amount output automatically with a currency specification because the currency definition identifies where/how the decimal is output. 
    Just use WRITE as Florian indicated but  use the CURRENCY extension instead of DECIMALS.  You can do this dynamically based on the company code easily...
    A simple 3 line program shows you how this works:
    PARAMETERS: p_wrbtr type wrbtr.
    write:/ p_wrbtr CURRENCY 'USD'.
    write:/ p_wrbtr CURRENCY 'JPY'.
    Edited by: Brad Bohn on May 12, 2011 1:07 PM

  • Decimal Places in Pivot table

    Hi Gurus,
    When I create a pivot table with a measure and I choose "Show Data as ...
    percent of something (for example section) I get the result with 1 Decimal Place.
    How to modify it for 2 or more Decimal Places?
    Thanks
    Laszlo

    Hi Laszlo!
    We have found and discussed the answer already, but to more people can see it I write it.
    When You have the results already, You can use the 'Advanced' page to see the XML source. There you can modify the code carefully. Change the section:
    <saw:dataFormat xsi:type="saw:percent" minDigits="2" maxDigits="2" scale="2"/>
    Change maxDigits to the number of decimal digits You wanted.
    Although we found the answer on the course, I found later this page - also could help:
    http://blog.trivadis.com/blogs/andreasnobbmann/archive/2008/07/15/quot-percent-of-quot-in-obiee-s-pivot-tables.aspx
    Best regards,
    Tamas

  • Decimal places in standard cost

    Dear All
    How many Decimal places does SAP Support for Standard cost estimate.
    Thanks

    Dear Sivaperumal,
    Normally I have noticed it's kept upto 2 places.
    Check the setting in T Code OY04.
    Also check this thread which addresses the same kind of issue,
    Re: Labor cost in CK11n/CK13n
    correct me if I'm wrong.
    check and revert back.
    Regards
    Mangalraj.S

  • Decimal Places in BOM

    Dear All
    How can i increase decimal places of components in BOM as it is taking only three decimal but i want to add upto 6 decimal. I mean i want to add component qty as 8.785642 in BOM. so how can i enter it

    Dear Ahmad,
    Go to transaction CUNI, Click on unit of measurement, select ur unit of measure(ex: M/L/KG etc) for which u want to maintain 6 decimals, In decimal places field maintain 6. come back and create BOM.
    test and come back
    sree

  • Decimal Places In VDT Measures

    hi experts,
    i  have a small problem with decimal places.
    i'm using the UMC_CPM_STRAT to customize my Measures and VDTs
    i have created measures using 0QUANTITY and defined 0.00 in the decimal places field.
    after a while i have changed all the measures of the tree to 0 in decimal places
    now i've changed back to 0.00 but my measures do not change
    when using the UMV_PRES my measures has no dec' places like it is still using 0 and not 0.00
    have i forgotten something along the way?
    need your help
    thank you,
    Or.

    hi all,
    i was able to solve the problame of the decimal places display in my vdt.
    first i have changed it in tge measure attr' in the transaction UMC_CPM_STRAT -> Measures
    since i am working with a bps definitions i have found that i need to change it also in the transaction BPS0 -> Planing Area -> Planing Level -> ad-hoc Package -> Menual Planning -> change layout
    in the layout def's you can choose the number of dec' places.
    for your knowledge.
    Best Regards,
    Or.

  • Decimal places in form

    Dear Gurus.
    I need to display dinamic decimal places in my form.
    for example if I have a variable containing value:
    1.500  - need to display it as 1.5 (omitting trailling zeroes)
    1.520  - need to display it as 1.52,
    1.000  - need to display it as 1
    please help.
    Thanks & Regards,
    William Prawira.

    Hi,
    you need to write program lines in order to check the first,second and thrid decimal places with the following code and then display accrodingly the values.
    LV_DEC_PART = FRAC( TABLE-FIELD ).
    then in insert three text nodes with the same field with offsets.
    &TABLE-FIELD.0&  with the condition LV_DEC_PART+0(1) = 0.
    &TABLE-FIELD.1&  with the condition LV_DEC_PART0(2) = 0 AND LV_DEC_PART0(1) # 0.
    &TABLE-FIELD.2&  with the condition LV_DEC_PART0(3) = 0 AND LV_DEC_PART0(1) # 0 AND LV_DEC_PART+0(2) # 0.
    Hope this is clear.
    Regards,
    Ram

  • Write Back feature in 11g environment

    Hi,
    I am trying to implement write back feature in 11g environment.
    i have configured RPD as mentioned below-
    in physical layer- non cacheable,
    in BMM- enable write back checkbox,
    in Presentation layer read/write property for field,
    in report i have checked write back box for column.
    I have created xml file for the column to be edited.
    But i am not able to locate where i need to mention this xml file name.
    Please let me know where i need to mention the xml file name and where i need to place the file.

    Can you confirm that you have done ALL of the following:
    -Make sure you use columnIDs as opposed to column position in the XML template
    -Use Schema prefix on the table column
    -Ensure WebMessage name on XML template matches the EXACT name in Table View Properties
    -Ensure Physical table is non cacheable
    -Presentation and Logical layer must have Write enabled for the writeback columns
    -If we dont need an INPUT command make sure to have a space between the XML tags
    I dont have access to a writeback file currently..if you can paste yours here, maybe we can help.
    Also, if the responses are helpful, please mark them as helpful or correct.

  • Decimal place problems

    Dear Gurus,
    Greetings.
    The issue is 2 days back I noticed that all my values in the Orders are appearing with one decimal place where as we have maintained in 2 decimal places. Like, we maintained 1234.56 but now it is appearing as 12345.6
    When we enter a value in VK11 as 1234.56, it is getting populated a s1234.56 in the Order, but all the other values automatically populated are coming in single decimal place.
    In IMG under Currencies / Set Decimal Places for Currencies, if I change the setting to 3 decimal places (since 2 decimal places is not available), my values are showing as 123.456.
    But when we check at Table level, it is displaying in 2 decimal palces like 1234.56. That means at the Table level, values are almost always correct but at Transaction display time they are not coming in the correct way.
    How to correct this?
    Regards.
    Venkat - Hyd

    HI
    > Since very old thread and no more inputs, let me thank every one for their help and close this thread here.
    >
    This is for the benefit of the forum you have closed all your previous threads as you might have unable to post a new thread.
    you have mentioned as since it is a old thread and no more inputs closing the thread
    It is your responsible as a forum member if you have solved the issue yourself, then let the other forum members know how you have solved and what is the outcome
    regards

  • Asian (JPY) currency Decimal Places Issue

    HI All,
    Need your help, we have a program which creates a BDC session and when the user tries to process it it throws an errror for amount in asian currencies like JPY - no decimal places allowed for currency, in the background it calls the FBB1 transaction.
    The original amount is in USD however after conversion when we store it back to amount field which is of type
    "glpct-tslvt"  it stores the amount in JPY currency with decimal places so for example :
    USD amount  = 93,214. 00
    JPY amount = 115,021. 86
    guess the amount is stored with decimals in BSEG table, so now when we try to process the session with the JPY amount with decimals it throws an error.
    I have tried the
    CALL FUNCTION 'CURRENCY_AMOUNT_SAP_TO_DISPLAY'
    and
    CALL FUNCTION 'BAPI_CURRENCY_GETDECIMALS'
    it gives me the correct value for amount so for above example  JPY amount = 115,021. 86 by using the mentioned two methods i am able to get the currency in this format  11502186.00 but still has two decimal places, i think it still will not work when we process the session for FBB1.
    Need your help people, appreciate your co-operation.

    sorry to revive an old thread...but we are having an issue with JPY in our electronic bank statements.
    the BAI format for our JPY account has for example 900 yen which according to our finance department is really 9 yen. the bank claims this is a known issue and the BAI format documentation seems to be confirming the bank's position in that the decimals are implied according to the currency code (whatever that means in SAP terms is a bit foggy to us).....
    currently we wrote a custom code to suppress the last two zeros (when they are zeros) but i feel this error is caused either by a wrong setting in our currency or translation tables in SAP or something else since our feeling is that this should work right out of the box without any custom programming...any ideas???...where we shoudl start looking in our currency config....does the 100:1 or 1:1 translation ratio between JPY/USD make any difference...should we try and use a function module to convert the currency ...any ideas or hints are welcome
    thanks
    Ram
    [email protected]

  • Changing the Decimal places in the currency

    Hi all
    we are using the currecy SAR. Decimal places was set to 4, now that they want to revert back to 2 decimal places. i understand that by doing so they would be inconsistencies in the data allready recorded. how to avoid that?
    is there any programmes / reports that would fix such inconsistencies?
    any OSS notes?
    thanks and regards
    gkk

    HI,
    You should NOT change the decimal places in a productive system.
    If you would do, the correction of the posted documents afterwards would be a remote consulting issue. Which you have to pay for SAP.
    You see, all posting you have done until now, would get displayed in a wrong way, and the new posting wouldn't compare to the others.
    Please check the note 137626 describes this.
    If you really need to change the decimals, you should create a new currency type, for example your current is SAR, and now you should create a SA2. Then you should enter new rations and exchange rates for it, and work with the new one.
    Also if you want to set the decimals to two digits from four, youshould not enter an entry in the OY04(TCURX).
    In this table you can only enter a value, that discriminate from 2 decimals. If there is no entry in the table, it means the currency has two decimals.
    Please assign points if it useful.
    Regards
    Ravinagh Boni

  • Formatting currencies and decimal places

    I'm currently using NumberFormat.getCurrencyInstance() to format numbers as currency. However, one problem I'm having is that I'd like values with no cents to be formatted with no decimal places, and any values with cents to be formatted with the usual 2 decimal places. For example:
    17 would be formatted as $17
    17.45 would be formatted as $17.45
    17.4 would be formatted as $17.40
    The last one is the tricky part--I've tried formatter.setMinimumFractionDigits(0), and this works great for the first two cases. But for the last case, the number gets formatted as $17.4.
    Basically my problem is I want a number to be formatted with zero or two decimal places and nothing in between. Is there an easy way to do this?
    Thanks in advance.

    Otherwise you are likely to find that you are getting .00 due to errors from previous calculations. You are right. Adjusted it to Locale aware
    import java.text.FieldPosition;
    import java.text.NumberFormat;
    import java.text.ParseException;
    import java.text.ParsePosition;
    import java.util.Locale;
    public class SpecialCurrencyFormat extends NumberFormat {
        private static final long serialVersionUID = 1L;
        private final NumberFormat noDecimals;
        private final NumberFormat decimals;
        private final double maxDifference;
        private final double factor;
        public SpecialCurrencyFormat() {
         this(Locale.getDefault());
        public SpecialCurrencyFormat(Locale locale) {
         decimals = NumberFormat.getCurrencyInstance(locale);
         noDecimals = NumberFormat.getCurrencyInstance(locale);
         noDecimals.setMaximumFractionDigits(0);
         maxDifference = Math.pow(10, -decimals.getMaximumFractionDigits()) * .5;
         factor = Math.pow(10, decimals.getMaximumFractionDigits());
        @Override
        public StringBuffer format(double number, StringBuffer toAppendTo,
             FieldPosition pos) {
         double adjustedValue = (Math.round(number * factor)) / factor;
         if ((Math.abs(number - Math.round(number)) < maxDifference)) {
             return noDecimals.format(adjustedValue, toAppendTo, pos);
         } else {
             return decimals.format(adjustedValue, toAppendTo, pos);
        @Override
        public StringBuffer format(long number, StringBuffer toAppendTo,
             FieldPosition pos) {
         return noDecimals.format(number, toAppendTo, pos);
        @Override
        public Number parse(String source, ParsePosition parsePosition) {
         return decimals.parse(source, parsePosition);
        public static void main(String[] args) {
         NumberFormat nf = new SpecialCurrencyFormat(Locale.US);
         double[] values = { 10000, 1000, 100, 10, 1, 10.1, 10.01, 10.001,
              10.002, 10.003, 10.004, 10.005, 10.006, 10.007, 10.008, 10.009,
              10.010 };
         for (double value : values) {
             print(nf, value);
        private static void print(NumberFormat nf, double number) {
         String formatted = nf.format(number);
         try {
             System.out.println(number + "\tas " + formatted + "\tand back "
                  + nf.parse(formatted));
         } catch (ParseException e) {
             e.printStackTrace();
    }The value adjustedValue is needed since NumberFormat doesn't seem to round the value. It just breaks.
    Piet

  • Quantity field to one decimal place. PLEASE URGENT

    I have a quantity field with three decimal places. I have to print this field with only one decimal place. This is in a smartform.
    suppose: qty = 45.678
    I want it to be printed as 45.7
    Thanks in advance.

    Create one more variable in Global definitions with only 1 decimal place.
    Assign value of qty to this new variable.
    SAP automatically takes care of the rounding.
    And then print this new variable rather than qty.
    You can write all these in a code block.

  • Decimal places diferent in BO SUM function than from DB

    Hi,
    I have a column from a Netezza database with 2 decimal places, if I apply a sum() function in BO (report) the decimal places are 4.
    The strange part is that if i do exact the same query in a DB2 database the decimal places are always two (like in DB) even if i use a sum function in report.
    There is some configuration regarding the database i'm using to set the decimal places in the report level to be the same than in DB?
    Edited: I've been studing the problem and I found using a odbc instead of a jdbc makes all the columns have 2 decimal places, and the sum problem doesn't happen. Now my issue is the division. How is possible that with the exact same values with two decimal positions, in BO and exporting to excel the last decimal place is different in some cases
    Example:
    Lets say A/B with A=13549678065,560000 and B= 21629484348,690000. With Netezza result is 62,6444803173527 and Db2  62,6444803173528
    Thanks for your time.

    I've never seen this particular problem before. Quite strange. It sounds more like an OLAP or SQL Server issue, not BPC.
    I'm not aware of any configuration on SQL server that allows you to control the decimal separator.
    I had a similar problem in the past, when my customer refused to follow the install guide instructions, and insisted that the server be set to non-US English regional settings. If I recall, the issue had to do with date formats not decimal separators. They ended up un-installing and re-installing the entire OS (with US English setup, the second time around), and then it worked fine. This was back on 5.0, and perhaps the situation has changed since then. There's a section in the master / install guide that covers the server-side language & regional settings in some detail.
    But before you look at that, try something easier -- is it possible that the cube is somehow corrupted? Do you get any errors when you process the application? Perhaps there is some data in the fact table with an invalid member ID.
    Do you get the same result in your Excel report when you use both EVDRE and EVGET?
    And if you browse the cube data in SQL Mgmt Studio (logging into the Analysis Services cube) do you see aggregated data there?
    Regards,
    Tim

  • Changing number of decimal places for Unit of Measure

    Hi All,
    I have a requirement to convert a quantity in one unit of measure to another (custom) unit of measure.
    The issue is that the custom unit of measure has 4 decimal places (customer requirement). I found function module MD_CONVERT_MATERIAL_UNIT which does the trick for regular, 3 decimal places, UoM's. It won't output 4 decimal places since the output data type is EKPO-MENGE, which has 3 decimal places.
    Does anyone have experience with trying to convert material's UoMs into 4 or more decimal places?
    Thanks!

    <b>round_f_to_15_decs</b>  round variable of type f to 15 decimals
    Sometimes type F (float) is used to represent exact data (Amounts, Quantities):
    if values are to big to be represented as Packed (> 31 decimals)
    to significally improve performance of calculations, e.g. in statistical reports
    G_DECIMAL_PLACES_GET
    REPORT Z_ROUNDING .
    DATA: float TYPE f,
          amount TYPE p DECIMALS 2,
          correctamount TYPE p DECIMALS 2,
          chars(5) TYPE c value '1.005'.
    CLASS cl_abap_math DEFINITION LOAD.
    correctamount = chars.
    WRITE: / 'Exactly:', chars,
           / 'Correct Amount:',  correctamount.
    float = chars.
    amount = float.
    skip 2.
    WRITE: / '==== Usual Processing:',
           / 'Float:', float,
           / 'Decimals 3:', float DECIMALS 3,
           / 'Decimals 2:', float DECIMALS 2,
           / 'Amount:',  amount.
    float = cl_abap_math=>round_f_to_15_decs( float ).
    amount = float.
    skip 2.
    WRITE: / '==== Correct Processing:',
           / 'Float:', float,
           / 'Decimals 3:', float DECIMALS 3,
           / 'Decimals 2:', float DECIMALS 2,
           / 'Amount:',  amount.

Maybe you are looking for

  • Error while running HelloWorld program Please Help me

    Hi Friends! I am doing my hello world program...while running i m getting the below error...please help me regarding this... The target WSCO.java cannot be started as a servlet, because the class oracle.apps.ak.ws.webui.WSCO does not extend javax.ser

  • IMac 27" extended desktop problems

    Hi! I own a 2011 iMac 27" and I am having issues using a Samsung SyncMaster T240M display as extended desktop. It works fine when I am just using the computer for a while, but if the displays go to sleep mode, when I return to the computer the iMac d

  • Reading int problem

    Hi there, I am writing a client server program in which I get two integers in client and then I have to send them to the server. I have sent the integers in client as follows: outToServer.writeInt(x); // where outToServer is the DataOutputStream obje

  • Connections refused after editing master.cf file

    Hi: I just got done editing (successfully, I thought) the master.cf file using TextEdit in order to add Port 587 to the list of smtp ports available for users to send. I tried both ways suggested by various posters, including uncommenting the submiss

  • Pink Artifacts Appear Randomly on Screen

    I'm using a brand new iMac G5, and randomly, the screen has pink or discolored artifacts. When the area with the pink is refreshed, it goes away, but is still very annoying and presistant. Even when changing the background, and other system changes,