Display decimal values in report

Hi all,
I have one question concerning the display of decimal values smaller than '1' in a report.
In an SQL query some calculations are done and the result is displayed in a report.
The problem is, that if the value of the result is smaller than '1' it shows for example ,8 instead of 0,8
Does anybody know how to display decimal values normally?
kind Regards and thanks!!
Patrick

Hi SWED!
1.) Click at the name of your report region (in application builder) to edit it
2.) Select the "report attributes" tab
3.) Click at the column you want to format
4.) Look for the "Column Formatting" region
5.) Select the proper format from the "Number / Date Format" list or enter your own format like "0.0"
I hope that will help you along.
yours sincerely
Florian W.

Similar Messages

  • Crystal Report V9 do not display decimal value HELP!

    <p>I have a field in Informix data type is Decimal(6,2)</p><p>when i used the field in the report, the decimal is not displayed</p><p>example: field1 = 305.50, in crystal report it only displayed 305.00, already setup the formatting. any possible solution?, please help!</p>

    <p>have check all the options in my pc and crystal report, all seems to be ok, and have tried displaying an informix field decimal(5,2), and it displays ok (154.23) in my crystal report, but when trying to display the field decimal(6,2) crystal report display decimal up to 99.99, but when it reaches 100+, it will not display the decimal, very weird, help.</p><p>have tried the formula as well but still doesnt work.</p><p>any other possible solutions, pls help, thanks.</p>

  • Presentation Variable - Display 'All Values' in Report Title

    If I create a Dashboard Prompt and then set it equal to a Presentation Variable, I then display this Presentation variable in the report title. For the Dashboard Prompt I allow them the 'All Values' choice, in fact, this is the default.
    The issue is displaying this in the Report Title, when it is 'All Value' nothing is display in the title, when they select a value such as 'Region D' then it works and this value will dispaly.
    I looked at the documentation and it says you can use a default value, however, setting up that still does not work. It still is blank.
    Has anyone seen this issue or know of a workaround? I'd like to have something like 'All Vales' display or is there a condition I could write to set this.
    Thanks

    Hi Guys,
    I have did the following in order to achieve your requirement:
    As usual, create a request with a column prompted and a dashboard prompt containing that column and set the Presentation Variable (ex: varDept)... bla bla..
    Placed them on the Dashboard to generate your issue, discussed...
    Now, what I have did is:
    1. Created one more Request with the column used on Prompt and specified the Formula to it as:
    CASE WHEN '@{Dept}'||'A'='A' THEN 'All Departments' ELSE '@{Dept}' END
    Note: Take 2 same columns (and hide one) because we are using above formula which does not contains the Column from any table.
    2. Created Narrative View and referenced the above Column.. @2 (in my case).. and specify 1 in 'Rows to Display' field. Do the formatting as required viz., specifying Font size, family....
    3. Place this request in between the Prompt and First Request..
    Now, you can able to see 'All Departments' if 'All Choices' is selected.
    Hope this idea will helps you guys..
    Regards,
    -Vency

  • How to display decimal values (8.00, 8.01, 8.10)

    Can you please tell me anyone how to display the decimal values.
    Ex: amount number(5,2)
    inserted the table value 300.00
    when I am select the value using it has to display as the same 300.00.
    Thanks,
    Ramesh

    I suggest you read oracle documentation about TO_CHAR function and number format models.
    SQL> select to_char(0.00, '99990.99') from dual ;
    TO_CHAR(0
    0.00
    1 row selected.
    SQL> select to_char(99.78, '99990.99') from dual ;
    TO_CHAR(9
    99.78
    1 row selected.
    SQL>

  • Displaying decimal value in the table!

    Hi All,
    Please help me for this.
    I am calling a BAPI function into webdynpro But In R/3 side one "totalvalue"  column value displayed as Decimal like 3.45 But the same BAPI I am using in webdynpro.It displays Only 3 only How can i display "3.45"
    Please help me.
    Here Iam calling BAPI function directly .
    Thanks In advance
    BHI.

    Thanks for your immediate response.
    Here I maapped the BAPI Funtion Directly .
    There is no chance to see the this is Int or Decimal.
    It is mapping to Directly BAPI function path.
    In Structures showing Element name "total" and builtintype is "Decimal" and length=15 and decimals 2 .
    Could you pls guide me how to display this Decimla structure values into webdynpro.
    Pls help me.
    Thnks
    BHI

  • How to display customize values in report?

    I need to be able to show certain customize values in a report portlet. Preferably just above the table of results. How do I do that?
    Grateful for any help...
    Bryan

    Hi Bryan,
    If customized values means the parameters of the dynamic report you can do the following:
    <ORACLE>
    Declare
    v_deptno number :=(:deptno); /* :empno is the bind variable*/
    Begin
    htp.p('<table border=1>');
    htp.p('<tr>');
    htp.p('<td>');
    htp.p('<FONT face="Times New Roman" color=#000080 size=+1>');
    htp.p(v_deptno);
    htp.p('</FONT>');
    htp.p('</td>');
    htp.p('</tr>');
    htp.p('</table>');
    htp.p('<BR>');
    htp.p('<table BORDER=1 WIDTH=100%>');
    htp.p('<tr>');
    htp.p('<td nowrap bgcolor=#6666CC align=left><FONT face="Times New Roman" color=white><B><U>Last Name</U></B></FONT></td>');
    htp.p('<td nowrap bgcolor=#6666CC align=left><FONT face="Times New Roman" color=white><B><U>First Name</U></B></FONT></td>');
    FOR c IN (SELECT lastname, firstname from emp where deptno = v_deptno) LOOP
    htp.p('</tr>');
    htp.p('<td nowrap align=left>');
    htp.p('<FONT face="Times New Roman" color=#000080 size=-1>');
    htp.p(c.lastname);
    htp.p('</FONT>');
    htp.p('</td>');
    htp.p('<td nowrap align=left>');
    htp.p('<FONT face="Times New Roman" color=#000080 size=-1>');
    htp.p(c.firstname);
    htp.p('</FONT>');
    htp.p('</td>');
    htp.p('</tr>');
    END LOOP;
    htp.p('</table>');
    END;
    </oracle>

  • How to display BAPI decimal values into webdynpro!

    Hi All,
    I have a problem to display decimal values from R/3 system to webdynpro table.
    Iam using structure there declared all the varaibles as decimal 15,2 .
    But I am not able to disply the decimal values intable  of webDynpro.
    Please help me for this.
    Thanks in advance.
    BHI

    Hi,
        as u r importing RFC model all the datatypes in java side  corresponding to r/3 are also created .
    see in the dictonary of ur project .simple and structure type are created and u can use it.
    and u r storing the  data in some model node so when u r using table control rightclick on table and select structure binding it will display the context in ur view and from there u can select the attributes u want to display.
    if u r copying data of modelnode to value node u can also select structure binding option in wizard which set the datatype for the attributes .
    thanks,
    yashpal

  • Data type for decimal value

    I am making my own database table.which data type shuld I use to display decimal values.I used FLTP but its display is not very clear.
    My values are like1234.56
    Thanks

    assign decimal place while creating domine.
    as per ur req.....
    if it is usefulll.Plz Reward
    Regards
    Anbu

  • ALV removal of decimal values

    Hi All,
    I want to remove the decimal values of report output based on certain condition I am using code like this
    type-pools: slis.
    DATA: begin of itab6 occurs 0,
    chk type c,
    a type p decimals 2,
    b type p decimals 2,
    c type c,
    end of itab6.
    data: ls_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    wa_layout TYPE slis_layout_alv.
    itab6-a = '1.12'.
    itab6-b = '2.25'.
    itab6-c = '+'.
    append itab6.
    append itab6.
    append itab6.
    append itab6.
    ls_fieldcat-fieldname = 'A'.
    ls_fieldcat-seltext_m = 'A'.
    append ls_fieldcat.
    ls_fieldcat-fieldname = 'B'.
    ls_fieldcat-seltext_m = 'B'.
    ls_fieldcat-decimals_out = 0.  "this ll do
    append ls_fieldcat.
    ls_fieldcat-fieldname = 'C'.
    ls_fieldcat-seltext_m = 'C'.
    append ls_fieldcat.
    wa_layout-box_tabname = 'ITAB6'.
    wa_layout-box_fieldname = 'CHK'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    it_fieldcat = ls_fieldcat[]
    IS_LAYOUT = wa_layout
    TABLES
    t_outtab = itab6[].
    But still it is not removing the decimal value.
    What could be the reason?
    Regards
    Sagar.

    Thanks Florian,
    Issue resolve
    Regards
    Sagar

  • Truncating Leading Zeros & Displaying Decimal Positions in a Webdynpro

    Hi All,
    I am new to webdynpro and assigned with some issues in webdynpro application, the issues goes like this. i  already have a webdynpro application where in i am trying to display a PO as in transaction ME23 with Header and Line Items, In Line Items, i want to Truncate Leading Zeros for material Number & Item Numbers. In the net price i want to display decimal values even if our price don’t have any decimal value. For Example if the net price is 33.33 then i am able to see the value as 33.33. If it’s 33.00 then i am able to see values only as 33. I want to see the exact value as 33.00. Let us know how to over come those issues. 
    Thanks in advance,
    With Best Regards,
    Prabahar N.R

    Hi Santhosh,
    I failed while executing the steps you mentioned, kindly look into below description for more understanding.
    We have an issue like the decimal positions are truncated when the value of decimal places are Zero. For Example if the net price is 99.98 then i am able to see the value as 99.98. If it’s 99.00 then i am able to see values only as 99. I want to see the exact value as 99.00. The values are populated from an RFC Table, which is coming from a Standard BAPI.  I find in the implementation, the attributes uses a method called bindText() available in com.sap.tc.webndypro.clientserver.uielip.standard.api.IWDtextview.  Below is the piece of code,
    com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView NetPrice_editor
    = (com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView)
    wdAlterEgo.createElement(com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTextView.class, "Net_Price_editor");
    NetPrice_editor.setHAlign(com.sap.tc.webdynpro.clientserver.uielib.standard.api.WDInputFieldAlignment.valueOf("left"));
    NetPrice_editor.setWrapping(true);
    NetPrice_editor.bindText("bapi_po_getdetail_input.Output.Po_Items.Net_Price");
    NetPrice.setTableCellEditor(_Net_Price_editor);
    Table.addColumn(Net_Price);
    I can see from R/3 back end the values coming with decimal values even if the decimal positions are null. Any suggestions will be very helpful.
    With Best Regards,
    Prabahar N.R

  • Unable to display a variable which as decimal values in a report

    Hi Experts,
    I declared a variable with
    var1 type p decimals 3.
    While I am trying to display it in the report, it is retreiving a jargon value like ########. Can any one help me how to solve this issue in displaying the correct value with decimals.
    I tried with var1 type f. but I found the same jargon value.
    Thanks
    Ravi

    Hi Ramesh,
    Code is  below
    output table structure
    data : begin of out_table occurs 100 ,
             firstname like pa0002-vnamc,
             lastname like pa0002-nchmc,
             midname  like pa0002-midnm,
             hire     like pa0041-dat01,
             prorate  type p decimals 3,
             prorate type f,
             hrrate   like pa0008-bet01,
           end of out_table.
    data : begin of z_proration_table occurs 100 ,
             begda like pa0000-begda,
             endda like pa0000-endda,
             prorate type p DECIMALS 3,
             prorate type f,
           end of z_proration_table.
    data var1(10) type c.
    loop declared
      loop at z_proration_table.
       if ( z_proration_table-begda+0(4) = '2007'
              and z_proration_table-begda4(2) = '12' and dat14(2) = '12' )
        concatenate '2007'  dat1+4(4) into dat2.
       else.
        concatenate '2008'  dat1+4(4) into dat2.
       endif.
        if ( z_proration_table-begda <= dat2
                  and
             z_proration_table-endda >= dat2 ).
         out_table-prorate = z_proration_table-prorate.
        var1 = z_proration_table-prorate.
        endif.
       endloop.
      out_table-prorate = var1.     -
    this is the desired line
        select  single bet01 into out_table-hrrate
          from  pa0008
          where pernr = z_all_employees-pernr
          and   endda = '99991231'.
        out_table-hire = dat1.
       out_table-firstname  = z_all_employees-firstname.
       out_table-lastname   = z_all_employees-lastname.
       out_table-midname = z_all_employees-midname.
       write out_table.   -
    displaying in the report
        append out_table.
        clear out_table.
        clear dat2.
        endloop.
    Thanks
    Ravi

  • ALV report - remove of decimal values

    Hi experts,
    In my ALV report, output table having decimal values, ex:90000.50, i want to display only 90000,
    can help any one inthis.
    Thanks in advance.
    Regards
    Rams

    Hi,
    for that particular field in Field catalog..
    <ur field cat>-decimals_out = 0.
    see this sample code.
    type-pools: slis.
    DATA: begin of itab6 occurs 0,
    chk type c,
    a type p decimals 2,
    b type p decimals 2,
    c type c,
    end of itab6.
    data: ls_fieldcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
    wa_layout TYPE slis_layout_alv.
    itab6-a = '1.12'.
    itab6-b = '2.25'.
    itab6-c = '+'.
    append itab6.
    append itab6.
    append itab6.
    append itab6.
    ls_fieldcat-fieldname = 'A'.
    ls_fieldcat-seltext_m = 'A'.
    append ls_fieldcat.
    ls_fieldcat-fieldname = 'B'.
    ls_fieldcat-seltext_m = 'B'.
    ls_fieldcat-decimals_out = 0.  "this ll do
    append ls_fieldcat.
    ls_fieldcat-fieldname = 'C'.
    ls_fieldcat-seltext_m = 'C'.
    append ls_fieldcat.
    wa_layout-box_tabname = 'ITAB6'.
    wa_layout-box_fieldname = 'CHK'.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = sy-repid
    it_fieldcat = ls_fieldcat[]
    IS_LAYOUT = wa_layout
    TABLES
    t_outtab = itab6[].
    Cheers,
    jose.

  • Number with more than 10 decimal places display as 0 in report

    We have a number stored on a table as this long with several decimal values.
    2440.159999999999854480847716331481933593
    On one PC it display in a Crystal report as 0 and to another user it displays at the 2440.   The report formats the display field with 0 decimal places.
    Is there a max precision setting at the database level that is causing this? 
    It seems I can add an SQL express as follows:
         Round ("ORDER_RELEASE"."TOTAL_WEIGHT", 2) to resolve the issue but cannot determine could be causing the differences in display among two different client PCs running the same report.

    Hello,
    CR was built using C++ and therefore the max number is 15 digits plus 1 for the sign of the number.
    Cause could be different runtime of MS C++ but hard to say for sure. I any event the only work around is to use  Store Procedure and break the field into 2 parts. The in CR add a text object and drop the fields into it next to each other. For doing any calculations on them you'll also have to do that in the SP or handle each field manually.
    Thank you
    Don

  • Webi Report ignores decimal values

    Hi,
    I have a report which takes data from a BI Infocube. I have BOE XI 3.1 installed on two systems. When I run this report on one system, the report works fine and numeric values are displayed along with decimal values ( ex 100.25). However the same report when executed in the other system ignores the decimal values (ex 100).
    I check the preferred viewing locale in the preferences and it is set to default values in both the systems.
    I have no clue what could have gone wrong.
    Any inputs on this issue will be highly appreciated.
    Regards,
    Rahul Mainkar

    You are right. No Fix Pack is installed.
    Probably the system, which is NOT truncating the decimal part has been installed on a Windows server where the local system account has EN-US regional settings. This should not be the case for the system which is truncating your numbers.
    A work-around is to create a domain account which is member of the local administrators group on the BOBJ servers. You should log on once on each of your two servers using this account and adjust the Regional Setting (Start->Control Panel) to English-United States. Invoke the CCM utility and open the Properties window of your SIA and Tomcat. Enter the credentials of your new user in  the "Run as"  area and restart your services. This will solve your problem.
    Regards,
    Stratos

  • Display parameter values in separate sheet in Crystal Reports 2008

    Dear all,
    I am using CR 2008 SP6 and I want to provide/display the values of the parameters which the user has entered before executing the Crystal report.
    Is there any way to display this values, maybe on a separate sheet or area within the report?
    Any idea would be great.
    Best regards,
    Stefanos from Munich/Germany

    For single-value parameters, simply drag them to the report canvas to display them.  For more complext cases, see Printing Parameter Selections for Multiple or RangeValues in Crystal Reports&lt;/title&gt;&lt;/head&gt;&lt;body&gt;&lt;!…

Maybe you are looking for

  • Firefox keeps crashing after much troubleshooting...

    Whenever i put some load onto firefox as in multi tabs open... streaming, surfing, maybe a download... pretty much my normal interweb abuse it has been crashing... like every 5-10 minutes and it is killing me. Some fixes i tryed: -New profile -Update

  • Which headset would you recommend to go with SoundBlaster Z

    Hi, I've bought SoundBlaster Z about a year ago, and i am looking for some nice headset to go with it for the best sound experience. I currently have Fatal1ty, which ceases to suffice. There are either Tactic3D series, which have very tempting 3D sou

  • Give me hints how to re-create this table for best performance

    Dear Friends, I do not have any experience in good database desiginig practices. please advise me on this issue. i have this table here, it gets only data inserts mostly 99%, no deletes, and very very few updates that is neglizable, please suggest me

  • Still looking for book

    the book i am looking for is the first one to come out when fce4 came out and i think it was by a "ken" but not sure if it was ken burns or not ... the cover was red any body have a clue???

  • Nvidia NVENC and OBS

    Hello all!      I've seen things like this pop up only a few times on forums, but I am having a hard time getting video that was recorded using the Nvidia NVENC codec to play nice with Premiere CC.  I've recorded the video portion of a podcast using