Displaying as 0 (zero)

Gurus,
I have a multi record block, in which I will be entering 3 amounts against a date .. Date is populated automatically for the first time (when new block instance)
Now, for a given date, i am entering values 100, 100, 100 .. I am selecting Add Week push button, which has basic functionality of adding one week to the displayed date... Now the problem is, when I am selecting add week push button, whatever values entered are becoming 0 (zero)
How to overcome this issue
Regards

Hi,
Thanks for your replies ... Well, let me clearly put what my requirement is
I have 3 blocks ...
1st block allows to select dept and class -- non database block
2nd block -- multi record block, which displays all the records satisfying the dept and class -- database block
3rd block -- couple of push buttons .. a) add week b) Ok 3) Cancel
Now after selecting dept and class, i am getting 10 records matching the condition -- i have written query in when new block instance
Now say suppose in 11th record, i have entered values ... suppose 100, 100, 100 (3 different text items)
when i goto 3rd block using mouse or tab .. when i come back to 2nd block .. i am getting duplicate records (because when new block instance trigger is getting fired) .. so, 11th record values are displayed as 0 ...
100 -- dept
101 -- class
10-sep-2007 10 10 10
17-sep-2007 20 20 20
24-sep-2007 30 30 30
01-oct-2007 100 100 100 - --- new record entered
Now i go to ok button .. without pressing that .. i come back to multi record block, by clicking mouse in that block ..
now my 2nd block shows like this
10-sep-2007 10 10 10
17-sep-2007 20 20 20
24-sep-2007 30 30 30
01-oct-2007 0 0 0
10-sep-2007 10 10 10
17-sep-2007 20 20 20
24-sep-2007 30 30 30
01-oct-2007 0 0 0
Hope you got my point
Can anyone please help me
Regards
Edited by: Seshu2 on Sep 5, 2008 1:44 AM

