Application Development and Automation 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: 
Read only

ALV LIST

Former Member
0 Likes
461

hi gurus,

i am using alv list to display output. in that first field is character field and other five fields are floating numbers. now when i insert some text in char field

in first line. and if i see output i get

for eg.

abc 0.00 0.00 0.00 0.00 0.00.

if i dont want these zeros. and only want. abc in first line and all other empty

eg.

abc

how can i do this.

thanks in advance.

Vinod

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
444

set W_FIELDCATALOG-NO_ZERO = 'X' for all Columns while Fieldcatalog table is being built.So that If entire has ZERO values ,It does not display ZERO's.

hi gurus,

i am using alv list to display output. in that first field is character field and other five fields are floating numbers. now when i insert some text in char field

in first line. and if i see output i get

for eg.

abc 0.00 0.00 0.00 0.00 0.00.

if i dont want these zeros. and only want. abc in first line and all other empty

eg.

abc

how can i do this.

thanks in advance.

Vinod

2 REPLIES 2
Read only

Former Member
0 Likes
445

set W_FIELDCATALOG-NO_ZERO = 'X' for all Columns while Fieldcatalog table is being built.So that If entire has ZERO values ,It does not display ZERO's.

Read only

former_member386202
Active Contributor
0 Likes
444

Hi,

For that u have to change the datatype of other fields from float to character.

Regards,

Prashant