We are facing issue that we have to put vertical line at the end of page , if main window flows to next page.
In our case, we have payment done for different currencies as well, so that means if for first currency USD we have 20 records then after 16 records page gets break then we want sy-vline to print there and next 4 records in next page, similarily for next currency EUR, then if we have 4 records it gets displayed on one page only, so no vline is required then.
So like this if we have 3 pages to be displayed then on first page it should displayed vline as records gets overflowed.
May be in Script we can have more than 3 pages as well, so at different currency when we have more records then only it should show vline, otherwise not.
Also we have signature window inside main window, so on next page it should not display line after signature.
So please help us for finding the solution to this issue as its really urgent.