I have a smartform which has a layout like
Loop at itab and print lines
Loop at itab1 and print lines
I want to avoid a scenario such as where table Header1 is printed in first page
and then the contents printed in next page .
Before printing Table header1 i need to check if page lines are somewhere near end of page .. if yes i need to FORCE new-page.
How can I check if the page lines are somewhere near end of page ?