Skip to Content
0
Former Member
Oct 02, 2008 at 08:42 AM

ALV - No Decimals

1809 Views

Dear All Expert,

I am implementing a ALV Report, but I have a uncertian issues.

In the ALV report, some fields are defined field type (mard-labst and quan 13,3)

However, we need to display output 123.333 -> 123 (no decimals)

I try to add the following code in the program to reduce Decimals Place. It doesn't work.

lw_fieldcat-scrtext_s = text-e07.

lw_fieldcat-scrtext_m = text-e08.

lw_fieldcat-scrtext_l = text-e09.

lw_fieldcat-decimals_o = 0.

How can I solve it ?

Please help and Thanks in advance.

Best Regards,

Leo