cancel
Showing results for 
Search instead for 
Did you mean: 

Runtime Error : MOVE_TO_LIT_NOTALLOWED_NODATA after ALV execution

former_member184029
Participant
0 Kudos
1,604

Hi experts

I'm facing this runtime error after execute an interface and show an ALV grid for data processed.

ShrtText


    Assignment error: Overwriting a protected field.

What happened?

Error in ABAP application program.

    The current ABAP program "SAPLSLVC_FULLSCREEN" had to be terminated because one
     of the
    statements could not be executed.

Error analysis

The program tried to assign a new value to the field "<L_BOX>" even though
    it is protected against changes.

    The following objects are protected:
    - Character or numeric literals
    - Constants (CONSTANTS)
    - Parameters of the category IMPORTING REFERENCE for functions
      and methods
    - Untyped field symbols to which a field has not yet been assigned
      using ASSIGN
    - TABLES parameters if the corresponding actual parameter is protected
      against changes
    - USING reference parameters and CHANGING parameters for FORMs if
      the actual parameter for this is protected against changes
    - Field symbols if the field assigned using ASSIGN or ASSIGNING
      is protected against changes
    - External write accesses to READ-ONLY attributes
    - Key components of lines in internal tables of the type HASHED or
      SORTED TABLE
      SORTED TABLE.

What I must check on ABAP code for fix it.

Thanks in advance.

Tokio

View Entire Topic
0 Kudos

Thank you so much.

My problem is solved based on your answer.