10-12-2008 11:37 PM
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
10-14-2008 1:45 PM
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,