‎2006 Sep 21 6:33 AM
hi all,
i got this error when using the following code,
"call method ref1->check_changed_data"
1.You address a typed field symbol before it is set using ASSIGN
2.You address a field symbol that points to a line in an internal table that
3.You address a field symbol that had previously been reset using UNASSIGN, or that pointed to a local field that no longer exists
4.You address a global function interface parameter, even though the relevant function module is that is it is not in the list of active calls. You can get the list
of active calls from the.
Please give me ur suggestion,
Rajesh
‎2006 Sep 21 6:37 AM
Hi,
Here you have used REF1,
call method <b>ref1</b>->check_changed_data.
Instead of REF1, use the same variable which you used for displaying ALV.
Eg.
<b>w_gr_alvgrid</b>->set_table_for_first_display.
call method <b>w_gr_alvgrid</b>->check_changed_data.
Best regards,
Prashant
‎2006 Sep 21 6:40 AM
Hi prashant,
I used
'Resuse_ALV_grid_display' for my display.
Thanks,
Rajesh.
‎2006 Sep 21 6:44 AM
Hi,
Actually my problem is that iam not able to get 'X' mark in my internal table after i choose some records in the alv ouput using a checkbox.
my code is as follows,
case rf_ucomm.
when 'PRO'.
data ref1 type ref to cl_gui_alv_grid.
call function 'GET_GLOBALS_FROM_SLVC_FULLSCR'
importing
ET_EXCLUDING =
E_REPID =
E_CALLBACK_PROGRAM =
E_CALLBACK_ROUTINE =
e_grid = ref1
ET_FIELDCAT_LVC =
ER_TRACE =
E_FLG_NO_HTML =
ES_LAYOUT_KKBLO =
ES_SEL_HIDE =
ET_EVENT_EXIT =
.
if ref1 is not initial.
call method ref1->check_changed_data. "error over here
importing
. et_index_rows = LVC_T_ROWS.
endif.
Please give ur suggestions,
Thanks,
Rajesh.
‎2006 Sep 21 6:45 AM
‎2006 Sep 21 7:06 AM
Hi,
I USED THE SAME CODE AS GIVEN IN THREAD. BUT I GET THE SAME ERROR.
Waiting for ur suggestions,
Thanks,
rajesh.