cancel
Showing results for 
Search instead for 
Did you mean: 

how to do subtotal in a smartform

Former Member
0 Kudos

hi all,

how to do subtotal of a field in a smartform .

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

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.

Regards

Jana

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

In the main area you can write program lines for the particular field whose total you have to calculate.You can put the value of the field in one variable and add it to the next value.

Regards,

Lydia

Former Member
0 Kudos

hai,

footer of the table , calculate the subtotal and pass it to text editor.

shan.