Similar Messages

  • Dimming Display Brightness to Zero

    Hello All,
    I have been having a problem with the display brightness adjustment for a long time. Basically, the display of my 17" 1GHz G4 cannot be dimmed to black. From the System Preferences the display brightness can be lowered with the slider. In the final third however dragging the slider further to the left not only does not reduce the brightness it actually slightly increase it, and the display start to flicker.
    Any ideas what could be the cause?

    That model doesn't support dimming the display brightness to zero, except through Energy Saver (which may not work with all third party USB devices), or a screen saver that has a picture that shows nothing but black. Some third party hacks dim the display, but they are not necessarily that reliable.
    Only Apple's notebook displays dim to full black.

  • To Display Space as  Zero in the report output

    Hi ,
    We have a situation like there is no record in the cube for a particular date selection , the output in the report for the date shows as Space , now the question is how do we display Space as Zero in the query ouput.
    We have the option to Display Zeroes as spaces .
    Please help..
    Thanks,
    Sruthi...

    Hi Sruthi,
    Can you try this.
    Create Formula for each KF. In the formula definition just add key figure (Ex: if the keyfigure is KF1 then in the formula just drag KF1) and save it. Name this formula as your original keyfigure. Formula may return 0, if the keyfigure doesnt have any data.
    Hope this helps.
    Veerendra.

  • Display of leading zeros for a GL account in FS00

    Hi all,
    does anyone know is it possible to set something in SAP so that in transaction FS00 the gl account number is displayed with leading zeros? Now they are removed.
    Thanks!
    D.

    Hi Dusan,
    "Alpha conversion" is already implemented on the domain (SAKNR) itself. You can modify the system (take out conversion exit "ALPHA") from domain SAKNR but I'm guessing this might create inconsistencies in many other dictionary objects.
    I think it's better to consider alternavtives - like using character + number as GL account (e.g. A345999)..
    Best regards, Kyoko

  • Problem displaying the value zero in dashboard

    Hello,
    I have a problem displaying the value zero.
    When I am Treat Numbers As number, the value that appears
    When Treat Numbers As Percentage box is empty.
    Can you tell me how to display this value when the criterion
    is in percentage format.
    thanks for answers
    Best regards

    cast the number as float or multiply by 1.00 e.g. 1.00 * table.column

  • Display xero as zero and null as space in BEx excel reports - urgent

    How do I set query properties, where difference of 2 key figures is if zero will display zero. but if there is a key figure which has a null value (not assigned), then difference between 2 KFs will be space.
    Thanks
    Swati

    Could you please fix the code below. I need range as A1:Z2000.. covering almost whole worksheet.
    Sub SAPBEXonRefresh()
    ' SAPBEXonRefresh Macro
    ' Macro recorded 7/24/2008 by RR
        Application.Run "ZSD_O01_Q001.xls!SAPBEXonRefresh"
        Range("A1:Z2000").Select
        Dim c As Range
    For Each c In resultArea.Cells
    If c.Value = "#" Then c.Value = " " .
    Next c
    End Sub
    End Sub
    Edited by: Swati Sharma on Jul 25, 2008 7:02 AM

  • Display dates with zeros for month, day, year.

    I have a date coming from a database as an int (20021215 means 12/15/2002). If the database gives me a "0", meaning no date value is assigned, then it should be displayed as "00/00/0000". The following code snippet works for the non-zero int database values ...
    public static String formatDisplayDate(int date) {
        String dateAsString = null;
        if (date == 0) {
            dateAsString = "00000000";
        else {
            dateAsString = Integer.toString(date);
        String strYear = dateAsString.substring(0,4);
        String strMonth = dateAsString.substring(4,6);
        String strDay = dateAsString.substring(6);
        int year = Integer.parseInt(strYear);
        int month = (Integer.parseInt(strMonth)) - 1;
        int day = Integer.parseInt(strDay);
        DateFormat myFormat = DateFormat.getDateInstance(DateFormat.SHORT);
        Calendar cal = myFormat.getCalendar();
        cal.set(year, month, day);
        Date myDate = cal.getTime();
        String formattedDate = myFormat.format(myDate);
        return formattedDate;
    }Although I didn't really expect the zero values case to work, I am not sure how to implement it. How would I go about building a string using all zeros and still have it automatically display in the correct locale format?
    Any help is appreciated.

    Thank you for your response. I agree a blank field would be better, but I think the "zeros" format is there to give the user an idea of expected date entry formatting, not that they'll necessarily follow it. I have made a few changes per your suggestions (shown below for the record, minus the exception handling), and it works perfectly.
    public static String formatExternalDate8(int date) {
      String dateAsString = null;
      if (date == 0) {
        dateAsString = "00010101";
      else {
        dateAsString = Integer.toString(date);
      int year = Integer.parseInt(dateAsString.substring(0,4));
      int month = (Integer.parseInt(dateAsString.substring(4,6))) - 1;
      int day = Integer.parseInt(dateAsString.substring(6));
      DateFormat myFormat = DateFormat.getDateInstance(DateFormat.SHORT);
      Calendar cal = myFormat.getCalendar();
      cal.set(year, month, day);
      Date myDate = cal.getTime();
      String formattedDate = myFormat.format(myDate);
      if (date == 0) {
        formattedDate = formattedDate.replace('1', '0');
      return formattedDate;
    }Thanks again for your assistance.

  • Display of leading zeroes when downloaded from ALV to excel

    Hi All,
    I have a problem in ALV grid display.
    There is a specific field which has value starting from '001' to '999'. This is a char(3) type of variable.
    The problem is that the display shows the value as '001' which is correct. but when the same file is dwnloaded to excel using standard SAP functionality, the value of the field gets changed to '1' instead of '001'.
    Is there any option by which this can be controlled. Please let me know, its urgent!!
    thanks

    hi Ankur,
    the Excel download is done by Z program? IF yes you have to do:
       SET PROPERTY OF go_cell 'NumberFormat' = '@'.
    this will set the Excel cell to Text type and leading zeros won't be lost.
    ec

  • Displaying no default zeroes for the numeric field in the table display.

    hi folks,
         I am binding a table in the context which has some numeric fields. I'm  displaying the same table which has some records for editing purpose. But the problem is that the numeric  field column is being displayed with zeros if it doesnot have any value in it. Can u explain how to disable the zeroes by not displaying them by defualt when there is no value for the numeric field.
    regards,
    Ramu

    set the format of the context attribute TEST is the context attribute name
    data: lr_info type ref to if_wd_context_node_info.
    data: ls_prop type WDY_ATTRIBUTE_FORMAT_PROP.
    lr_info = wd_context->get_node_info( ).
    ls_prop = lr_info->GET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST' ).
    LS_PROP-NULL_AS_BLANK = 'X'.
    lr_info->sET_ATTRIBUTE_FORMAT_PROPS( name = 'TEST'
                 FORMAT_PROPERTIES = ls_prop ).
    Abhi

  • How to display space as zero in query o/p

    Hi all,
    In a key figure i'm having no values.
    I dont want to display space,instead i want to display zero in the query o/p.
    can anyone pls help this.
    Regards,
    shaw

    Hi Shana,
    You can define this setting in SPRO
    Go to SPRO -> SAP Reference IMG -> SAP Netweaver -> BI Settings -> Setting for reporting & Analysis ->Genral Setting for reporting & Analysis  -> Presenting numeric values in BEx
    here you will find the option to define as 0 for no values(If value does not exist)
    Hope it helps
    Sriman

  • IHow to force display of trailing zeros for fixed point numbers?

    I have an 8 bit unsigned fixed point number, with 7 integer bits and 1 fractional bit, so the desired delta is 0.5. I want it to always display the fractional bit, even when that bit is 0. In other words, as this number is incremented, I want to see:
    0.0
    0.5
    1.0
    1.5
    etc.
    But instead I'm seeing:
    0
    0.5
    1
    1.5
    etc.
    I set the display format to Floating point, with 1 digit of precision. The "Hide trailing zeros" checkbox is NOT checked. What am I doing wrong?
    I realize I could convert to single precision for display purposes to make this happen, but I'd rather make this work with fixed point.
    Thanks,
    -Ron

    I just rustled up a VI with what I understand your input to be - unsigned 7 bit mantissa and 1 bit exponent input, and have it displaying 2 decimal places.... Is this what you're after or did I miss it?
    - Cheers, Ed
    Attachments:
    zeros.vi ‏7 KB

  • ODS infoobject data not displaying exactly but zeroes

    I have got one infoobject values displaying Zeroes in the ODS and its data is coming from the difference between the two dates using the update rule (ABAP Code)  (i.e 19/09/06-09/09/06=9. 9 should be displayed in this object)but the data is displaying zeroes for some of the fields even if the dates are there in the production.
    Trails I made: I loaded data again and I checked all the Update rules and transfer rules.All are perfect but no Solution.

    Hi Suryam,
    Just check in PSA whether the two date fields that are being used for your routine are being populated.Then try to debug once..its simple,give your user name as BREAK KRISH, if its my user name..and simulate from the Monitor, then you can find where it is really missing.
    Thanks,
    Krish

  • Display only non zero values  in rows

    Hi Friends,
                      I have a key figure "X', and it is split over 12 months (aging buckets), by using formula, but I want to filter values with zero values ie I want to display all non zer values only.
    This looks like
    Apr        100   
    May       200   
    Jun         200 
    Jul            0   
    Aug
    Sep
    Oct
    Nov
    Dec
    Jan
    Feb
    Mar
    In the above example I dont want to display 'Jul' at all, and the rest should be displayed, Wherein all the above are formula(Apr, May,......)
    Is it possible ?
    If so , what is method.
    I tried supress in query properties , Like supress zeros, but it is not working.
    Suggest me
    Points assured.
    Sanjay

    Dear Gupta,
                       In my case condition is not working, as I want to display values that ae non zeros. If I am using conditions, none of the values are displayed like Apr, May,Jun, Jul, etc........, I want to display all values except Jul as that values is zero as per my example.
    Please suggest
    Sanjay.

  • Unit value displaying with trailing zeroes

    guys
    i have unit value which is displayed corectly in psa but it is coming wrong into ods. if unit in psa is 78 ods is adding 3 zeroes and displaying not sure why it is happing..this is causing problem .
    can u please help us out...?

    assigned a unit in the DTP

  • BEx Analyzer: Display values with Zero data

    Hi,
    I urgently need to know something about BEx QD/Analyzer:
    If I drilldown e.g. Customer into the rows, it only shows me those customers for which there are values in place. However, I need to see all Customers, i.e. also the ones where the values are zero.
    How can I do this in Bex Analyzer or if needed BEx QD.
    Thanks
    Sabine

    Thanks,
    but it won't be possible to create a multiprovider just for that.
    Maybe I wasn't clear enough
    If a have Customer A, Cust B and Cust C and I drilldown by customer in the rows, then the system only shows me Cust B and Cust C, because for a there has been e.g. no turnover in one specific month.
    But in the drilldown in the report, I still want to see Cust A as well, even though the value is zero. So I should just see an empty line (instead of the key figures for Cust A).
    Guys, that must be possible!! Help me
    Sabine

Maybe you are looking for

  • PDF Export Exception in  Weblogic 11g on Linux.

    Dear Experts, The problem we are facing is while exporting PDF  thrugh  JRC 12. The exception is given below, Report printer was not valid, switching to default printer. Start time for exporting: 3525442149541 - Disk Exporter: no output file was crea

  • Adobe thinks I have more than two computers

    I recently purchased Adobe Creative Suite 4 Production Premium. I only have two Windows computers. One is running 64 bit Vista Ultimate and the other one (a laptop) is running Vista Home Edition. I installed the Adobe suite on both machines without i

  • A serious problem with JTable to update with new data.

    I am customizing a JTable. In the table 3 rows and row wise same data presents. After every 30 sec table will be update with new data. But a exception is coming like: ArrayIndexOutofBound 4>=0. Exception is not coming so frequently some time it comes

  • HTTP 404 Not found OEM login error

    Hallo!I have installed Oracle 11gR2 on a HP-UX Itanium server.I have been using OEM seamlessely for several weeks.However,I am getting the error below. I am able to lauch OEM from its url https://<ip_address>:1158/em/console/aboutAppplication When I

  • Keyword edit view

    A keyword edit view would be nice. Just some UI widget that would one more easily create, delete and edit keywords. The current UI is pretty tweaking when trying to create parent-child relationships (try adding Apple under Zebra when you have hundred