I am using sap script for check print. I have two windows Main and right below it window for page total as below
I wrote a perform in main window to calculate page totals. In the perform i am getting 22 lines as total is getting calculated perfectly. But in the print I am able to see only 21 lines so there is a mismatch between line items total in one page and the page total value.
I expanded the window a bit but then, In perform i am getting 23 entiries in a page but only 22 in print. there is a mismatch again.