‎2008 Dec 04 7:44 PM
Hi ,
I have generated a ALV Report and am getting the desired output.
But, the problem arises when I click anything in the Output screen. Even if when I try to exit, or double click anything in the report output, I get the following error -- MOVE_TO_LIT_NOTALLOWED_NODATA.
Iam not able to understand the cause of the error.
Where should we make changes for rectifying the error i.e., Layout, Events etc.
Iam trying to get the solution for the problem for the past 3 days.
Help me.,
Shivaa......
‎2008 Dec 04 7:58 PM
Hello Shiva
LIT means 'Literal'. Thus, somewhere in your ALV report you are using a constant variable (read-only) which is "fed" to the ALV (grid / fm ???) yet the ALV expects this variable to be read & write.
Without the coding I can only guess. I would suggest to inactivate as many parameters from the ALV call (class / fm ???) and see if you can get rid of the problem. Next you can add one parameter after the other and nail down the error cause.
And remind that all CHANGING parameters must be globally accessible for the ALV.
Regards
Uwe
‎2008 Dec 04 8:31 PM
Hi there..
1.check the events you are using in the report..
2. at selection output and initialization...
3. After output screen hit /h in the command prompt and click and debug the code why its happening.
‎2008 Dec 05 6:55 AM
check this code and compare with your code and Comment the line *GS_LAYOUT-box_fieldname = 'SELECTED'.
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'.