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

Former Member
0 Likes
1,091

Hi All,

i m printing report in alv and the output of quantity is coming 3.00 but i want to display as 3 ... what shud i do to get output as 3..

Thanks & Regards

Ashu Singh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,071

Hi Ashu,

In ALV we have an option decimals_out (decimals in write statement).

Make it eqaul to '0'.

Regards,

Chandra Sekhar

8 REPLIES 8
Read only

Former Member
0 Likes
1,071

Ashu,

decleare quantity as type p decimal 0.

Amit.

Read only

0 Likes
1,071

Hi,

but where to define in field catalog... and the value quantity is coming from standard structur where quantity type is c.

Thanks & Regards,

Ashu Singh.

Read only

0 Likes
1,071

hi,

define an intermediate field of type integer and move the value coming from structure into this field and pass this field to alv

regards

gautam

Read only

Former Member
0 Likes
1,071

in the alv fieldcatalog use this..

send it to the char field

hi check this..

Read only

Former Member
0 Likes
1,071

hi,

use packed with decimal 0.

Read only

Former Member
0 Likes
1,071

Hi,

please move the value to an integer, and then use that column to display on the alv.

thx

pavan

Read only

Former Member
0 Likes
1,072

Hi Ashu,

In ALV we have an option decimals_out (decimals in write statement).

Make it eqaul to '0'.

Regards,

Chandra Sekhar

Read only

Former Member
0 Likes
1,071

hi

u can do this in fieldcatalog..

*ls_fieldcat-decimals_out = 0.*

hope this will solve ur problem.

Regards

Raju Mummidi