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: 

ALV - Error MOVE_TO_LIT_NOTALLOWED_NODATA

Former Member
0 Kudos
2,247

Hi experts,

I'm facing a trouble when I want to download to a file the output of an ALV, after deleting some columns, changing the original layout. I've got a dump saying: "MOVE_TO_LIT_NOTALLOWED_NODATA", Error in assignment: overwriting a protected field.

Can anybody help me?

Thanks in advance!!

Marce.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos
470

When problem arise on an ALV grid, first perform [the consistency check|http://help.sap.com/saphelp_sm32/helpdata/EN/d6/23253963143e6ae10000000a11402f/frameset.htm], and correct your report til there are no more errors, then come back.

Regards,

Raymond

6 REPLIES 6

StMou
Active Participant
0 Kudos
470

Hi,

Have you more than 99 colons ?

See oss note [Note 303838 - 99 fields in ALV: Termination MOVE_TO_LIT_NOTALLOWED_NODATA|https://service.sap.com/sap/support/notes/303838]

Symptom

Termination "MOVE_TO_LIT_NOTALLOWED_NODATA" in SAPLKKBL

99 fields/columns in printout.

When you call from the grid control, the field catalog is not cleaned.

Additional key words

REUSE_ALV_LIST_DISPLAY, REUSE_ALV_GRID_DISPLAY,

SAPLKKBL

MOVE_TO_LIT_NOTALLOWED_NODATA

Printout

Dump in header_filed_out

Cause and prerequisites

Only a maximum of 99 fields can be displayed in the list display of the ALV grid. More fields can be displayed in the grid control. When you call the Export/Print functions from the grid, the number of the fields is not automatically confined to 99. A termination occurs.

Solution

Reduce the field number to 99 visible fields for list output call.

Rgds

Former Member
0 Kudos
470

Hi,

you find in SDN excelent answers for this problem:

[Answer 1|;

[Answer 2|;

raymond_giuseppi
Active Contributor
0 Kudos
471

When problem arise on an ALV grid, first perform [the consistency check|http://help.sap.com/saphelp_sm32/helpdata/EN/d6/23253963143e6ae10000000a11402f/frameset.htm], and correct your report til there are no more errors, then come back.

Regards,

Raymond

0 Kudos
470

Thanks a lot for your help Raynmond, I could solve the problem

0 Kudos
470

Thanks a lot to all of you for your help!

Regards,

Marcela

Edited by: Marcela Sanchez on Feb 26, 2010 9:45 PM

0 Kudos
470

Hi Marcela,

I am facing the same issue, so could you please help me in this to reslove?

Thanks in Advance.

Regards,

Satheesh.