BO 5.1.8 - Decimal "zeroed" in reports though DB data contain decimal valu

Hello,
I've a problem with a report.
In my DB2 8.2 db I've a field defined as "DECIMAL" (that contains values with decimal of course...ex.: 100,48).
In my report, I get all the decimal of that field (and others) rounded like "xxx,00" (ex.: 100,00)
The values before de decimal are correct, but the values after the decimal are all ",00"
Within the data manager, I can see the values without decmals (ex: 100), so I weel understand it comes from that part, but how can I change this?
I've checked the Regional settings of my PC, all possible config in BO and in DB2 client but cannot find a clue for this.
Any suggestion would be warmly welcomed!!
Thanks a lot.

Hi Jean,
Could you please test the following solutions.
Solution1:
1.Change the object definition in the designer by adding Zero (0) or by multiplying with One (1).
Ex: SalesRevenue*1
Or
SalesRevenue+0
2. Save the Universe and test the issue.
Solution2:
Use database-level syntax to convert the numeric database field to a string so that Deski Reports will interpret it as a string type, and display all of the characters.
For example, in Oracle, cast the number using to_char () and in Microsoft SQL Server use CAST() or STR() prior to adding the field to the report.
Regards,
Sarbhjeet Kaur

Similar Messages

  • BO 5.1.8 - Decimal "zeroed" in reports though DB data contain decimal value

    Hello,
    I've a problem with a report.
    In my DB2 8.2 db I've a field defined as "DECIMAL" (that contains values with decimal of course...ex.: 100,48).
    In my report, I get all the decimal of that field (and others) rounded like "xxx,00" (ex.: 100,00)
    The values before de decimal are correct, but the values after the decimal  are all ",00"
    Within the data manager, I can see the values without decmals (ex: 100), so I weel understand it comes from that part, but how can I change this?
    I've checked the Regional settings of my PC, all possible config in BO and in DB2 client but cannot find a clue for this.
    Any suggestion would be warmly welcomed!!
    Thanks a lot.

    Hello Jean Marc,
    Please post this query to the [Legacy Products|SAP BusinessObjects BI Legacy Products;  forum.
    That forum is dedicated to topics related to legacy products such as Business Objects Enterprise 5.x and 6.x.
    The forum is monitored by qualified technicians and you will get a faster response there.
    Also, all Legacy Product queries remain in one place and thus can be easily searched in one place.
    Thanks a lot,
    Falk

  • APEX 4 Interactive Report set font color of negative values to red

    I have an interactive report with several columns containing numerical values. If the value is negative, I want the font color to be red. Can someone help me with this process please.
    Application Express 4.1.1.00.23
    Thanks!
    Chris

    Hi,
    Use build in highlight
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/ir_using.htm#sthref1343
    Then save report default layout
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/ir_using.htm#CHDDDBCG
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • How to delete decimal values zeros

    Hi experts,
    i am using mseg-menge field ( lenth13 and decimals 3) in my alv grid report.
    eg: 2.3456.000
    user wants only  2.3456 no decimals.
    how we can aviod decimals 0 s in report.
    thanks in advance.
    mahahe

    I search this ways in the forums:
    Shift
    SHIFT varb1 RIGHT DELETING TRAILING '0'.
    write: gv_variable decimals 0.
    SHIFT VALUE LEFT DELETING LEADING '0'.
    Shift2
    DATA: T(14) VALUE ' abcdefghij',
    STRING LIKE T,
    STR(6) VALUE 'ghijkl'.
    STRING = T.
    WRITE STRING.
    SHIFT STRING LEFT DELETING LEADING SPACE (or use 0 to detete 0).
    WRITE / STRING.
    STRING = T.
    SHIFT STRING RIGHT DELETING TRAILING STR or 0.
    WRITE / STRING.
    Shift3
    data amt(6) type p decimals 3 value '123.450'.
    data amt1(6) type p decimals 2.
    data amt_c(6) type c.
    unpack amt to amt_c.
    shift amt_c right deleting trailing '0'.
    pack amt_c to amt1.
    write amt1.
    use FM
    FTR_CORR_SWIFT_DELETE_ENDZERO
    this FM will remove all the zeros from decimal values like
    value - 234.8000000
    output - 234.8
    IF
    data: var1 type p decimals 3,
          var2 type p decimals 2,
          var3 type p decimals 1.
    move '12345.100' to var1.
    move var1 to var2.
    move var1 to var3.
    if var2 = var1.
      if var3 = var1.
        write var3.
      else.
        write var2.
      endif.
    else.
      write var1.
    endif.
    I hope that this solve your problem.
    Cordial greetings.

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

  • Report for which data is zero

    HI I have a report which show measures for different quarters.
    1) for those quarters for which the measure value is zero is not shown in the report
    2) I want those quarters to be printed with zero in report
    Kindly help me thanks

    In that only 5 country has entry in fact tableYou need to use what i said in the above post(using case function).....if not,what dimension tables are you joining this fact to in BMM layer place a outer join condition so that even the final record also will fetch you result.
    By,
    KK

  • Decimal value inconsistency in web reports

    Hi All,
    I have a scenario where reports running on test and quality server are showing different outputs in wad in terms of decimal notation.
    In one system the currency key figure is coming as 3,500.00 while in other system value is appearing as 3.500,00.
    Basically decimal and comma values are getting replaced. We have check SU01 settings also and they are maintained in simlar manner in both systems. Is there any other place where these settings are maintained in system which is leadng to this discrepancy. Please let us know if there are some settings in SPRO or somewhere else which are system dependent and is causing this issue.
    Thanks
    Rahul Mahajan

    Hello,
    Are you executing both the reports in same work station or different work stations ?
    Because the windows settings ( control panel -Time and date settings) will influence the ','  and :." notation in all reports, though not specific to web reports.
    Are you also facing the same issue in work books also ?
    Regds,
    Ravi

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

  • Any std funtion(s) for Zero-padded, 2 decimal value, without the deci point

    Hi,
    We want Zero-padded, two decimal value, without the decimal point. For example if it is 14.31, we need 001431.
    I have done "multiply" with 100 and "formatNumber" as '000000'
    SFIeld --> multiply * 100 --> formatNumber (000000) --> TField
    It works good for values with decimal like above 14.31, does it work for everything else too? I mean for 12 it is populating as 001200. Is this best approach? Is there any other std funtions or UDF sample available?
    Regards,
    N@v!n

    >
    N@v!n Kumar wrote:
    > Hi,
    >
    > We want Zero-padded, two decimal value, without the decimal point. For example if it is 14.31, we need 001431.
    > I have done "multiply" with 100 and "formatNumber" as '000000'
    >
    > SFIeld --> multiply * 100 --> formatNumber (000000) --> TField
    >
    > It works good for values with decimal like above 14.31, does it work for everything else too? I mean for 12 it is populating as 001200. Is this best approach? Is there any other std funtions or UDF sample available?
    >
    > Regards,
    > N@v!n
    public void convert_number(String[] FieldValue,ResultList result,Container container){
    FieldValue = FieldValue * 100;
    result.addValue(FieldValue);

  • Leading zeros in report.

    Hi,
    I have got a char Tracking number of type numc . I have loaded the data using alpha conv routine. So when i look at cube content my char is showing leading zeroes for the values. but in reports I am not able to see leading zeroes. what setting needs to be done and wher should I do it to obtain values with leading zeroes in report??
    thanks in advance.

    Interesting Issue...
    Jst in case are you looking at the same data/same selections ?
    Any Coding/VBA used to suppress zeroes ?

  • Leading Zeros for Decimal values

    Hi,
    In my requirement i need to add leading zeros for Decimal values.
    For Example.
    If the value is = 0.00 then my Target value should be = 000000000000.00
    Regards,
    Anil.

    Hi Anil,
    You have to use conversion exit ,
    Kindly go through this link below:
    Re: Conversion exit: numbers in database, two decimals on screen
    Hope it helps
    Regards
    Mansi

  • [svn] 3189: Accepted patch supplied in SDK-16641 and SDK-16643 to fix bad text measurement when the textIndent style is non-zero (as reported in SDK-16454 and SDK-15558).

    Revision: 3189<br />Author:   [email protected]<br />Date:     2008-09-11 17:33:50 -0700 (Thu, 11 Sep 2008)<br /><br />Log Message:<br />-----------<br />Accepted patch supplied in SDK-16641 and SDK-16643 to fix bad text measurement when the textIndent style is non-zero (as reported in SDK-16454 and SDK-15558). The reported width should include the indent.<br /><br />Although this fixes the problems reported with Accordion and Button labels (and some other components like Panel that appeared in the bug examples), it doesn't fix the Text component (even though it appeared in the bug eaxmple for SDK-15558). For example, the following still is truncated for some reason:<br /><br /><mx:Text text="This mx:text gets truncated" textIndent="50"/><br /><br />This is presumably a separate bug, so I'm accepting the patch as being a step forward even if not a complete solution to textIndent-related measurement problems.<br /><br />Reviewer: N/A<br />Bugs: Patch SDK-16641 for SDK-16454; Patch SDK-16643 for SDK-15558<br />QA: Please file a new bug for the <mx:Text> problem.<br />Doc: No<br /><br />Ticket Links:<br />------------<br />    http://bugs.adobe.com/jira/browse/SDK-16641<br />    http://bugs.adobe.com/jira/browse/SDK-16643<br />    http://bugs.adobe.com/jira/browse/SDK-16454<br />    http://bugs.adobe.com/jira/browse/SDK-15558<br />    http://bugs.adobe.com/jira/browse/SDK-15558<br />    http://bugs.adobe.com/jira/browse/SDK-16641<br />    http://bugs.adobe.com/jira/browse/SDK-16454<br />    http://bugs.adobe.com/jira/browse/SDK-16643<br />    http://bugs.adobe.com/jira/browse/SDK-15558<br /><br />Modified Paths:<br />--------------<br />    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/core/UITextFormat.as

  • 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

  • How to get the leading zeros for decimal values?

    Hi,
      How i wil get the leading zeros for decimal values.For CONVERSION_EXIT_ALPHA_INPUT it is not working.Now iam using overlay condition for getting leading zeros.But iam getting the value like 00013.500.But as per my requirement i want to display this value 0000013.5.
    my code is
                    overlay w_MetLife_detail-rdempsalary with '000000000'
                    data :rdempsalary     type char9
    Please help me on this.
    Regards,
    Sujan

    Hi
    For more info,
    The function of the statement UNPACK is based on the fact, that the BCD display of a decimal place corresponds to the second half-byte of code of a digit in the most character representations. This conversion is commonly called "unpacking".
    The statement PACK to pack is obsolete and can be replaced by MOVE.
    If destination is specified as untyped field symbol or as untyped formal parameter and is not flat and not character-type during execution of the statement, then an untreatable exception occurs in Unicode programs. In non-Unicode programs, an exception occurs only with deep types, whereas flat types are treated as character-type types.
    Example
    After the assignments,char1 and char2 contain the values "123.456" and "0000123456".
    DATA: pack  TYPE p LENGTH 8 DECIMALS 3 VALUE '123.456',
          char1 TYPE c LENGTH 10,
          char2 TYPE c LENGTH 10.
    MOVE   pack TO char1.
    UNPACK pack TO char2.
    Regards

  • Getting wrong values  for decimal value in Bex report

    Hi,
         I am getting some problem in Bexreport decimal values.
       In ODS i am able to look the values for this key figure
      (Total PO Release Val)= 140.692,00,the same value in Bex report looks like this $ 140,692.00.
         Here one calculation is going with these above values
       % Used = 'Total PO Release Val' / 'Target Value' * 100
        as per ODS value calculation  it is correct = 140.692/1000 * 100 =14.692
       as per Bex  it is coming like this = 140,692.00/1000 *100 = 142.692.
        in Bex report Percentage valus is not considering value is taking as 140,692.00 rather than 140.692.I mean to say decemal values are ignoring while calculation in Bexreport.can you any please advice me how to comeout of this problem.Appreciate your help.
    Regards
    Ramesh

    <i> "(Total PO Release Val)= 140.692,00,the same value in Bex report looks like this $ 140,692.00."
    </i>
    How do you check the ODS value? The amount will only have two decimal places after it, so you can't have a value like 140.692,00. It seems to be an issue of user's decimal notation (where decimal is represented by comma, and thousand seperator by '.'). Go to user profile, change this setting (in default tab) to correct one (ie decimal being represented by '.') and login again and check it. The value that you see in ODS is 'one hundred forty thousand six hundred ninety two, the same that you get in Bex, only the representation is different).

Maybe you are looking for

  • Having two LR catalogues and using an external hard drive?

    I use LR as my primary image storage/editing application and have gathered about 250 gb worth of photos on my macbook pro internal drive. I need to transfer everything to an extenral hard drive and just edit the images from there, but have a question

  • Something went wrong error message in Nokia Asha 5...

    Hi All, I am getting an error message  Something went wrong  for my Nokia Asha 502 mobilephone while using the camera application, I am getting this message in the background . Kindly advice how can I permanently fix this issue. In one occassion I re

  • Synchronous and asynchronous processes communication in WLI 8.1

    Hi all, I'm using workshop with WL 8.1 to design by business processes. I have created one process which is invoked synchronously via a client request with return. Than I call this process in web flow. The process publishes message in the MB, which c

  • Facebook and Twitter resolution problems in iOS 7.0.3

    Yesterday i updated my iOS to 7.0.3, since the update both my Twitter and Facebook apps have shrunk to the middle of the screen with all the text overlapping. i have rebooted iPhone several times and reinstalled both apps and still the problem is the

  • Selecting all files from JFilechooser and renaming them??

    dear all i am working on a application that selects the jpeg,jpg,jpe files form the jfilechooser with an additonal botton rename which calls the rename method and the selected file is renamed. i have been succssful in mselecting one file and renaming