Skip to Content
Feb 23, 2010 at 06:33 PM

SapScript, How do I read the current line number?


I have sections of text - each in it's own element with an 'include' of the standard text.

These sections are variable in size.

All elements are in the MAIN window.

I do not want a paragraph to split over two pages.

How do I read the current line number within the sapscript before the section prints so I can issue a new-page command at the beginning of the paragraph?