Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Printing zero totals in ALV List Display

Former Member
0 Kudos

Hi everyone,

I have created an ALV Grid using the function modules 'REUSE_ALV....'. I have several quantity fields (ie, MARD-LABST) that are being output. These fields are totaled via the Layout option on the ALV Grid. When these total fields are shown on the screen, values of '0.000' are reported. When printing, these values show as spaces. The line item values of zero are printed, however, only the total lines generated via the layout option become spaces. The values for fieldcat-no_zero and fieldcat-lzero are initial. Our users would like to see '0.000' for any line item or total that has no value. Does anyone have an idea on how to retain the '0.000' when printing?

Thanks for your time!

Laurie

1 REPLY 1

former_member537709
Discoverer
0 Kudos

Hi Laurie,

Try to convert data type Quan (ie, MARD-LABST) to NUMC in your itab field structure.

Haris