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: 

MOVE_TO_LIT_NOTALLOWED_NODATA

Former Member
0 Kudos

I am using the function module

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

However in the moment give clic in the icon of the toolbar, the system display the following message of error.

MOVE_TO_LIT_NOTALLOWED_NODATA

The code abap is for the layout.

FORM init_layout.

gs_layout-colwidth_optimize = 'X'.

gs_layout-zebra = 'X'.

gs_layout-no_input = ' '.

GS_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.

GS_LAYOUT-box_fieldname = 'SELECTED'.

ENDFORM. " init_layout

*----


If i comment the line GS_LAYOUT-box_fieldname = 'SELECTED'. The system already not display the error.

I need have the column of select.

Can someone help me?

Regards

1 REPLY 1

Former Member
0 Kudos

I solve this issue with the following:

FORM init_layout.

gs_layout-colwidth_optimize = 'X'.

gs_layout-zebra = 'X'.

gs_layout-no_input = ' '.

gs_LAYOUT-BOX_FIELDNAME = 'BUDAT'.

gs_layout-box_tabname = 'IT_SALIDA'.

GS_LAYOUT-INFO_FIELDNAME = 'LINE_COLOR'.

*GS_LAYOUT-box_fieldname = 'SELECTED'.

ENDFORM. " init_layout

Comment the line *GS_LAYOUT-box_fieldname = 'SELECTED'.

and add the lines

gs_LAYOUT-BOX_FIELDNAME = 'BUDAT'.

gs_layout-box_tabname = 'IT_SALIDA'.

Regards,