Problem with 'Transfered' amount between pages
i have a Problem with a customers requirement when printing multi page invoices.
They have the requirement to print a "transferred amount" at the end of a page and at the new beginning of next page.
This amount shall incorporate the Sum of the item netprices.
For example we have a invoice with 5 items. To make it easy item 1 has netprice 1, item 2 has 2 and so on until item 5 has 5.
So actually 2 items fit on one page so we got:
1st page with item 1 and item 2.
expected transfered amount at its end is 3.
second page with item 3 and item 4.
at its top a transferred amount of 3.
And at its end a transferred amount of 10.
third page with item 5.
at its top a transferred amount of 10.
The requirement is very easy to understand but the harder to solve.
Problem is that item print gets done three times until SAPSCRIPT notices that the third item wouldnt fit to page, and so trigger a new page. Due to this the netprice of item 3 is already summed into the transferred amount for page one and i really have a hard time to think of anything to come by this problem.
Anyway thanks for your time fellow abapers