Skip to Content
0
Former Member
Jul 06, 2009 at 04:33 PM

Dirty assign not working

542 Views

Hi ,

I am new on using field symbols,

so i need some help.

i gor the below error for this code.

LOOP at <dyn_table_o> INTO <dyn_wa_r>.

assign component 'ALT_KUNNR' of structure <dyn_wa_r> to <fs>.

if sy-subrc = 0 and <fs> is not initial.

APPEND <dyn_wa_r> to <dyn_table_r>.

endif.

ENDLOOP.

error:

You attempted to access an unassigned field symbol

(data segment 32771).

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.

what should i do?

Regards,

Harshit Rungta

Edited by: Julius Bussche on Jul 7, 2009 9:02 AM

Please use meaningfull subject titles.