cancel
Showing results for 
Search instead for 
Did you mean: 

Subtotal in Table Footer Appears in Body on the Next Page - Smartform

samanta_limbrada
Explorer
0 Kudos

Hi experts,

I have a subtotal row in my table footer. It works find (appears correctly for each page). But when I check the body of the table, in page 2, there is a line with the subtotal amount from page 1, appearing in line 2. Do you guys know why does this happen and how to solve it?

Thanks,

Sam

Accepted Solutions (1)

Accepted Solutions (1)

former_member217544
Active Contributor
0 Kudos

Hi Sam,

1. Can you cross check whether you have coded anything which will modify the internal table content with the subtotal value?

2. Did you keep any condition like printing the sub total at each new value for a particular field

(Eg: If there is a field f1 in your internal table with values a, a, a, b, b, b, d, d, d - is there any condition to print sub total when f1value changes from a to b or b to d ? )

Regards,

Swarna Munkoti.

Answers (1)

Answers (1)

samanta_limbrada
Explorer
0 Kudos

Yup, turned out I was using the same variable to display the amount and the total_amount. Hence, when page break, the first row displayed the amount from subtotal. Thanks!