I am displaying line items in the script.
I have total 20 line items and in each page i am displaying 5 line items with page wise totals . I am displaying 20 line items in 4 pages each page below i am displaying 5 line items amount totals , in the last page i want to display 4 pages totals . I have done calculations for getting totals but when displaying i am getting problem.
First page
line item 1 10,000
line item 2 20,000
line item 3 30,000
line item 4 15,000
line item 5 25,000
first page total called as ubertag : 90,000
Second page
top first page total as ubertag : 90,000
line item 1 12,000
line item 2 18,000
line item 3 25,000
line item 4 15,000
ine item 5 25,000
second page total called as ubertag: 95,000
3rd page
top of second page ubertag 95,000
line item 1 11,000
line item 2 19,000
line item 3 35,000
line item 4 10,000
line item 5 25,000
3rd page total called as ubertag : 1,05,000
4th page
top of page ubertag : 1,05,000
line item 1 5,000
line item 2 8,000
line item 3 4,000
line item 4 1,000
ine item 5 2,000
all pages total called as gesamtsaldo : 3,10,000
I have 15 lines text at the last of the page i want to display it with out splitting.
can u please suggest me how can i display above format. Now i am getting page wise totals and final totals but displaying at last i want to call it as gesamtsaldo ( 4 pages total)
1. how i display page wise totals
2. how i display 4 pages at last page
i am using following statement for every page total.
IF NEXTPAGE > 0
UBERTAG : &WRBTR&
ENDIF.
please guide me.