Short text
Error at assignment: Overwritten protected field.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLMASSINTERFACE" had to be terminated because it
has
come across a statement that unfortunately cannot be executed.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
A new value is to be assigned to the field "<CMP_FIELD_1>", although this field
is
entirely or partly protected against changes.
The following are protected from change:
- Character literals or numerical literals.
- CONSTANTS.
- Parameters of the category IMPORTING REFERENCE in functions and
methods.
- untyped field symbols, that have not been assigned a field using
ASSIGN.
- TABLES parameters, if the actual parameter is protected against
changes.
- USING reference parameters and CHANGING parameters in FORMs,
if the actual parameter is protected against changes.
- Access using field symbols if the field assigned using ASSIGN is
partly or completely protected (for example key components of internal
table of the type SORTED or HASHED TABLE).
- Access using field symbols if the field assigned using ASSIGN contains
components of a secondary key that is currently in use in a
higher-level LOOP statement.
- Access using references if the field bound to the reference is
(partly) protected against changes.
- Write access from outside to READ-ONLY attributes.
How to correct the error
The field to be overwritten is a parameter or a
field symbol:
Declare the parameter as VALUE parameter or transfer a help field, to
which you assigned the constant before, and assign the help field
instead of the constant to the field symbol.
If the error occurred in your own ABAP program or in an SAP
program you modified, try to remove the error.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"MOVE_TO_LIT_NOTALLOWED_NODATA" " "
"SAPLMASSINTERFACE" or "LMASSINTERFACEF05"
"SET_CMP_FLAGS_IDENTICALLY"
Information on where terminated
Termination occurred in the ABAP program "SAPLMASSINTERFACE" - in
"SET_CMP_FLAGS_IDENTICALLY".
The main program was "RIAFVC20 ".
In the source code you have the termination point in line 2387
of the (Include) program "LMASSINTERFACEF05".
--------------------------------
Can anyone help me out why this error is occuring in mass change of order operations (IW37) when i have tried to add a new tab for custom validations.
thanks ,
Sreenivas