GUI download, how to retain format of decimal places

Hi everyone!
I have a program that downloads data to excel file using GUI Download. The values of the amount in the ALV display are 11.90, 11.90- which is correct because it has two decimal places. But the problem now occurs in the excel file. The values are now 11.9, 11.9-.
Do you know of any method that will retain the format of the values when it is already in the excel file.
The format of my decimal notation is 1,234,567.89.
Thanks in advance.

Thank you!
But I need to have the format of the numbers in the excel the same as the format in the ALV <b>without changing the format of the cells in the excel file</b>. It has to be changed in the program.
Actually there are also amounts that are being displayed in excel file with 2 decimal places the same as the ALV display. But some of the amounts were changed when it comes to the excel file, and I don't know why this happens.
Thanks.
Message was edited by:
        Betsie Camoro

Similar Messages

  • VB: How do i format two decimal places?

    I'm using VB in Visual Studio 2013.
    The professor wants the answers from the textboxes to be displayed with dwo decimal places. 
    all he gave us was the following syntax:
    format (#,#.00)
    however i have no idea how to get this to work as i tried to figure it out on my own and nothing. i would like it to be displayed with the dollar symbol if possible with the comma separators when needed.
    i tried declaring a variable as a string and a double but i kept coming to a dead end. help please. this is the last thing i need to turn this in tomorrow.

    Hi guys,
    I don't know how long is your forum experience. 
    But there is a long time etiquette in the forums, which stands from the first day of newsgroups not to help people with code for homework.
    Do you real think I could not do that?
    Now it took me more time, but probably a wast because your replies.
    Success
    Cor
    Success
    Cor

  • How to increase no. of decimal places in a cube

    Dear Friends
    Can you tell me
    how to increase no. of decimal places in a cube
    i want 5.98765 this value in the keyfigure
    but it is allowing me only 5.987 only 3 digits after decimal
    urgent
    Thx

    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.

  • How to retain format in excel?

    Is there any way to retain formatting in excel once a retrival is done i.e. Total bold and underlined?Thanks,Calvin

    As long as I remember, you can do this by unchecking the "Use styles" check-box in Essbase/OptionsRegards.

  • How to validate for 2 decimal places

    How can I put a check while inserting into a number(5,2) field that user has entered only 2 decimal places. Right now if the user inserts records like 23.5456 it gets inserted as 23.56 . I want these type of records to error out. Is there an easy way to do this kind of a validation while inserting.?
    Thank You,
    SK

    Sorry, I don't see how you're going to accomplish this. The value has already been implicitly rounded before check constraints or triggers fire. I guess if they were inserting true literals you could check the SQL statement itself and it's possible to get at bind variable values but that's going to be a real nightmare to implement properly. I think you're going to have to have the column as a number with no scale and check constrain it if this is really required. You could probably do this with a view and instead of triggers but that's going to be ugly.

  • How to get the exact decimal places displayed while exporting to Excel?

    Hi All,
    I have a requirement to display the exact decimal place values in my report. In my pivot table, i duplicated a column named order number and converted to percentage by applying these conditions Show Data As-> Percent Of-> Column. I got a resultant column with one decimal point. As i needed two decimal points i took the xml of the report and changed the minDigits='2' and maxDigits='2' values like this. After that i got the accurate answer. But when i export it as excel sheet it is not showing the % column properly. The values after 0 is not getting displayed. Any solution for this?
    Thanks in Advance
    Thenmozhi

    Hi Thenmozi,
    You can try adding the below statement in the Custom CSS section of the your column properties.
    mso-number-format:"\@"
    Edit your report--> Criteria-->which column you want to display in excel click column properties --> select CCS--> Paste here above code.
    Second way:
    Edit your report --> criteria-->click fx option for your column and apply the below code.
    2. '<span style="display:none">&nbsp</span>' || CAST(your column name AS CHAR)
    Award points it is useful.
    Thank,
    Satya

  • How to retain formatting from Word to RoboHelp?

    I'm using Robohelp for Word 8.0.  Thus far, I've done all my work in Word.  The problem I'm having is getting styles to appear in the online help the same way they do in Word. My output file is web help.
    When I compile, RoboHelp correctly formats the font type and size for each of the styles I've created.  Also, it usually gets bold text right.  What it won't handle at all is color.  I've tried using Web-friendly RGB values; nada. It's always black.
    The other formatting issue I'm having is lists -- bulleted lists and numbered lists.  RoboHelp inserts a lot of space between the bullets/numbers and the beginning of the text.  That space is not in the Word document.
    Finally, if I have links in a bulleted list, RoboHelp formats the entire bulleted item -- including the space between the bullets and the text -- with an underline. 
    I'm really hoping I won't have to take this into the RoboHelp HTML application.  I'm not very HTML-savvy.  The reason we bought this product was so that we could author in Word, and work from a single source all the time.  However, I'll do what I have to do -- once I know what that is.
    Thanks.

    I struggled with the color issue myself for several months and finally had time to figure it out. Word 2007 deals with table styles differently than past versions. In previous versions of word, you could modify table normal style. Now the table normal style assumes all content in the table is using "normal" style. Tables will accept paragraph and character styles only. If you want to customize a table style, modify the table grid style. Fixing the table issue will resolve any use of color you have in your doc even though this may not like it is related. I had the most trouble with orange and shades of purple. RGB only half worked too.
    So to fix, using the Developer ribbon, select to modify the Document Template. From the normal.dotm style, copy the Table Normal style into your RH document. Recompile. If you still have the same issue, you will need to dig further. RH processes the topics in your doc in the order that they appear in the doc -- not the toc, so start looking at the beginning of the doc for the first table. Check to see if this table appears correctly in your compiled help file. If it appears correctly, move to the next table and compare it to the compiled help. I found that the table with issues is the one where I had colored borders in my doc table, but in the compiled help they appears as a medium gray shade. Once you ID the table, select the table and on the Table ribbon, right-click on the Table Normal and select apply clearing format or just select Clear.   Recompile. If your colors appear you fixed it. If you still have problems with color appearing, try the next table in the RH doc. To put formatting into your table, highlight your text and bold it -- do not use a style.
    For issue 2, when you compile, try changing the options in the generate project. There is an option to use formatted html bullets versus the bullets in the doc. Switch this to use the ones from your doc.
    For 3, when you are making the link, you are including the paragraph mark at the end of the bullet which makes the bullet itself and the space inbetween part of the link. In Word, on the format ribbon, click the paragraph mark to show all formatting marks. You should see a paragraph mark after every ending bullet line. Remove the link, then select only the text without the paragraph mark and make your link.
    I'm not sure if you are new to RH for Word or not, but here are some tips I use to make using RH easier:
    I always work with the show paragraph mark on. It helps me ID what Word is doing easier. I changed the Word Options, Display so it shows all formatting makrs. It also lets you see what is in your links as they are hidden text.
    I use the Word Options, Customize to modify my word QAT. I've included many of the table commands such as add row/column, delete row/column, table properties, select table, etc. since the ribbon only shows the table ribbon when you have an existing table your cursor is resting on. I've also added the Styles (classic styles) to the QAT which provides a drop-down list of my styles. The current shortcut of styles on the format ribbon doesn't show you all available styles. Note, Word shows you Popular Commands by default so choose All Commands. You may have to do some trial and error to find the styles that you want to use.
    I've also modified the styles to show me the current styles in my doc. This allows me to get rid of styles that may creep into my RH doc that may cause me problems. The list is also shorter for me to choose from. (Choose styles, options, them remove all checkmarks.)
    Hope this helps.
    bb

  • Formatting Numeric Only with Variable Decimal Places

    Acrobat Pro 9, Windows XP
    I'm creating a form that has a number of text box form fields that are to be numeric only per the form requestor. However, for any given field of this type the number of decimal places that can be entered can vary from 0-3 and the requestor does NOT want any unnecessary decimals to appear in the final output (e.g., a "1.2" entry should not appear as "1.200"). The standard number formatting properties always show all the decimal places so I know it's not that route. No calculations will be performed with any of these entries -- the form requestor merely is entering data and then printing it out so that it's legible for the end-user.
    I know that the following line of JavaScript in the Custom Keystroke property limits the entry to numeric only, but how should I tweak the syntax to allow a decimal entry:
         event.rc = (!event.change || /^\d$/.test(event.change))
    I probably also need a script to format for decimal places, but I don't know where to look in the JavaScript for Acrobat API Reference or in the MDN JavaScript Reference.
    Thanks in advance for any assistance.

    Good question. To keep it simple (because there are about 300 form fields in this document), if they choose to add extra decimal zeros, then who am I to argue with their entry. So in your example for a given form field, if they enter "1.200" then I expect that they want "1.200" to display.
    OK, but earlier you said:
    "However, for any given field of this type the number of decimal places that can be entered can vary from 0-3 and the requestor does NOT want any unnecessary decimals to appear in the final output (e.g., a "1.2" entry should not appear as "1.200")."
    This seems inconsistent. Can you clarify? The point is the code and where it's placed depends on this. It could be implemented either as a custom Validate or Format script, in addition to a Keystroke script.

  • I need to get 2 decimal places when using a formula for a quotient and Numbers will only give me whole integers which is useless since most items will be less than 1. How can I change this?

    How do I get 2 decimal places when using a formula for a quotient? It only gives me whole integers. Most of the results will be less than 1 so I need 2 decimal places

    the quotient function returns only whole number portion of the dividing two numbers.  If you want the actual decimal value use the divide operator.  you enter this as:
    A/B
    if the numerator is in A1 and the denominator is in B1 you can enter the formula like this:
    =A1/B1

  • How to get 2 decimal place of an amount?!

    Hi. How to get only 2 decimal place of the said amount?!
    I use to_char(v_rec.amount, '999,999,999.99') however it is outputting more than 2 decimal place. Thanks!!
    1,048.7800205
    Edited by: 989873 on Feb 26, 2013 6:33 PM

    989873 wrote:
    Hi. How to get only 2 decimal place of the said amount?!
    I use to_char(v_rec.amount, '999,999,999.99') however it is outputting more than 2 decimal place. Thanks!!
    1,048.7800205above should NOT contain any comma
    it works OK for me.
    How can we reproduce what you report?
      1* select to_char(1048.7800205, '999,999,999.99') from dual
    SQL> /
    TO_CHAR(1048.78
           1,048.78

  • Decimal place truncuation!!

    hi i have a field in XI called net_price how should i change the decimal place value of that field to more than 2 decimal places
    say 4 ,now it is truncuating to two decimal places.
    thanks
    Edited by: Capricorn!! on Aug 27, 2009 6:14 AM

    Hi Somenath,
    Are you sure that all the data in cube is affected? I mean also the data loaded in cube before GUI upgrade?
    I have a feeling that instead of GUI upgrade something happened to the background user that is extracting the data in source system. E.g. this user master data has changed - in decimal format.
    So check the user and check data loaded before/after change of GUI.
    BR
    m./

  • Trunc 2 decimal places

    I have a report that has the option of dispalying pdf or excel. I have the pdf version working fine but i am having a little trouble on the excel version. I have a grand total and department total. Basically I need help formating two decimal places. Both dept_total and grand_total are numbers that both display. I have another column that displays what percent of the total is from each dept.It currently returns a number such as 10.23383547957459973 which i need to display as 10.23 How can i incorporate the trunc function into this code?
    ...to_char((dept_total/grand_total) *100)
    The query looks similar to this.
    select
    to_char(a._grand_total)
    ,to_char(a.dept_total)
    ,to_char((dept_total/grand_total) *100)
    from(
    select sum(xxxx) grand_total,
    sum(xxxx) dept_total
    from table)a

    Use ROUND:
    select to_char(round(10.23383547957459973, 2)) from dual;
    10.23

  • Trunc percentage two decimal places

    I have a report that has the option of dispalying pdf or excel. I have the pdf version working fine but i am having a little trouble on the excel version. I have a grand total and department total. Basically I need help formating two decimal places. Both dept_total and grand_total are numbers that both display. I have another column that displays what percent of the total is from each dept.It currently returns a number such as 10.23383547957459973 which i need to display as 10.23 How can i incorporate the trunc function into this code?
    ...to_char((dept_total/grand_total) *100)
    The query looks similar to this.
    select
    to_char(a._grand_total)
    ,to_char(a.dept_total)
    ,to_char((dept_total/grand_total) *100)
    from(
    select sum(xxxx) grand_total,
    sum(xxxx) dept_total
    from table)a

    Hi,
    Since you're calling TO_CHAR anyway, you can add a 2nd argument, specifying two decimal places:
    select
         a._grand_total
    ,     a.dept_total
    ,     to_char ((dept_total/grand_total) *100,       '999999999.99')     AS pct
    from     (
             select  sum (xxxx) grand_total,
                      sum (xxxx) dept_total     -- Why have two copies of the same value?
             from    table
         )a If you're not using a 2nd argument, why use TO_CHAR at all in this query?
    This will round the value, not truncate it. That is, if the value is 10.23<b>5</b>83547957459973, it would display '10.2<b>4</b>', not '10.2<b>3</b>'. If you always want to round toward 0 (rather than to the nearest multiple of .01), then use TRUNC.

  • General Settings Decimal Places

    Good Day
    Experts:
    I have a request to make the Decimal places, for my Quantity and Price columns in a Matrix on one of our custom screens, have the same number of places as the list in General Settings\Display Tab.
    For example, Prices has a setting of 4 Decimal Places.  How can I specify 4 Decimal Places in my datasource:
    MatlReqForm.DataSources.UserDataSources.Add("U_EaCost", SAPbouiCOM.BoDataType.dt_PRICE)
    Is there some kind of option with this command that enables specifying the decimal places?
    Is there a way to dynamically check where the value on the General Settings\Display Tab is set at
    and have the datasource take on that value when assigning it to a field?
    Please ask clarification questions if my exlpanation of needs if not clear enough...
    Thanks for the hlep,
    Ed

    Hi Ed,
    What version is this client running? It sounds like a bug. UserDataSources are automatically linked to the General Settings. If you set a datasource to the Price type then it should automatically show with the same number of decimal places as the Prices setting in General Settings. There is no way to set the number of decimal places on a datasource directly. I have tested this on a 2007A system and it works fine.
    Kind Regards,
    Owen

  • Increase XL Reporter's Decimal Places to more than 2

    Hi All,
    Can anyone advise on how to increase the default decimal places in XL reporter to be more than 2?
    The figures i retrieved from SAP Financial Template for the stock account is 1234567.81 but XL report shows it as 1234566.76.
    Does showing a differences of 0.05 value.
    I did a sum for the stock account from JDT1 using query. it is also showing me 1234567.81.
    So, I am assuming that XL reporter is using 2 decimal places by default.
    Please help my balance sheet is not balance.
    Regards
    Jessie

    I found that there is a SAP Note written to increase the decimal in SAP XL Reporter.
    See SAP Note 896207.

Maybe you are looking for

  • Error while releasing Sales Order through VKM1

    Hi Gurus, I got a sales order which has created a credit hold.  When I try to release that through VKM1 i am getting the  error "Error Determining Posting Period (info structure S008, Variant Z2, RC).  Kindly let me what should I do for releasing thi

  • Multiple materials input to planning board

    Hi, does anyone know if there is a way to specify multiple materials ( for instance thru copy/paste ) in the planning board MF52??? Any help appreciated ! danny

  • Resources view: how not to show resource from under Org Units

    Hello experts! In cProjects/xRPM 4.5, when we assign a user as Staffing Manager of an Organizational Unit, not only the resources from this Org Unit appear in his resources view, but also the ones from sub Org Units. We would like to prevent this, an

  • Getting Weird OS Behavior

    I've been setting up my new Mac Pro. I removed the HD that came with the computer since I bought a larger drive (WD6400AAKS, low level formatted writing zeros once). Instead, I cloned over a drive (with SuperDuper) that was in a 1st gen Mac Pro runni

  • Slide show in imovie

    I am trying to make an imovie from pictures that I have in iphoto.  The pictures that I am using are about 25 years old-not the best quality but still good.  When I look at the movie in preview it all all looks good.  Once I burn the dvd the quality