‎2006 Dec 12 11:02 AM
hi, i am using alv grid , i wont tu have sum total numbers without clicking on sum buton after program executed.
thanks.
‎2006 Dec 12 11:04 AM
hi,
u can do it in the field catlog.
eg:
fieldcatalog-fieldname = 'NETPR'.
fieldcatalog-seltext_m = 'Net Price'.
fieldcatalog-col_pos = 7.
fieldcatalog-outputlen = 15.
fieldcatalog-do_sum = 'X' "Display column total
fieldcatalog-datatype = 'CURR'.
append fieldcatalog to fieldcatalog.
clear fieldcatalog.rgds
Anver
‎2006 Dec 12 11:05 AM
Hi Nick,
do this in the Fieldcatspecification:
MOVE 'X' TO WA_FIELDCAT-DO_SUM.
for the field you want to sum.
regards, Dieter
‎2006 Dec 12 11:05 AM
For the columns for which you want to have the totals, you should set the field catalog parameter do_sum = 'X'. IT would automatically give the total in the last line.
REgards,
ravi
‎2006 Dec 12 11:06 AM
in your field catalog add
wfieldcat-fieldname = <your field for which you want sum>
wfieldcat-do_sum = 'X'.
regrards
shiba dutta
‎2006 Dec 12 11:10 AM
use this while designing the field catalog
fieldcatalog-do_sum = 'X'
‎2006 Dec 12 11:11 AM