Skip to Content
0

SAPSCRIPT Subtotal hidden when only 1 page

Mar 30, 2017 at 11:06 AM

32

avatar image

Hi all,

I'm currently struggling with an issue regarding Sapscripts. My requirements is to add Subtotal on each page of the sapscript except the last one where we have the grand total.

I added a Window under MAIN Window with the sum. My problem is when I have only one page . Then after MAIN I have subtotal and also Grand total, which is not correct. For one page I should only have the GRAND TOTAL. For two pages I should have: first page with subtotal and second page with grand total.

I have tried with a check with the current page and total page but the total number of pages is computed later than my WINDOW with SUBTOTAL.

Any suggestion is well appreciated.

Many thanks,

Laura

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers