Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

ABAP runtime errors - MOVE_TO_LIT_NOTALLOWED_NODATA

Former Member
0 Kudos

Dear all,

In customize program, im using OOP Method CL_GUI_ALV_GRID->SET_TABLE_FOR_FIRST_DISPLAY to output the result in ALV list.

Result display in ALV list successfully, then i click on on "Print Preview" button.

System will lead me to another screen, and shortdump MOVE_TO_LIT_NOTALLOWED_NODATA will hits after i click on "Total"/"Summation" button on a numeric field.

-


Detail shortdump for MOVE_TO_LIT_NOTALLOWED_NODATA:

Assignment error: Overwriting a protected field.

-


What happened?

-


The current ABAP/4 program "SAPLKKBL " had to be terminated because

one of the statements could not be executed.

This is probably due to an error in the ABAP/4 program.

-


How to correct the error

-


The field you want to overwrite is a parameter or a field symbol:

Declare the parameter as a VALUE parameter or pass an auxiliary field

to which you assigned the value from the constant before the call.

Alternatively, you can assign the auxiliary field to the field symbol

instead of the constant.

If the error occurred in one of your own programs or in an SAP program

that you modified, try to correct it yourself.

If the error occurred in a non-modified SAP program, you may be

able to find a solution in the SAP note system.

If you have access to the note system yourself, use the following

search criteria:

"MOVE_TO_LIT_NOTALLOWED_NODATA"

"SAPLKKBL " or "LKKBLF98 "

"SUM_UNIT_OUT_CHECK"

-


Im seaching upside down to get the related OSS note for my SAP version 4.6C but im not able to get anything. And furthermore the short dump only hits at Production server but there is no problem at Dev. and QAS system.

Your comment is highly appreciated.

Thanks in advance.

5 REPLIES 5

Former Member
0 Kudos

hi Friend,

please have a look at OSS note 914863.

<a href="http://service.sap.com/notes">OSS Link</a>

Symptom

The following problems can occur in the order information system:

The column for a unit is missing in the output list or in the column set.

The ALV consistency check (Note 504384) displays error message 0K 510.

The MOVE_TO_LIT_NOTALLOWED_NODATA runtime error occurs in the SAP List Viewer (ALV).

Other terms

Production order information system, process order information system, 0K510, <L_UNIT>, SAPLKKBL, LKKBLF98, SUM_UNIT_OUT_CHECK

Reason and Prerequisites

In Customizing (report RCOTX000), the column for the unit is hidden. At least one other column that refers to this unit is displayed.

Solution

After you have implemented the source code corrections, it is no longer the setting in the RCOTX000 report that determines whether the columns for a unit are displayed. The system displays them only if at least one respective value column is displayed.

Hope this helps,

Sajan Joseph.

0 Kudos

Hi Sajan Joseph,

First of all, thanks for your fast reply.

But i just want to double check with you regarding note 914863. Since the note is talking about the Valid Releases is for 600, but my system is 46C. Thus please comment whether the note is valid for my system.

Your comment is highly appreciate.

Thanks in advance.

0 Kudos

hi Friend,

This issue is consistent in previous versions also.

Apparently what needs to be done is to correct the code as mentioned below, to report SAPF070 .

REPORT SAPF070

Delta 001Context Block

<b>DATA:

BEGIN OF LIST_UMS OCCURS 0,

BUKRS LIKE BKPF-BUKRS,

CURT LIKE X001-CURT2,

KOART LIKE BSEG-KOART,

JAHR LIKE BKPF-GJAHR,</b>

Insert Block

<b>HWAE2 LIKE GLU1-LCURR, "HW561767<b></b>.

The valid OSS note is 561767</b>

hope this helps,

Sajan Joseph.

Previous message changed by:

Sajan Joseph

0 Kudos

Hi Sajan Joseph,

Thanks for your reply again.

As pointed by you, i did cheked on program SAPF070 and found that note 561767 has been applied to the program.

Please comment what should i do next?

Thanks in advance.

0 Kudos

Dear all,

I solved the problem by knowing that there are currency fields missing from the field catelog declaration.

And i found tricks to check the consistency of ALV. That's execute the consistency check in the result grid by pressing Shift and the using right mouse button to double-click on the empty gray control background at the same time.

And from the consistency result you will know which field catelogs having problem. Eventhough it could not solved most of the cause of shortdump, but it can help us to perform 1st level trace on the consistency of the field catalog that giving us the shortdump from our program itself.

Thanks.