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.

rohit_trivedi
Participant
0 Kudos

Hi All,

I've a report which is using

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.

It displays the data correctly, but when i press back button it gives a short dump!

The error is :

Runtime Errors MOVE_TO_LIT_NOTALLOWED_NODATA

...........

I've checked that field catalogs are done correctly.

You help is greatly appreciated!

Thanks,

Rohit.

9 REPLIES 9

Former Member
0 Kudos

are you using Interactive ALV or what /??

pl paste your code,so that we can check & let u know..

rgs,

srikanth

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Can you post your code?

Regards,

Rich Heilman

Clemenss
Active Contributor
0 Kudos

look at the dump: There is a source code line where the dump occured.

regards,

C.

Former Member
0 Kudos

Hi,

I think you forgot to give current program name in 'call back program' parameter whill calling RESULE_ALV_GRID_DISPLAY'.

Reward the points if your problem solves...

Cheers,

Nama Ganesh

rohit_trivedi
Participant
0 Kudos

Hi All,

The dump occurs at some code which i've not created.

Also, i've checked that all the parameters are properly passed to the function.

Dump occurs in (Include-)Programms "LSLVC_FULLSCREENF02".

source code extract:

656 if not gt_grid-s_layout-box_fieldname is initial.

657 call method gt_grid-grid->get_selected_rows

658 importing

659 et_index_rows = lt_rows.

660 delete lt_rows where rowtype ne ' '.

661 sort lt_rows by index.

662 assign component gt_grid-s_layout-box_fieldname

663 of structure t_outtab

664 to <l_box>.

665 data: l_sel_lines type i.

666 data: l_tab_lines type i.

667 data: ls_rows type lvc_s_row.

668 * check

669 if r_ucomm = '&SAL' or r_ucomm = '&ALL'.

670 l_ucomm = r_ucomm.

671 else.

672 describe table lt_rows lines l_sel_lines.

673 describe table t_outtab lines l_tab_lines.

674 if l_sel_lines = 0.

675 l_ucomm = '&SAL'.

676 endif.

677 if l_sel_lines = l_tab_lines.

678 l_ucomm = '&ALL'.

679 endif.

680 endif.

681 * set/unset <box> of all items

682 if l_ucomm eq '&SAL' or l_ucomm eq '&ALL'.

683 if l_ucomm eq '&SAL'.

684 loop at t_outtab.

685 l_tabix = l_tabix + 1.

>>>>> <l_box> = ' '.

687 modify t_outtab index l_tabix.

688 endloop. -


0 Kudos

Please post the code of your program.

Regards,

Rich Heilman

0 Kudos

place your program also

0 Kudos

Hmm.

Doesn't look like function 'BACK'. What is the table defined like; what about the field catalog and did you define a layout specifying a box fieldname?

Possibly the box field is not defined as a single CHAR field, so the assignment of ' ' to <l_box> fails.

If there is no box field properly defined and assigned, '&SAL' and '&ALL' can't work.

Clemens

Former Member
0 Kudos

Please post the code of your call and the user_command.