Use this method to protect the document. It is then only possible to enter data in the fields of the form. It makes sense to use this option, since it makes it easier for users to navigate around the form.
CALL METHOD form->protect
EXPORTING protect = protect
no_flush = no_flush
IMPORTING retcode = retcode
error = error.
Description of parameters
Parameter |
Optional |
Description |
protect |
X |
'X' : The form (but not its fields) is protected against changes.' ' : Any part of the form can be changed. |