‎2007 Mar 07 10:16 AM
Hi all,
I have an internal table in which i have amount fields of type p decimals 5.
now i have to pass this internal table to alv. i made the field catalog. i nedd totals and subtotals for each amount field.
i set
fieldcatalog-do_sum = 'X'
for each amount field.
wat its not working. how it will work for decimal data type.
thanks in advance.
Varu.
‎2007 Mar 07 10:19 AM
in the field catalog also add this and checkout
fieldcatalog-datatype = 'CURR' . or try with 'QUAN'
‎2007 Mar 07 10:19 AM
Hi,
Declare other DECIMAL fields of the Internal Table also like TYPE P decimals 5.
and pass the decimal values into these P fields. for ex:
Let the decimal value is 125.25
in P it may take/become 125.25000.
then it is easy to sum.
Regards,
Anji
‎2007 Mar 07 10:19 AM
in the field catalog also add this and checkout
fieldcatalog-datatype = 'CURR' . or try with 'QUAN'
‎2007 Mar 07 10:36 AM