FM 'REUSE_ALV_GRID_DISPLAY_LVC' : display zero value as '0.00' howto?

Hi,
this is weird: I have a couple of CURRENCY values in my display structure.
Whenever it is zero, the field is displayed as space, even in detail view.
There is no NO_ZERO set in field catalog.
Ist it possible to display zero values as '0.00'? - The values are present in the fields.
Please: Working solution for 'REUSE_ALV_GRID_DISPLAY_LVC'  (on 46C).
Regards,
Clemens

Hi Rich,
we defined our own dictionary structure.
domain in question is defined
<pre>
Data type        CURR      Currency field, stored as D
No. characters       13                              
Decimal places        2                                                                               
Output length        17                              
Convers. routine                                     
sign and lowercase NOT flagged
</pre>                                                     
In field catalog (built by FUNCTION 'LVC_FIELDCATALOG_MERGE') we set the reference field for currency key and it looks like
<pre>                                                     
ROW_POS              0     I     4
COL_POS             29     I     4
FIELDNAME     WERT08     C     30
TABNAME     1     C     30
CURRENCY                                                                                C     5
CFIELDNAME     HWAER     C     30
QUANTITY                                                                                C     3
QFIELDNAME                                                                                C     30
IFIELDNAME                                                                                C     30
ROUND              0     I     4
EXPONENT                                                                                C     3
KEY                                                                                C     1
KEY_SEL                                                                                C     1
ICON                                                                                C     1
SYMBOL                                                                                C     1
CHECKBOX                                                                                C     1
JUST                                                                                C     1
LZERO                                                                                C     1
NO_SIGN                                                                                C     1
NO_ZERO                                                                                C     1
NO_CONVEXT                                                                                C     1
EDIT_MASK                                                                                C     60
EMPHASIZE                                                                                C     4
FIX_COLUMN                                                                                C     1
DO_SUM                                                                                C     1
NO_SUM                                                                                C     1
NO_OUT                                                                                C     1
TECH                                                                                C     1
OUTPUTLEN     000000     N     6
CONVEXIT                                                                                C     5
SELTEXT                                                                                C     40
TOOLTIP                                                                                C     40
ROLLNAME                                                                                C     30
DATATYPE     CURR     C     4
INTTYPE     P     C     1
INTLEN     000013     N     6
LOWERCASE                                                                                C     1
REPTEXT     IFRS Bewertung (Net Realisable Value)     C     55
HIER_LEVEL              0     I     4
REPREP                                                                                C     1
DOMNAME     ZCURR13     C     30
SP_GROUP                                                                                C     4
HOTSPOT                                                                                C     1
DFIELDNAME                                                                                C     30
COL_ID              0     I     4
F4AVAILABL                                                                                C     1
AUTO_VALUE                                                                                C     1
CHECKTABLE                                                                                C     30
VALEXI                                                                                C     1
WEB_FIELD                                                                                C     30
HREF_HNDL              0     I     4
STYLE     00000000     X     4
STYLE2     00000000     X     4
STYLE3     00000000     X     4
STYLE4     00000000     X     4
DRDN_HNDL              0     I     4
DRDN_FIELD                                                                                C     30
NO_MERGING                                                                                C     1
REF_FIELD                                                                                C     30
REF_TABLE     ZFI_RMNIWE90_ZFI_MBEW_PER_ALV     C     30
TXT_FIELD                                                                                C     30
ROUNDFIELD                                                                                C     30
DECIMALS_O                                                                                C     6
DECMLFIELD                                                                                C     30
COLTEXT                                                                                C     40
COLDDICTXT                                                                                C     1
SELDDICTXT                                                                                C     1
TIPDDICTXT                                                                                C     1
DD_OUTLEN     000017     N     6
DECIMALS     000002     N     6
SCRTEXT_L     IFRS Bewertung (Net Realisable Value)     C     40
SCRTEXT_M     IFRS Bewertung (Net     C     20
SCRTEXT_S     IFRS Bewer     C     10
EDIT                                                                                C     1
TECH_COL              0     I     4
TECH_FORM              0     I     4
TECH_COMP                                                                                C     1
HIER_CPOS         0     s     2
H_COL_KEY                                                                                C     12
H_SELECT                                                                                C     1
H_FTYPE                                                                                C     3
DD_ROLL                                                                                C     30
DRAGDROPID              0     I     4
MAC                                                                                C     1
INDX_FIELD              0     I     4
INDX_CFIEL              0     I     4
INDX_QFIEL              0     I     4
INDX_IFIEL              0     I     4
INDX_ROUND              0     I     4
INDX_DECML              0     I     4
GET_STYLE                                                                                C     1
MARK                                                                                C     1
</pre>                                                     
Hope this information is sufficient.
Regards,
Clemens

Similar Messages

  • How to display Zero values in the chart

    Hi,
    In BO design studio 1.3 we are using bar chart and line chart for one of the dashboard. we have enabled the data labels and data is also displaying in the chart, but for certain criteria the data is itself zero in the database. In such scenario chart is not showing zero as the data label and it is simply blank. Is there any way to display the values even though it is zero?
    Thank You,
    Palani. 

    Hi - I don't see a way to do that; if you want that in the future I recommend posting something on Idea Place - ideas.sap.com

  • Displaying Zero Value in a Chart if there exist no database record.

    Hello All,
    I need to create a chart that displays the number of jobs per hour over a 24 hour period. I can determine the hour the job was created and I have no trouble making a chart with a count of jobs per hour. The problem is that I also want to display the hours that have no jobs on the chart. So in the hours where no job is created there is no database record.
    So inorder to show it in a chart  Zero values for a particular hour....how shd it be done if there is no zero values in the database  for a particular hour???? we dont have the flexibiltiy to  add a further table in the database..
    Any suggestions would be much appreciated.
    Thanks
    Regards
    Atul

    This is basically the same issue that is covered [here|Record selection issue in cross tab.;.
    HTH,
    Carl

  • Display zero value on a field of DEC type on a screen.

    Hi,
    I want to display an initial value of DEC field in an input mode on a screen.
    Zero values of a screen fields type DEC are only visible when property is set to "no input".
    Helpful tips will be appreciated.

    Something similar popped up recently, and there was no better solution found than declaring the screen fields as type CHAR and converting at PBO/PAI (in dynpro context) into the DEC values.
    Thomas

  • Displaying zero values when there was no data

    There are two columns 'A' and 'B' in the report which has some values.IF there was no data in the report,it shows the following system message
    +"No Results+
    +     The specified criteria didn't result in any data. This is often caused by applying filters that are too restrictive or that contain incorrect values. Please check your Request Filters and try again. The filters currently being applied are shown below."+
    My requirement was to shows the zero values instead of this message in the table format and should show the chart at 0 axis.
    Please give me your inputs and help me finding the solution
    Thanks in Advance.
    Edited by: user10414249 on Dec 1, 2009 2:22 PM

    Because a report with no records will not produce a record "with zeroes," you have to think of another way to let the client know that the report was produced successfully, but simply with no data. We faced this issue with auditing. If no report shows, how does the auditor know that there were no data rather than the report itself not working that day? So what I did is build a "NIL Report." It is a simple report that consists of two columns. The first column is the system date column. The second column is column in which in the fx button (edit formula), I put in a text like "There are no records for this day." The first column serves two purposes: one, to timestamp the report so the user knows what day the 'NIL Report" was generated, and two, to serve as a column because OBI requires at least one column for the report to run.
    I also added a footer to the report which had the name of the original report in the left pane and the run date in the right pane. The Title View also contains the name of the original report. Now when viewed, this report has all the essentials to indicate to the user that 1) the report ran successfully; 2) the title of the original report so the client knows which report is associated with the "NIL Report"; and 3) the date the report was run to timestamp the report.
    So in one of the two sections, in the Section>Properties, you will use the guid. nav. feature of the section to look at the ORIGINAL report, but this section will have the "If request returns nothing" checkbox" checked off. Put the "NIL Report" in this section. When the original report produces no records, this section will display so the client knows that there were no records.
    This is what I mean by a "meaningful report" -- a report that conveys the necessary information to let the user know what is going on. There is no way (that I know) where you can have the original report display "zeroes" when in fact there are no records at all.
    HTH,
    David

  • Multiprovider displays zero value for Key figure

    HI,
    Multiprovider contains 3 cubes, in which one keyfigure (YDAYS) presents in two cubes and assigned to multiprovider from two cubes. But iam getting zero value in the multiprovider level. But in the cube level getting the data. This problem iam getting in testing system.
    When i compated Develoment system and Testing system everything is correct, mapping, assignment .
    Any ideas what might be the problem
    Thanks / Venkata

    Check the report to see if it has any filters that is available in only one of the infoproviders. if thats the case then move the filter and make it restricted.
    Use RSRT to see which infoproviders are being hit when you execute the query. Look in detail. I had the same problem once and careful investigation revealed a filter that was at the report level instead of kf restriction level.

  • To Display Zero Value

    Hi All Expert,
    How can I define the zero value from ‘X’ to ‘0’ in BEx report.
    Example formula for Sales Tax = Prod Qty x Sell Amount / 5%
    Prod ID  |   Prod Qty |      Sell Amount  |    Sales Tax
    A001     |   1000       |    $50            |     $2500
    B001     |   0            |       $25             |    X
    Thanks for help!!

    BW,
    In the query properties deselect zero suppression - then your will see the zeroes...
    If you don't want to show X but want to show 0 instead - maintain the same in RSCUSTv4..
    Arun
    Assign points if useful

  • DB02 - space overview display zero values

    Hi Friends,
    When I executed DB02 t-code. I got zero values in the fields (Database, Users, Tablespace, Segments)
    I got the same with ST04 -> Space Overview.
    So, Please tell me the solution for this.
    Thanks & Regards

    Hi Varadhu,
    As per your guidance, I tried to check SAP_COLLECTOR_FOR_PERFMONITOR job which is scheduled hourly.
    It is executed successfully. But, When I checked the Job Logs , I found something wrong in this. I mention this as below:
    "Message text"
    Job Started
    step 001 started (program RSCOLL00, variant, user ID SHISHYA)
    Clean_Plan: Cleanup of DB13 Plannings
    Clean_Plan: Started by RSDBPREV on server sarswati
    Clean_Plan: Cleaning up jobs of system SD1
    Function DB6_PLAN_STOP_BATCH_JOB failed with return code = Job error
    Clean_Plan: terminated with error
    REASON=Job error
    Database system not supported
    Job finished
    I have checked system time zone in the tcode STZAC which is correct.
    So, Please tell me how to resolve this issue.
    Thanks & Regards

  • How to Display "Zero Value" or "No Data" Items in a Chart

    Hello All,
    I need to create a chart that displays the number of jobs per hour over a 24 hour period.  I can determine the hour the job was created and I have no trouble making a chart with a count of jobs per hour.  The problem is that I also want to display the hours that have no jobs on the chart.  I am currently converting all hour data to the text format "00:00".  For example, 9:35am would display as 09:00 (as would all jobs between 9:00am and 10:00am) and this is the value that I want displayed under each bar on the chart (x axis).
    Any suggestions would be much appreciated.

    Thanks V361,
    I was hoping to avoid adding a table to the DB with each hour.  I thought there might be a tricky way using arrays that I would be able to accomplish the report.  I have done a test using Excel and I can get the results that I wanted, so I will now probably add the table to the DB.
    Thanks for your input.

  • SIS some key figures are displaying zero value

    Dear all
    Following Key Figures in Standard SIS tcode like MCTE, MCTA, etc. are displaying as zero
    Incoming Return
    Credit Memo
    Credit memos qty
    Returns items
    Returns Quantity
    MC+6 is displaying all the key Figures as zero.
    What may be the reasons
    Regards
    Vipin

    Dear Babubala
    In MC26 I am getting below warning for Incom. Returns, Gross returns, Net Returns 1, Net Returns 2, Returns items, Returns Qty
    Incom. returns: Updating with date field VDATU can be set up restrictively only
    Message no. M!208
    Diagnosis
    While updating the key figure Incom. returns the data field MCVBAP-VDATU for the period determination is used.
    Updating via MCVBAP-VDATU causes a different result online as for statistic data set up. Online, MCVBAP-VDATU is filled with the current date (SY-DATLO); during set up, however, it is filled with the creation date MCVBAP-ERDAT of the item.
    By using VDATU document changes you can see in the statistics that this type of 'delta updating' cannot be reproduced by a statistic data set-up. During the set-up the data is updated in different periods as in online updating, thereby causing the change history to be lost.
    Procedure
    Be certain that this is the type of updating you want.
    In MC26 the Credit Memo Update Setting is VD Billing document and Type of Updating is A     Cumulative updating
    while as in Credit memo pricing procedure there is no subtotal. How to maintain it in Pricing procedure and in MC26 because in MC26 after pressing the change button the system is displaying the following message "Maintenance of SAP standard updates not allowed"
    Regards
    Vipin

  • Sort not Displaying 0 Value

    Hi,
    I have applied a condition for Sorting in ascending order as Top % and 100 for the selected Key Figure.
    However, the report does not display Zero values for the key Figure after sorting.
    How can i take care of this limitation?
    Regards
    Shweta

    Hi Shweta,
    if u r using condition for ascending then ur zeroes should come in that range , if it not then u have to increase  your value limit . But this will depend on your requirement ..
    Regards..

  • Hide Zero Value's?

    I want to have an onvoice set up so I can enter an item number, cost and then a subtotal.
    I would like it so that the various sub total boxes do not display zero values.
    How do I do this, amazingly frustrating.
    Also what is amazingly frustrating is that trying to 'google' questions for the program Numbers produces sweet bugger all...because its called NUMBERS.
    urgh.

    This is the way I would approach this:
    let's say B1 is  a cell that contains a subtotal...  In this example the subtotal is in cell A1...
    B1=IF(A1=0, "", A1)
    this is shorthand for... select cell B1, then type (or copy and paste from here the formula:
    =IF(A1=0, "", A1)
    this formula indicates to compare the value in A1 to zero.  If they are equal then return the null string (or nothing, like Ian suggested), otherwise return the value of cell A1

  • Withholding tax showing zero value in vendor line item display report

    Hello Friends,
    I have facing one strange issue in withholding tax, when im executing report of vendor line item display(fbl1n tcode) the column for withholding tax is showing zero value for some documents even though the tax is been deducted which is clearly visible in f-02 entry.
    Kindly help me on this!
    Regards,
    Sunny

    Hi,
    1.Please check the WHT config has been done properly.
    2.Check the vendor master and varify tax fields are filled up.
    Regards

  • How to Display WBS's with Zero values in a report created by CJE2

    Hi All,
    I have created a report using CJE1 (Report painter). When I execute the report, it only shows WBS that have values. How do I display WBS elements that do NOT have values? i.e. display items with zero values. I'm certain there is a setting either within report painter or forms...
    Help appreciated.
    Samir

    Menu>Formatting>Report Layout and then tab Rows. Check if setting under 'Treatment of zero rows' helps.
    Regards
    Sreenivas

  • Initially net value display zeros on selection screen

    hi friends,
    I created one modulepool program in that on the selection screen NTGEW(net wt)
    field initially displays zero like 0.000, but the user wants it to be blank with out zeros. please sujjest me.
    thank u,
    with regards,
    prasad.

    Hi,
      For the NTGEW field make sure to populate the corresponding reference field also...
      Let's say an example..
      If your field name is MARA-NTGEW and the reference field is MARA-MEINS.
      Make sure to have the field MARA-MEINS populated with the UOM value.
    Thanks
    Naren

Maybe you are looking for

  • 2 Threads issues. How to return data from a thread located in other class

    I have 2 questions. This is the context. From main I start one thread that does a little job then starts another thread and waits for it to end to continue. 1) The last started thread needs to return a string to the Thread started from main. How can

  • Itens of legend in the same line

    Hi, I built a chart and now I need to put the itens of legend in the same line, but the each iten is in a new line. How I can modify this? The code XML of legend <.legend enabled="yes" x="80" y="0"> <.names enabled="yes"> <.font type="Verdana" size="

  • Syntax for Database query on a simple java appl?

    Connection con; private boolean conFree = true; private String dbName = "java:comp/env/jdbc/gene"; public geneDB () throws Exception { try{      Context ic = new InitialContext();      DataSource ds = (DataSource) ic.lookup(dbName); con = ds.getConne

  • Fireworks - never again

    Hello everyone I am using CS5 DW and  Fireworks. I  am so frustrated and digusted with Fireworks. It has been a sheer  nightmare using this program. The glitches are unbelievable and the  amount of time I have wasted on using this will never be recou

  • Application Server couldn�t start

    Dear All, I'm facing some problems on starting Application Server 8 on Win XP SP2. When I start Default server it apperars a window console saying: Starting Domain domain1, please wait. Log redirected to C:\Sun\AppServer\domains\domain1\logs\server.l