Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.