Skip to Content
-2
May 27, 2018 at 12:46 PM

Field Symbol Assignment not working

998 Views

Hi All,

I am trying to assign a simple fields symbol as follows:

FIELD-SYMBOLS: <l_area> TYPE any.

ASSIGN COMPONENT 'CO_AREA' OF STRUCTURE e_th_chas TO <l_area> .

LOOP AT lt_range INTO ls_range.
IF ls_range-chanm = '0CO_AREA'.

Move ls_range-low(4) to <l_area> .
ENDIF.

ENDLOOP.

I have also tried to write the Assign statement inside the loop but in both cases i am getting GETWA_NOT_ASSIGNED error.

Please help to identify what is wrong in the code.

Thanks,

AG