10-19-2008 5:55 PM
Hi seniors, i want know the how will we write the code for using "protect and end protect" statement in scripts and smartforms.
plz reply me soon.
thnks.
10-19-2008 6:11 PM
10-19-2008 6:32 PM
Hi Raja,
Protect and endprotect keeps the block of text in the same page.
SAPscript provides the PROTECT .. ENDPROTECT command pair to allow you to define the areas to be protected against a page break on an individual basis. If you enclose the text to be protected in these commands, then SAPscript will ensure that each line of this text is printed together on the same page.
Cheers!!
Balu
10-19-2008 6:44 PM