Skip to Content
0
Former Member
Feb 26, 2011 at 10:33 PM

Even though am using Field-Symbol correctly, showing error!!!

39 Views

Hello

Below is my code,

 
LOOP AT itab_data INTO <fs_data>.
   CHECK <fs_data>-error_flag = 'X'.
   READ TABLE itab_docnum INTO <fs_docnum>
    WITH KEY docnum = <fs_data>+4(16)
    BINARY SEARCH.
 LOOP AT itab_data INTO <fs_data>.
   CHECK <fs_data>+1(10) <> 'END_REC'(025) AND
         <fs_data>+1(10) <> 'BEGIN_REC'(026).
     ASSIGN <fs_data>+1(*) TO <fs_edid2> CASTING.
     <fs_data> = <fs_edid2>.
   MOVE-CORRESPONDING <fs_data> TO w_edi_dd.
   <fs_data>+1    = w_edi_dd. 

But, am getting the below error message in SLIN/Extended Prog Check.

 
Fieldsymbol <FS_DATA> is not assigned to a field
(The message can be hidden with "#EC *)

1) I do not understand why am getting this (if itab contains any data then ONLY the loop will be executed right?)

2) How to correct this?

Thank you