Skip to Content
avatar image
Former Member

SAPSCRIPT Subtotal hidden when only 1 page

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers