07-20-2009 9:36 AM
Hello Everybody,
The ALV has some fields of data type QUAN.
I am summing up values in some of these QUAN fields while other QUAN fields are not to be summed.
When ALV is displayed, the QUAN fields that were not summed show 0.0 value instead of a blank.
I have tried clearing and shifting the leading zeroes to left. This doesn't work and 0.0 is always dispalyed.
I cannot use a structure of different type too.
Please let me know how to remove the 0.0 from final display.
Thanks
07-20-2009 9:46 AM
07-20-2009 9:40 AM
it can be only removed if u change the type of ur field from Quan(Numeric) to the character type.
By default any NUMC or P type will take the value 0.0 if its blank. Only character data type is able to take the value as blank.
07-20-2009 9:46 AM
07-20-2009 9:46 AM
HI,
This is only as per data format as per SAP standards.
Replace all the QUAN type fields in your internals as TYPE C wherever you need not to display 0.0 values.
System will automatically convert them as blanks.
Regds,
Anil
07-20-2009 9:46 AM
Hello,
Try options like NO_ZERO or NO_OUT based on your condition.
Cheers,
Balaji
07-20-2009 9:46 AM
07-20-2009 9:48 AM
Hi Shalaxy,
Please check the way to get the display from the quantity field according to you.Please chek this help document to get the details.
Link:[Currency Field|http://help.sap.com/saphelp_46c/helpdata/en/bf/1d4642bf3211d296000000e82de14a/frameset.htm]
Have a great day ahead.