Skip to Content
Former Member
Apr 10, 2007 at 09:52 AM

How to truncate the decimals in the ALV report for the quantity field


Hi All,

I have to display a quantity field and units of measure in the ALV output. If the units of measure eq 'PC' i should not display the decimal places for quantity in the alv output, otherwise i have to display the decimals in the output. How to do this....any help would be highly rewarded. I knew that for this type of cases decimal_o will not work.