how to do subtotal in a smartform
how to do subtotal of a field in a smartform .
Please use Calaculation in Table
Give as follows
Operation Filed name Target Field name Time
Total wa-fieldname v_subtotal After loop
After display the subtotal in text node
create program lines under text node and clear V_subtotal in Program lines.