03-02-2007 3:29 PM
Hi all,
I have the following dump in production.
ShrtText
CONTROL variable not found
What happened?
Error in ABAP application program.
The current ABAP program "SAPLSLVC_FULLSCREEN" had to be terminated because one
of the
statements could not be executed.
This is probably due to an error in the ABAP program.
Error analysis
CONTROL "GRID1" was searched but was not found.
This is due to a data inconsistency of a screen and the program or the
ABAP statement is incorrect (for example, REFRESH CONTROL ... FROM
SCREEN with an incorrect Control name).
Information on where terminated
The termination occurred in the ABAP program "SAPLSLVC_FULLSCREEN" in
"SYSTEM-EXIT".
The main program was "Z2RLS192101001_01RP_00 ".
The termination occurred in line 0 of the source code of the (Include)
program " "
of the source code of program " " (when calling the editor 00).
No. Ty. Program Include Line
Name
5 MODULE SAPLSLVC_FULLSCREEN ??? 0
SYSTEM-EXIT
4 FUNCTION SAPLSLVC_FULLSCREEN LSLVC_FULLSCREENU01 186
REUSE_ALV_GRID_DISPLAY
3 FORM Z2RLS192101001_01RP_00 Z2RLS192101001_01RP_00 1349
OUTPUT_REPORT
2 FORM Z2RLS192101001_01RP_00 Z2RLS192101001_01RP_00 869
OUTPUT_LOCATION_REP
1 EVENT Z2RLS192101001_01RP_00 Z2RLS192101001_01RP_00 667
START-OF-SELECTION
Any help will be appreciated
Thanks
Sai.
03-02-2007 3:35 PM
Hi,
This error comes if the GUI should not patched.
Just have a look at SAP logon (the window with all the logons listed), in left upper corner you can open a small menu, last line is 'about' -> number will be displayed.
GUI for Windows version 640 currently patch-level 19 is up-to-date.
If youe GUI is upto date, then the Program is doing wrong
Regards
Sudheer
03-02-2007 3:35 PM
Have u checked a cutom container is added in the screen. that is GRID1 in the screen u r using to display the GRID,
Vasanth
03-02-2007 3:35 PM
Hi,
This error comes if the GUI should not patched.
Just have a look at SAP logon (the window with all the logons listed), in left upper corner you can open a small menu, last line is 'about' -> number will be displayed.
GUI for Windows version 640 currently patch-level 19 is up-to-date.
If youe GUI is upto date, then the Program is doing wrong
Regards
Sudheer
03-02-2007 3:59 PM
Hi Sudheer,
Thanks for your reply.
What abt if we use the GUI for Windows version 620 what is the correct patch level?
Thanks
Sai.
03-02-2007 3:39 PM
03-02-2007 4:03 PM
Hi Rich,
Iam using reuse_alv_grid_display.
* Set calling program
w_repid = sy-repid.
* Set display options
st_layout-zebra = c_x.
st_layout-colwidth_optimize = c_x.
* Field to hold line colour
st_layout-info_fieldname = 'INFO_FIELDNAME'.
* User can look at selection screen info via a pushbutton
st_layout-get_selinfos = c_x.
* User can set a formatting option relating to the sort criteria
* (in print preview mode)
st_layout-group_change_edit = c_x.
* wa_excl = '&UMC'. DEVK944065-
* insert wa_excl into table ts_excl. DEVK944065-
* wa_event_exit-ucomm = '&XXL'. DEVK944065
* wa_event_exit-before = 'X'. DEVK944065
* append wa_event_exit to ts_event_exit. DEVK944065
* Output list
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = w_repid
i_callback_pf_status_set = 'SET_PF_STATUS'
i_callback_user_command = 'USER_COMMAND'
is_layout = st_layout
it_fieldcat = ts_fieldcat
it_excluding = ts_excl
i_save = c_save
is_variant = st_variant
it_events = ts_events
is_print = st_print
it_event_exit = ts_event_exit "DEVK944065
it_sort = ts_sort "DEVK944065
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
tables
t_outtab = ts_alv_output
* t_outtab = ist_output
exceptions
program_error = 1
others = 2
.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
Thanks
Sai.
03-02-2007 4:18 PM
03-02-2007 5:00 PM