Skip to Content
author's profile photo
Former Member

Usage of protect endprotect in smartforms

To control the Paragraph in a page we use protect endprotect in SAP SCRIPT. how to go about it in smartorms

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Oct 07, 2005 at 12:04 PM

    Syntax:

    /: PROTECT

    :

    :

    /: ENDPROTECT

    The lines to be protected lie between the two commands.

    An ENDPROTECT command without a preceding PROTECT command is ineffective.

    If the last ENDPROTECT is missing, it is implicitly assumed at the end of the text.

    PROTECT .. ENDPROTECT commands cannot be nested. If a second PROTECT command is recognized while another is active, the second is ignored.

    If the text between PROTECT and ENDPROTECT is so extensive that it would not fit on an empty page, then only one form feed is generated and the text is normally output. Thus, in this case, the section to be protected is separated by a page break.

    Add comment
    10|10000 characters needed characters exceeded