Skip to Content
0
Former Member
Aug 18, 2008 at 07:40 AM

"CHECK_CHANGED_DATA" WITHOUT

329 Views

Hi abap gurus,

I am doing ALV grid with oops concept . I am not able to save the changes in the internl table using 'check_changed_data' using checkbox . It is giving following error :

Can anyone give me any clue ? Without using check box it is fine .

You attempted to access an unassigned field symbol

(data segment 32781).

This error may occur if

- You address a typed field symbol before it has been set with

ASSIGN

- You address a field symbol that pointed to the line of an

internal table that was deleted

- You address a field symbol that was previously reset using

UNASSIGN or that pointed to a local field that no

longer exists

- You address a global function interface, although the

respective function module is not active - that is, is

not in the list of active calls. The list of active calls

can be taken from this short dump.

translate ls_cells_temp-value to upper case. "#EC TRANSLANG

assign ls_cells_temp-value to <l_currency>.

else.

assign ls_cells_temp-value to <l_currency>.

clear <l_currency>.

endif.

if <l_currency> is initial.

assign component ls_fieldcat-qfieldname

of structure <ls_wa> to <l_currency>.

endif.

if <l_currency> is initial.

assign ls_fieldcat-QUANTITY to <l_currency>.

if sy-subrc ne 0.

assign space to <l_currency>.

endif.

endif.

endif.

else.

if not ls_fieldcat-currency is initial.

assign ls_fieldcat-currency to <l_currency>.

elseif not ls_fieldcat-quantity is initial.

assign ls_fieldcat-quantity to <l_currency>.

else.

assign space to <l_currency>.

endif.

endif.

>>>>> call method me->formal_field_check_no_ddic

214 exporting

215 i_currency = <l_currency>

216 i_value = ls_cells-value

217 i_row_id = ls_cells-row_id

218 i_tabix = l_tabix

219 is_fieldcat = ls_fieldcat

220 importing

221 eflg_invalid = eflg_invalid

222 changing

223 c_field = <l_field>

224 ct_good_cells = et_good_cells

225 ct_mod_cells = et_mod_cells.

226 else.

227 *-- Formal field check with DDIC reference

228 call method me->formal_field_check_ddic

229 exporting