cancel
Showing results for 
Search instead for 
Did you mean: 

Subtotal in Smartform

Former Member
0 Kudos

Hi guys,

We have a Z smartform for the invoices which shows a subtotal at the beginning (except the first page) and at the end of each page. When we print it the subtotal incorrectly summarizes the first line of the next page. The accumulator counts correctly, the problem is to execute the event header and footer. Any idea how to solve this case?

Thanks!

Gabriela

Accepted Solutions (0)

Answers (1)

Answers (1)

ShyamPindiproli
Active Participant
0 Kudos

Checkk out the snapshot and the steps below if they serve the purpose.

Step1 . Create a seperate secondary window for displaying the footer part.

Step 2  In conditions tab for that window,

            Select  "NOT ON FIRST PAGE"

                        "ONLY AFTER END OF MAIN WINDOW."

          

           In this window you can write the logic to display the footer part.

Keeping a seperate window ensures that this the runtime environment checks and places the footer information on every page (except the first page)

P.S: Are you looking out for page-totals or subtotals based on levels.